var-run: make sure /var/run/user is properly created and labelled

https://bugzilla.redhat.com/show_bug.cgi?id=627457
This commit is contained in:
Lennart Poettering 2010-08-27 00:07:04 +02:00
parent 1740dc8bc2
commit 165e1b1a83
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ Before=local-fs.target
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/touch /var/run/utmp ; /bin/chmod 0664 /var/run/utmp ; /bin/chown root:utmp /var/run/utmp
ExecStart=/bin/mkdir /var/run/user ; /bin/chmod 0755 /var/run/user ; -/sbin/restorecon /var/run/user
[Install]
WantedBy=local-fs.target