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:
parent
1740dc8bc2
commit
165e1b1a83
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue