From: Lennart Poettering Date: Sat, 16 Apr 2011 02:36:06 +0000 (+0200) Subject: cryptsetup: do not order crypto DM devices against the cryptsetup service X-Git-Tag: v25~22 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aa7c05c1e110467767e4f1ea016e3617e1bb310;p=systemd cryptsetup: do not order crypto DM devices against the cryptsetup service --- diff --git a/src/cryptsetup-generator.c b/src/cryptsetup-generator.c index f7c3f23f..858aed82 100644 --- a/src/cryptsetup-generator.c +++ b/src/cryptsetup-generator.c @@ -107,7 +107,7 @@ static int create_disk( "DefaultDependencies=no\n" "BindTo=%s dev-mapper-%%i.device\n" "After=systemd-readahead-collect.service systemd-readahead-replay.service %s\n" - "Before=dev-mapper-%%i.device shutdown.target cryptsetup.target\n", + "Before=shutdown.target cryptsetup.target\n", d, d); if (password && (streq(password, "/dev/urandom") ||