]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/automount.c
label: udev might be making changes in /dev while we iterate through it
[thirdparty/systemd.git] / src / automount.c
index 9447c0d8fcf81af7c3c3a169bc4bccd70741ca90..7289311684caff948922999bb420b157a7191b0f 100644 (file)
@@ -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));