summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-10-06 01:49:36 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-10-06 01:49:36 +0200
commitee9bf6bda9a3367295ca56842bb29bf197d90f48 (patch)
treeb45884a8bba9e0d791af15e1becb76ee21b065d1
parent7eff39bcf3fd5c1e441bd14902268b111c82797d (diff)
systemd: no not start udev in a container
-rw-r--r--init/udev-control.socket1
-rw-r--r--init/udev-kernel.socket1
2 files changed, 2 insertions, 0 deletions
diff --git a/init/udev-control.socket b/init/udev-control.socket
index 9a3537a37d..8f3106130b 100644
--- a/init/udev-control.socket
+++ b/init/udev-control.socket
@@ -1,6 +1,7 @@
[Unit]
Description=udev Control Socket
DefaultDependencies=no
+ConditionVirtualization=!container
[Socket]
Service=udev.service
diff --git a/init/udev-kernel.socket b/init/udev-kernel.socket
index e4de14a33e..b6d1c88c18 100644
--- a/init/udev-kernel.socket
+++ b/init/udev-kernel.socket
@@ -1,6 +1,7 @@
[Unit]
Description=udev Kernel Socket
DefaultDependencies=no
+ConditionVirtualization=!container
[Socket]
Service=udev.service