diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-02-25 01:47:31 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-02-25 01:47:31 +0100 |
commit | c904f64d84db8c4eebedf210ba10893f19ba05ed (patch) | |
tree | 4c3d73acb9c6aa32d073107b8dd262a8c48a4334 /src/automount.c | |
parent | 8e20e31a65ec9e637abf3821087946e9160001ac (diff) |
label: udev might be making changes in /dev while we iterate through it
Also, there are most likely dead symlinks in there, so let's ignore
ENOENT when we relabel.
https://bugzilla.redhat.com/show_bug.cgi?id=680169
Diffstat (limited to 'src/automount.c')
-rw-r--r-- | src/automount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/automount.c b/src/automount.c index 9447c0d8fc..7289311684 100644 --- a/src/automount.c +++ b/src/automount.c @@ -305,7 +305,7 @@ static int open_dev_autofs(Manager *m) { if (m->dev_autofs_fd >= 0) return m->dev_autofs_fd; - label_fix("/dev/autofs"); + label_fix("/dev/autofs", false); if ((m->dev_autofs_fd = open("/dev/autofs", O_CLOEXEC|O_RDONLY)) < 0) { log_error("Failed to open /dev/autofs: %s", strerror(errno)); |