chiark / gitweb /
remove ReadOnlySystem and ProtectedHome from udevd and logind
authorKay Sievers <kay@vrfy.org>
Tue, 3 Jun 2014 23:41:15 +0000 (01:41 +0200)
committerKay Sievers <kay@vrfy.org>
Tue, 3 Jun 2014 23:41:15 +0000 (01:41 +0200)
logind needs access to /run/user/, udevd fails during early boot
with these settings

units/systemd-logind.service.in
units/systemd-udevd.service.in

index 68803fb..c6cbd1c 100644 (file)
@@ -25,8 +25,6 @@ RestartSec=0
 BusName=org.freedesktop.login1
 CapabilityBoundingSet=CAP_SYS_ADMIN CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG
 WatchdogSec=1min
-ReadOnlySystem=yes
-ProtectedHome=yes
 
 # Increase the default a bit in order to allow many simultaneous
 # logins since we keep one fd open per session.
index 82275f0..ddee015 100644 (file)
@@ -22,5 +22,3 @@ Restart=always
 RestartSec=0
 ExecStart=@rootlibexecdir@/systemd-udevd
 MountFlags=slave
-ReadOnlySystem=yes
-ProtectedHome=yes