chiark / gitweb /
Create /run/systemd as needed v219.3
authorAndy Wingo <wingo@pobox.com>
Thu, 20 Aug 2015 07:21:04 +0000 (09:21 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 20 Aug 2015 07:21:04 +0000 (09:21 +0200)
* src/login/logind.c (main): Also create /run/systemd at startup.
* configure.ac: Bump to 219.3.

configure.ac
src/login/logind.c

index 150773890727abde73231025b1f29e5a9a2a9306..69d2d9bc0c478c093aef049b0750d8bd6707021b 100644 (file)
@@ -21,7 +21,7 @@ AC_PREREQ([2.64])
 
 # FIXME: Update to proper web page
 AC_INIT([elogind],
-        [219.1],
+        [219.3],
         [http://bugs.freedesktop.org/enter_bug.cgi?product=elogind],
         [elogind],
         [http://www.freedesktop.org/wiki/Software/elogind])
index 59ee2e6d44582906564e7752fa22b6e2f6765b0b..9f1b5e3fde0281a3d30f2e82c2cb96671a0195bc 100644 (file)
@@ -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);