mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +03:00
cryptsetup-generator: do not bind to the decrypted device unit (#6538)
This breaks things when the decrypted device is not immediately `SYSTEMD_READY=1` (e. g. when a multi-device btrfs system is placed on multiple cryptsetup devices). Fixes #6537.
This commit is contained in:
parent
9cbc454770
commit
e9ea4526a3
@ -109,7 +109,6 @@ static int create_disk(
|
||||
"SourcePath=/etc/crypttab\n"
|
||||
"DefaultDependencies=no\n"
|
||||
"Conflicts=umount.target\n"
|
||||
"BindsTo=dev-mapper-%i.device\n"
|
||||
"IgnoreOnIsolate=true\n"
|
||||
"After=cryptsetup-pre.target\n",
|
||||
f);
|
||||
|
Loading…
x
Reference in New Issue
Block a user