]> err.no Git - systemd/commitdiff
cryptsetup: bind cryptsetup service to both source and destination device
authorLennart Poettering <lennart@poettering.net>
Mon, 15 Nov 2010 03:11:42 +0000 (04:11 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 15 Nov 2010 03:11:42 +0000 (04:11 +0100)
TODO
src/cryptsetup-generator.c

diff --git a/TODO b/TODO
index 770ac4195e2114b00fe91bacd3030ad5ac941993..7b41702e7378a6fb31020feb3833f4001c03989e 100644 (file)
--- a/TODO
+++ b/TODO
@@ -82,6 +82,8 @@
 
 * declare /etc/os-release cross-distro standard
 
+* add ConditionDirectoryNotEmpty=
+
 Pre v12:
 
 * fix hotplug transactions
@@ -96,6 +98,8 @@ External:
 
 * pam_securetty should honour console=
 
+* sysctl should support sysctl.conf.d directory
+
 * procps, psmisc, sysvinit-tools, hostname → util-linux-ng
 
 https://bugzilla.redhat.com/show_bug.cgi?id=614245 -- plymouth
index 3c3b99de51e26e5aa08824253546c00bb94be1c0..b8db0d5e1c5aa2ad42ad4caf959f0c7fc46ef095 100644 (file)
@@ -100,9 +100,9 @@ static int create_disk(
                 "[Unit]\n"
                 "Description=Cryptography Setup for %%f\n"
                 "DefaultDependencies=no\n"
-                "BindTo=%s\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\n",
+                "Before=dev-mapper-%%i.device shutdown.target local-fs.target\n",
                 d, d);
 
         if (password && (streq(password, "/dev/urandom") ||