From: Kay Sievers Date: Wed, 12 Oct 2011 00:02:16 +0000 (+0200) Subject: systemd: use ConditionCapability=CAP_MKNOD instead of ConditionVirtualization=!container X-Git-Tag: 174~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9371e6f3e04b03692c23e392fdf005a08ccf1edb;p=systemd systemd: use ConditionCapability=CAP_MKNOD instead of ConditionVirtualization=!container --- diff --git a/init/udev-control.socket b/init/udev-control.socket index ea21803f..858ddffd 100644 --- a/init/udev-control.socket +++ b/init/udev-control.socket @@ -1,7 +1,7 @@ [Unit] Description=udev Control Socket DefaultDependencies=no -ConditionVirtualization=!container +ConditionCapability=CAP_MKNOD [Socket] Service=udev.service diff --git a/init/udev-kernel.socket b/init/udev-kernel.socket index b6d1c88c..1c554537 100644 --- a/init/udev-kernel.socket +++ b/init/udev-kernel.socket @@ -1,7 +1,7 @@ [Unit] Description=udev Kernel Socket DefaultDependencies=no -ConditionVirtualization=!container +ConditionCapability=CAP_MKNOD [Socket] Service=udev.service diff --git a/init/udev.service.in b/init/udev.service.in index 0a3f6286..00072181 100644 --- a/init/udev.service.in +++ b/init/udev.service.in @@ -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