summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-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