diff options
author | Andy Wingo <wingo@pobox.com> | 2015-08-20 09:21:04 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2015-08-20 09:21:04 +0200 |
commit | 116d0f39ea802301d464823ef2c76b3f2dba6c6b (patch) | |
tree | dda490bd2a07ad384b83c0111f98b596c80fcc50 | |
parent | 4ef8c8a39392c25ae3fc5ac59583fb3361cf5663 (diff) |
Create /run/systemd as neededelogind/v219.3
* src/login/logind.c (main): Also create /run/systemd at startup.
* configure.ac: Bump to 219.3.
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/login/logind.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 1507738907..69d2d9bc0c 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) 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); |