summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-09-26 11:51:34 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-09-26 11:51:34 -0500
commit7d8dca7b7816ccb95f86bf3f3206634597cbdc81 (patch)
treedad18e90f1fb75f0a937cd7ba866cf7472b9f557
parentc08b1a6a3205c41bc14e466a6c47c7f309ae6cd2 (diff)
downloadopenrc-7d8dca7b7816ccb95f86bf3f3206634597cbdc81.tar.gz
openrc-7d8dca7b7816ccb95f86bf3f3206634597cbdc81.tar.bz2
openrc-7d8dca7b7816ccb95f86bf3f3206634597cbdc81.tar.xz
Add -lxc keyword to urandom script
Urandom should not run in lxc containers since it is provided by the host. Reported-by: <walter@pratyeka.org> X-Gentoo-Bug: 436270 X-Gentoo-Bug-URL: http://bugs.gentoo.org/436270
-rw-r--r--init.d/urandom.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/urandom.in b/init.d/urandom.in
index bc48066..2dfe1cc 100644
--- a/init.d/urandom.in
+++ b/init.d/urandom.in
@@ -8,7 +8,7 @@ description="Initializes the random number generator."
depend()
{
need localmount
- keyword -jail -openvz -prefix
+ keyword -jail -lxc -openvz -prefix
}
save_seed()