diff options
author | Franck Bui <fbui@suse.com> | 2019-12-03 09:49:09 +0100 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2019-12-05 11:43:05 +0100 |
commit | 362c378291e85df3e00aaad491d1e08233ad127f (patch) | |
tree | 4ac378474a0eea0a4380850221477e08be96e36f /units | |
parent | 1dc85eff1d0dff18aaeaae530c91bf53f34b726e (diff) | |
download | systemd-362c378291e85df3e00aaad491d1e08233ad127f.tar.gz |
cryptsetup: umount encrypted devices before detaching it during shutdown
This is done by ordering local-fs-pre.target and remote-fs-pre.target after
cryptsetup.target and remote-cryptsetup.target respectively.
Fixes: #8472
Diffstat (limited to 'units')
-rw-r--r-- | units/local-fs-pre.target | 1 | ||||
-rw-r--r-- | units/remote-fs-pre.target | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/units/local-fs-pre.target b/units/local-fs-pre.target index 9aca15b953..e9a1f188bf 100644 --- a/units/local-fs-pre.target +++ b/units/local-fs-pre.target @@ -11,3 +11,4 @@ Description=Local File Systems (Pre) Documentation=man:systemd.special(7) RefuseManualStart=yes +After=cryptsetup.target diff --git a/units/remote-fs-pre.target b/units/remote-fs-pre.target index 3f22605c8c..b4a68c73dd 100644 --- a/units/remote-fs-pre.target +++ b/units/remote-fs-pre.target @@ -11,3 +11,4 @@ Description=Remote File Systems (Pre) Documentation=man:systemd.special(7) RefuseManualStart=yes +After=remote-cryptsetup.target |