aboutsummaryrefslogtreecommitdiff
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-udev-trigger.service.in
parentbuild-sys: Add configure check for linux/btrfs.h (diff)
downloadsystemd-4bb3a126b7a683a537d4279270c1a22ce6cf5e9f.tar.gz
systemd-4bb3a126b7a683a537d4279270c1a22ce6cf5e9f.tar.bz2
systemd-4bb3a126b7a683a537d4279270c1a22ce6cf5e9f.zip
udev: replace CAP_MKNOD by writable /sys condition
Diffstat (limited to 'units/systemd-udev-trigger.service.in')
-rw-r--r--units/systemd-udev-trigger.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-udev-trigger.service.in b/units/systemd-udev-trigger.service.in
index 604c369a1..0c33909ce 100644
--- a/units/systemd-udev-trigger.service.in
+++ b/units/systemd-udev-trigger.service.in
@@ -12,7 +12,7 @@ DefaultDependencies=no
Wants=systemd-udevd.service
After=systemd-udevd-kernel.socket systemd-udevd-control.socket
Before=sysinit.target
-ConditionCapability=CAP_MKNOD
+ConditionPathIsReadWrite=/sys
[Service]
Type=oneshot