mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 02:49:32 +03:00
Import zfs pools after cryptsetup
The zfs-import-cache.service and zfs-import-scan.service should should be started after cryptsetup to ensure all LUKS devices have been opened. Signed-off-by: alteriks <alteriks@gmail.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #1474
This commit is contained in:
parent
0dfc732416
commit
4f6a14798d
@ -3,6 +3,7 @@ Description=Import ZFS pools by cache file
|
|||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Requires=systemd-udev-settle.service
|
Requires=systemd-udev-settle.service
|
||||||
After=systemd-udev-settle.service
|
After=systemd-udev-settle.service
|
||||||
|
After=cryptsetup.target
|
||||||
ConditionPathExists=@sysconfdir@/zfs/zpool.cache
|
ConditionPathExists=@sysconfdir@/zfs/zpool.cache
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -3,6 +3,7 @@ Description=Import ZFS pools by device scanning
|
|||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Requires=systemd-udev-settle.service
|
Requires=systemd-udev-settle.service
|
||||||
After=systemd-udev-settle.service
|
After=systemd-udev-settle.service
|
||||||
|
After=cryptsetup.target
|
||||||
ConditionPathExists=!@sysconfdir@/zfs/zpool.cache
|
ConditionPathExists=!@sysconfdir@/zfs/zpool.cache
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Loading…
Reference in New Issue
Block a user