From: Kay Sievers Date: Tue, 3 Jun 2014 23:41:15 +0000 (+0200) Subject: remove ReadOnlySystem and ProtectedHome from udevd and logind X-Git-Tag: v214~99 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=inline;h=72543b361d653520b5bc3344bf4653385b61541e;hp=417116f23432073162ebfcb286a7800846482eed;p=elogind.git remove ReadOnlySystem and ProtectedHome from udevd and logind logind needs access to /run/user/, udevd fails during early boot with these settings --- diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index 68803fb38..c6cbd1c8d 100644 --- a/units/systemd-logind.service.in +++ b/units/systemd-logind.service.in @@ -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. diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in index 82275f052..ddee01537 100644 --- a/units/systemd-udevd.service.in +++ b/units/systemd-udevd.service.in @@ -22,5 +22,3 @@ Restart=always RestartSec=0 ExecStart=@rootlibexecdir@/systemd-udevd MountFlags=slave -ReadOnlySystem=yes -ProtectedHome=yes