chiark / gitweb /
remove ReadOnlySystem and ProtectedHome from udevd and logind
[elogind.git] / units / systemd-udevd.service.in
index ddef4236255af45c1af5ea6ac75cbbc37ac025c2..ddee01537aa54829c69f4ae795187668a366d059 100644 (file)
@@ -11,8 +11,8 @@ Documentation=man:systemd-udevd.service(8) man:udev(7)
 DefaultDependencies=no
 Wants=systemd-udevd-control.socket systemd-udevd-kernel.socket
 After=systemd-udevd-control.socket systemd-udevd-kernel.socket
-Before=sysinit.target local-fs-pre.target
-ConditionCapability=CAP_MKNOD
+Before=sysinit.target
+ConditionPathIsReadWrite=/sys
 
 [Service]
 Type=notify
@@ -21,3 +21,4 @@ Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket
 Restart=always
 RestartSec=0
 ExecStart=@rootlibexecdir@/systemd-udevd
+MountFlags=slave