chiark / gitweb /
cryptsetup: do not order crypto DM devices against the cryptsetup service
authorLennart Poettering <lennart@poettering.net>
Sat, 16 Apr 2011 02:36:06 +0000 (04:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 16 Apr 2011 02:36:06 +0000 (04:36 +0200)
src/cryptsetup-generator.c

index f7c3f23..858aed8 100644 (file)
@@ -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") ||