chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5132cc
)
Create /run/systemd as needed
author
Andy Wingo
<wingo@pobox.com>
Thu, 20 Aug 2015 07:21:04 +0000
(09:21 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:07:23 +0000
(10:07 +0100)
* src/login/logind.c (main): Also create /run/systemd at startup.
* configure.ac: Bump to 219.3.
src/login/logind.c
patch
|
blob
|
history
diff --git
a/src/login/logind.c
b/src/login/logind.c
index a83d9443de2580edc85235d3c4706f1f5f2b08c7..f84938a7fd0e935c69dd3a382d034c1d01680d25 100644
(file)
--- 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);