summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-13 19:35:06 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-13 19:46:51 +0200
commitfb316903b835d8a9e3130fa85f0cab7f7919f052 (patch)
tree3679c1af594d92e717dd215ca20e22badbd77398
parent691206668a0bf78895d4a5fe3772f4a10c790a90 (diff)
units: add CAP_MKNOD condition to the other two udev services too
-rw-r--r--units/udev-settle.service.in1
-rw-r--r--units/udev-trigger.service.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/units/udev-settle.service.in b/units/udev-settle.service.in
index b0a4964f76..0a5e8c51ff 100644
--- a/units/udev-settle.service.in
+++ b/units/udev-settle.service.in
@@ -14,6 +14,7 @@ DefaultDependencies=no
Wants=udev.service
After=udev-trigger.service
Before=basic.target
+ConditionCapability=CAP_MKNOD
[Service]
Type=oneshot
diff --git a/units/udev-trigger.service.in b/units/udev-trigger.service.in
index cd81945c88..ce937ae899 100644
--- a/units/udev-trigger.service.in
+++ b/units/udev-trigger.service.in
@@ -3,6 +3,7 @@ Description=udev Coldplug all Devices
Wants=udev.service
After=udev-kernel.socket udev-control.socket
DefaultDependencies=no
+ConditionCapability=CAP_MKNOD
[Service]
Type=oneshot