]> err.no Git - systemd/commitdiff
systemd: use ConditionCapability=CAP_MKNOD instead of ConditionVirtualization=!container
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 12 Oct 2011 00:02:16 +0000 (02:02 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 12 Oct 2011 00:02:16 +0000 (02:02 +0200)
init/udev-control.socket
init/udev-kernel.socket
init/udev.service.in

index ea21803f770be54ec32fc10cb7bb462b2e9cbe98..858ddffd38adfaccd8026bb20fd3d83ba401aa05 100644 (file)
@@ -1,7 +1,7 @@
 [Unit]
 Description=udev Control Socket
 DefaultDependencies=no
-ConditionVirtualization=!container
+ConditionCapability=CAP_MKNOD
 
 [Socket]
 Service=udev.service
index b6d1c88c18d5545ff2782cb574d58e0563d2de54..1c5545378edfec24e3e61201af039b470c53d0f9 100644 (file)
@@ -1,7 +1,7 @@
 [Unit]
 Description=udev Kernel Socket
 DefaultDependencies=no
-ConditionVirtualization=!container
+ConditionCapability=CAP_MKNOD
 
 [Socket]
 Service=udev.service
index 0a3f62869f3be5c92ae69aa0c0809bac58a01103..000721810bdb108b4eab98fe3cce1c340b161fa9 100644 (file)
@@ -4,7 +4,7 @@ Wants=udev-control.socket udev-kernel.socket
 After=udev-control.socket udev-kernel.socket
 Before=basic.target
 DefaultDependencies=no
-ConditionVirtualization=!container
+ConditionCapability=CAP_MKNOD
 
 [Service]
 Type=notify