HomeFreeBSD

etc: mask zfs-load-key.service

Description

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 f04b97620059d08b37d9e80ada397e742bb2f311 ("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

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on Oct 12 2022, 10:29 PM
GitHub <noreply@github.com>Committed on Oct 12 2022, 10:29 PM
Parents
rG4d22befde600: initramfs: use `mount.zfs` instead of `mount`
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG8cf59e97c4fc: etc: mask zfs-load-key.service (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).Oct 12 2022, 10:29 PM