summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/mount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/mount.c b/src/core/mount.c
index 679d15c50a..61bc3e3392 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -1624,6 +1624,8 @@ static int mount_enumerate(Manager *m) {
if (m->utab_inotify_fd < 0)
goto fail_with_errno;
+ (void) mkdir_p_label("/run/mount", 0755);
+
r = inotify_add_watch(m->utab_inotify_fd, "/run/mount", IN_MOVED_TO);
if (r < 0)
goto fail_with_errno;