cryptsetup-generator: do not bind to the decrypted device unit (#6538)
authorIvan Shapovalov <intelfx@intelfx.name>
Wed, 30 Aug 2017 16:49:07 +0000 (19:49 +0300)
committerLennart Poettering <lennart@poettering.net>
Wed, 30 Aug 2017 16:49:07 +0000 (18:49 +0200)
commite9ea4526a3a3b41eced29b8d742498cc36750424
tree92cf95912fd03a23d6e0400e278ffff057100729
parent9cbc4547702aac28466c497f720038b9e2dc510c
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.
src/cryptsetup/cryptsetup-generator.c