summaryrefslogtreecommitdiff
path: root/src/fsck
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-06-04 11:14:48 +0200
committerKay Sievers <kay@vrfy.org>2014-06-04 11:16:30 +0200
commitc343be283b7152554bac0c02493a4e1759c163f7 (patch)
treed0c38b3e8ecca6cb39acd0fe72c8fb056cb9cc32 /src/fsck
parentedd32000c806e4527c5f376d138f7bff07724c26 (diff)
downloadsystemd-c343be283b7152554bac0c02493a4e1759c163f7.tar.gz
fsck: disable "-l" option for now
https://bugs.freedesktop.org/show_bug.cgi?id=79576#c5
Diffstat (limited to 'src/fsck')
-rw-r--r--src/fsck/fsck.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c
index 56cb52dc99..cb2f5734ea 100644
--- a/src/fsck/fsck.c
+++ b/src/fsck/fsck.c
@@ -319,7 +319,18 @@ int main(int argc, char *argv[]) {
cmdline[i++] = "/sbin/fsck";
cmdline[i++] = arg_repair;
cmdline[i++] = "-T";
- cmdline[i++] = "-l";
+
+ /*
+ * Disable locking which conflict with udev's event
+ * ownershipi, until util-linux moves the flock
+ * synchronization file which prevents multiple fsck running
+ * on the same rotationg media, from the disk device
+ * node to a privately owned regular file.
+ *
+ * https://bugs.freedesktop.org/show_bug.cgi?id=79576#c5
+ *
+ * cmdline[i++] = "-l";
+ */
if (!root_directory)
cmdline[i++] = "-M";