]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/mount-setup.c
core: create inaccessible nodes for users when making runtime dirs
[thirdparty/systemd.git] / src / core / mount-setup.c
index 7ef5b127adc8b62960794bbdf09d22604898a3dc..5dfcb6158a434c1317a22cfdacf283ac68dedb59 100644 (file)
@@ -536,7 +536,7 @@ int mount_setup(bool loaded_policy) {
 
         /* Also create /run/systemd/inaccessible nodes, so that we always have something to mount inaccessible nodes
          * from. */
-        (void) make_inaccessible_nodes(NULL, UID_INVALID, GID_INVALID);
+        (void) make_inaccessible_nodes("/run/systemd", UID_INVALID, GID_INVALID);
 
         return 0;
 }