Skip to content

Commit

Permalink
etc: mask zfs-load-key.service
Browse files Browse the repository at this point in the history
Otherwise, systemd-sysv-generator will generate a service equivalent
that breaks the boot: under systemd this is covered by
zfs-mount-generator

We already do this for zfs-import.service, and other init scripts are
suppressed automatically by the "actual" .service files

Closes: openzfs#14010
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Fixes: commit f04b976 ("Add init script
 to load keys")
Backport-of: openzfs#14019
nabijaczleweli committed Oct 11, 2022
1 parent 4d22bef commit 57dba6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/systemd/system/Makefile.am
Original file line number Diff line number Diff line change
@@ -22,3 +22,4 @@ SUBSTFILES += $(systemdpreset_DATA) $(systemdunit_DATA)
install-data-hook:
$(MKDIR_P) "$(DESTDIR)$(systemdunitdir)"
ln -sf /dev/null "$(DESTDIR)$(systemdunitdir)/zfs-import.service"
ln -sf /dev/null "$(DESTDIR)$(systemdunitdir)/zfs-load-key.service"

0 comments on commit 57dba6e

Please sign in to comment.