summaryrefslogtreecommitdiff
path: root/units/systemd-udevd-control.socket
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-08-17 19:07:42 +0200
committerKay Sievers <kay@vrfy.org>2013-08-17 19:07:42 +0200
commit4bb3a126b7a683a537d4279270c1a22ce6cf5e9f (patch)
tree15567345ea8205fe3adf07e6bb263fe49c1ab898 /units/systemd-udevd-control.socket
parent4b357e15876b730343db08719c877fdb45b6ad42 (diff)
downloadsystemd-4bb3a126b7a683a537d4279270c1a22ce6cf5e9f.tar.gz
udev: replace CAP_MKNOD by writable /sys condition
Diffstat (limited to 'units/systemd-udevd-control.socket')
-rw-r--r--units/systemd-udevd-control.socket2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-udevd-control.socket b/units/systemd-udevd-control.socket
index ca17102dfa..8330a1c035 100644
--- a/units/systemd-udevd-control.socket
+++ b/units/systemd-udevd-control.socket
@@ -10,7 +10,7 @@ Description=udev Control Socket
Documentation=man:systemd-udevd.service(8) man:udev(7)
DefaultDependencies=no
Before=sockets.target
-ConditionCapability=CAP_MKNOD
+ConditionPathIsReadWrite=/sys
[Socket]
Service=systemd-udevd.service