diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-27 00:07:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-27 00:07:04 +0200 |
commit | 165e1b1a83b05a68d0f5f407667872c45c712b73 (patch) | |
tree | faef0068922877ed1d608d8f1589d8ba9d5d9d9e /units/var-run.service | |
parent | 1740dc8bc2588473e84709e1c6b8b41a180bb224 (diff) |
var-run: make sure /var/run/user is properly created and labelled
https://bugzilla.redhat.com/show_bug.cgi?id=627457
Diffstat (limited to 'units/var-run.service')
-rw-r--r-- | units/var-run.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/var-run.service b/units/var-run.service index 38e072025b..f493ee8ec1 100644 --- a/units/var-run.service +++ b/units/var-run.service @@ -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 |