summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-05-02 14:44:32 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-05-02 14:44:32 -0500
commitc959797a80f83ec59b0ceee4732825767a01c429 (patch)
tree97bd5823cf081cebce0c8f7e67f6b63ca9817940
parentMake start-stop-daemon daemonize instead of udev (diff)
downloadudev-gentoo-scripts-c959797a80f83ec59b0ceee4732825767a01c429.tar.gz
udev-gentoo-scripts-c959797a80f83ec59b0ceee4732825767a01c429.tar.bz2
udev-gentoo-scripts-c959797a80f83ec59b0ceee4732825767a01c429.zip
Disable the scripts in a systemd-nspawn container
X-Gentoo-Bug: 548090 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=548090
-rw-r--r--init.d/udev4
-rw-r--r--init.d/udev-settle2
-rw-r--r--init.d/udev-trigger2
3 files changed, 3 insertions, 5 deletions
diff --git a/init.d/udev b/init.d/udev
index e2ff830..f26caa4 100644
--- a/init.d/udev
+++ b/init.d/udev
@@ -12,9 +12,7 @@ depend()
{
need sysfs dev-mount
before checkfs fsck
-
- # udev does not work inside vservers
- keyword -vserver -lxc
+ keyword -lxc -systemd-nspawn -vserver
}
start_pre()
diff --git a/init.d/udev-settle b/init.d/udev-settle
index f5253f5..4c640db 100644
--- a/init.d/udev-settle
+++ b/init.d/udev-settle
@@ -7,7 +7,7 @@ depend()
need udev
after udev-trigger
provide dev-settle
- keyword -vserver -lxc
+ keyword -lxc -systemd-nspawn -vserver
}
start()
diff --git a/init.d/udev-trigger b/init.d/udev-trigger
index abc4540..d3f40e6 100644
--- a/init.d/udev-trigger
+++ b/init.d/udev-trigger
@@ -11,7 +11,7 @@ depend()
{
need udev
provide dev
- keyword -vserver -lxc
+ keyword -lxc -systemd-nspawn -vserver
}
start_pre()