chiark / gitweb /
units: add CAP_MKNOD condition to the other two udev services too
authorLennart Poettering <lennart@poettering.net>
Fri, 13 Apr 2012 17:35:06 +0000 (19:35 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 13 Apr 2012 17:46:51 +0000 (19:46 +0200)
units/udev-settle.service.in
units/udev-trigger.service.in

index b0a4964..0a5e8c5 100644 (file)
@@ -14,6 +14,7 @@ DefaultDependencies=no
 Wants=udev.service
 After=udev-trigger.service
 Before=basic.target
+ConditionCapability=CAP_MKNOD
 
 [Service]
 Type=oneshot
index cd81945..ce937ae 100644 (file)
@@ -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