[systemd-commits] src/cryptsetup
Zbigniew JÄdrzejewski-Szmek
zbyszek at kemper.freedesktop.org
Sun Sep 29 11:46:01 PDT 2013
src/cryptsetup/cryptsetup-generator.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 4469ff4adebbed4778e7fe767f0165776c1ba62a
Author: Andrey Borzenkov <arvidjaar at gmail.com>
Date: Sun Sep 29 15:37:30 2013 +0400
set IgnoreOnIsolate=true for systemd-cryptsetup at .service
When crypttab contains noauto, cryptsetup service does not have any
explicit dependencies. If service is started later manually (directly or via
mount dependency) it will be stopped on isolate.
mount units already have IgnoreOnIsolate set by default. Set it by
default for cryptsetup units as well.
diff --git a/src/cryptsetup/cryptsetup-generator.c b/src/cryptsetup/cryptsetup-generator.c
index 8792e6b..e1798a3 100644
--- a/src/cryptsetup/cryptsetup-generator.c
+++ b/src/cryptsetup/cryptsetup-generator.c
@@ -118,6 +118,7 @@ static int create_disk(
"Conflicts=umount.target\n"
"DefaultDependencies=no\n"
"BindsTo=dev-mapper-%i.device\n"
+ "IgnoreOnIsolate=true\n"
"After=systemd-readahead-collect.service systemd-readahead-replay.service\n",
f);
More information about the systemd-commits
mailing list