From 72543b361d653520b5bc3344bf4653385b61541e Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 4 Jun 2014 01:41:15 +0200 Subject: [PATCH] remove ReadOnlySystem and ProtectedHome from udevd and logind logind needs access to /run/user/, udevd fails during early boot with these settings --- units/systemd-logind.service.in | 2 -- units/systemd-udevd.service.in | 2 -- 2 files changed, 4 deletions(-) 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 -- 2.30.2