From 4aa7c05c1e110467767e4f1ea016e3617e1bb310 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 16 Apr 2011 04:36:06 +0200 Subject: [PATCH] cryptsetup: do not order crypto DM devices against the cryptsetup service --- src/cryptsetup-generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") || -- 2.39.5