Skip to content

Commit 8cf59e9

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 4d22bef commit 8cf59e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

etc/systemd/system/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ SUBSTFILES += $(systemdpreset_DATA) $(systemdunit_DATA)
2222
install-data-hook:
2323
$(MKDIR_P) "$(DESTDIR)$(systemdunitdir)"
2424
ln -sf /dev/null "$(DESTDIR)$(systemdunitdir)/zfs-import.service"
25+
ln -sf /dev/null "$(DESTDIR)$(systemdunitdir)/zfs-load-key.service"

0 commit comments

Comments
 (0)