From 4e195e825468a0f067d7465c16a23f8e4a962f35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Thu, 13 Oct 2022 00:27:55 +0200 Subject: [PATCH] etc: mask zfs-load-key.service MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 f04b97620059d08b37d9e80ada397e742bb2f311 ("Add init script to load keys") Reviewed-by: George Melikov Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #14010 Closes #14019 --- etc/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/Makefile.am b/etc/Makefile.am index b4b3ae1f57..7187762d38 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -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 = \