diff options
author | Ivan Shapovalov <intelfx@intelfx.name> | 2017-08-30 19:49:07 +0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-08-30 18:49:07 +0200 |
commit | e9ea4526a3a3b41eced29b8d742498cc36750424 (patch) | |
tree | 92cf95912fd03a23d6e0400e278ffff057100729 /src | |
parent | 9cbc4547702aac28466c497f720038b9e2dc510c (diff) | |
download | systemd-e9ea4526a3a3b41eced29b8d742498cc36750424.tar.gz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptsetup/cryptsetup-generator.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cryptsetup/cryptsetup-generator.c b/src/cryptsetup/cryptsetup-generator.c index cd07f2abd9..9ecb6e3566 100644 --- a/src/cryptsetup/cryptsetup-generator.c +++ b/src/cryptsetup/cryptsetup-generator.c @@ -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); |