summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/login/logind.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/logind.c b/src/login/logind.c
index 59ee2e6d44..9f1b5e3fde 100644
--- a/src/login/logind.c
+++ b/src/login/logind.c
@@ -1152,6 +1152,7 @@ int main(int argc, char *argv[]) {
* existence of /run/systemd/seats/ to determine whether
* logind is available, so please always make sure this check
* stays in. */
+ mkdir_label("/run/systemd", 0755);
mkdir_label("/run/systemd/seats", 0755);
mkdir_label("/run/systemd/users", 0755);
mkdir_label("/run/systemd/sessions", 0755);