summaryrefslogtreecommitdiff
path: root/src/cryptsetup/cryptsetup-generator.c
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx@intelfx.name>2017-08-30 19:49:07 +0300
committerLennart Poettering <lennart@poettering.net>2017-08-30 18:49:07 +0200
commite9ea4526a3a3b41eced29b8d742498cc36750424 (patch)
tree92cf95912fd03a23d6e0400e278ffff057100729 /src/cryptsetup/cryptsetup-generator.c
parent9cbc4547702aac28466c497f720038b9e2dc510c (diff)
downloadsystemd-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/cryptsetup/cryptsetup-generator.c')
-rw-r--r--src/cryptsetup/cryptsetup-generator.c1
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);