aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-03-26 14:51:03 -0500
committerWilliam Hubbs <williamh@gentoo.org>2012-03-26 14:51:03 -0500
commitf9162438bca8c8449f1f663a60c47229f0c08316 (patch)
tree55962bbcb12cf4fbfba210792cecdc7a3b2867ee
parent533813dda03d4b3cd1685f4063e314ae0539267e (diff)
Add -lxc keyword to sysctl script for linux systems
Kernel parameters should not be set from inside a lxc guest. Reported-by: Piotr Karbowski <piotr.karbowski@gmail.com>
-rw-r--r--init.d/sysctl.Linux.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/sysctl.Linux.in b/init.d/sysctl.Linux.in
index f4a06ff4..a64060f2 100644
--- a/init.d/sysctl.Linux.in
+++ b/init.d/sysctl.Linux.in
@@ -5,7 +5,7 @@
depend()
{
before bootmisc logger
- keyword -vserver
+ keyword -lxc -vserver
}
start()