X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fmount-setup.c;h=a42ed439571370a9899887fc91b60decbc477a8a;hb=3bbecb2f2cd758e2513993efad01180c7c3c665f;hp=49eab0bfa72ef5b148d53f70ae9582415207f351;hpb=43515ba0cecda2be8244a9f75078ac4a561092d9;p=elogind.git diff --git a/src/mount-setup.c b/src/mount-setup.c index 49eab0bfa..a42ed4395 100644 --- a/src/mount-setup.c +++ b/src/mount-setup.c @@ -243,8 +243,10 @@ int mount_setup(void) { * appropriate labels, after mounting. The other virtual API * file systems do not need. */ - if (unlink("/dev/.systemd-relabel-devtmpfs") >= 0) + if (unlink("/dev/.systemd-relabel-run-dev") >= 0) { nftw("/dev", nftw_cb, 64, FTW_MOUNT|FTW_PHYS); + nftw("/run", nftw_cb, 64, FTW_MOUNT|FTW_PHYS); + } /* Create a few default symlinks, which are normally created * bei udevd, but some scripts might need them before we start