chiark / gitweb /
mount: ignore if an fsck is requested for a bind mount, so that we don't wait for...
authorLennart Poettering <lennart@poettering.net>
Fri, 21 Jan 2011 00:28:30 +0000 (01:28 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 21 Jan 2011 00:28:30 +0000 (01:28 +0100)
TODO
src/mount.c

diff --git a/TODO b/TODO
index 5957b960c6bc959fec810532ce3510c8b706245a..bad390c034793e11f99b803cdbebc07fece189bd 100644 (file)
--- a/TODO
+++ b/TODO
@@ -9,11 +9,6 @@ Bugs:
 * somehow some /etc/fstab supplied mount params are never applied to api fs
   https://bugzilla.redhat.com/show_bug.cgi?id=663108
 
-* bind mounts with 'fsck' fail and block for a minute:
-    /foo /bar none bind 1 1
-  (requesting fsck is wrong, but why do we block for a minute
-   instead of just handling the error)
-
 * isolate multi-user.target doesn't start a getty@tty1 if we run it from graphical.target
 
 * sendmail.service doesn't get rid PID file, fails to kill everything on stop
index aae9d982ae2e478ebd565a8e2bb7e47305e5f7aa..d9f3da6c48e3c5d9621b31a3c338871192db431d 100644 (file)
@@ -372,6 +372,7 @@ static int mount_add_device_links(Mount *m) {
         }
 
         if (p->passno > 0 &&
+            !mount_is_bind(p) &&
             UNIT(m)->meta.manager->running_as == MANAGER_SYSTEM &&
             !path_equal(m->where, "/")) {
                 char *name;