From 338ea72012c43c5fc7fb0dfda10dc1c462d3111e Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Thu, 20 Aug 2015 09:21:04 +0200 Subject: [PATCH] Create /run/systemd as needed * src/login/logind.c (main): Also create /run/systemd at startup. * configure.ac: Bump to 219.3. --- src/login/logind.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/login/logind.c b/src/login/logind.c index a83d9443d..f84938a7f 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -1153,6 +1153,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); -- 2.30.2