[systemd-commits] units/var-run.service

Lennart Poettering lennart at kemper.freedesktop.org
Thu Aug 26 15:08:19 PDT 2010


 units/var-run.service |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 165e1b1a83b05a68d0f5f407667872c45c712b73
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Aug 27 00:07:04 2010 +0200

    var-run: make sure /var/run/user is properly created and labelled
    
    https://bugzilla.redhat.com/show_bug.cgi?id=627457

diff --git a/units/var-run.service b/units/var-run.service
index 38e0720..f493ee8 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


More information about the systemd-commits mailing list