diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-10-12 02:02:16 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-10-12 02:02:16 +0200 |
commit | 9371e6f3e04b03692c23e392fdf005a08ccf1edb (patch) | |
tree | 01ab56fe42cea423a34ab1bc0f9d5357b44d05fc | |
parent | 54da62909f1a4c91d7f603b504cf170ebb57220e (diff) |
systemd: use ConditionCapability=CAP_MKNOD instead of ConditionVirtualization=!container
-rw-r--r-- | init/udev-control.socket | 2 | ||||
-rw-r--r-- | init/udev-kernel.socket | 2 | ||||
-rw-r--r-- | init/udev.service.in | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/init/udev-control.socket b/init/udev-control.socket index ea21803f77..858ddffd38 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 b6d1c88c18..1c5545378e 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 0a3f62869f..000721810b 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 |