Skip to content

Commit 4e195e8

Browse files
etc: mask zfs-load-key.service
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 Fixes: commit f04b976 ("Add init script to load keys") Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #14010 Closes #14019
1 parent 87d5ff8 commit 4e195e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

etc/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ INSTALL_DATA_HOOKS += systemd-install-data-hook
7474
systemd-install-data-hook:
7575
$(MKDIR_P) "$(DESTDIR)$(systemdunitdir)"
7676
ln -sf /dev/null "$(DESTDIR)$(systemdunitdir)/zfs-import.service"
77+
ln -sf /dev/null "$(DESTDIR)$(systemdunitdir)/zfs-load-key.service"
7778

7879

7980
systemdgenerator_PROGRAMS = \

0 commit comments

Comments
 (0)