mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
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 f04b976200
("Add init script
to load keys")
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #14010
Closes #14019
This commit is contained in:
parent
87d5ff8ecd
commit
4e195e8254
@ -74,6 +74,7 @@ INSTALL_DATA_HOOKS += systemd-install-data-hook
|
||||
systemd-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"
|
||||
|
||||
|
||||
systemdgenerator_PROGRAMS = \
|
||||
|
Loading…
Reference in New Issue
Block a user