[lxc-devel] [lxc/master] add cgroupfs-mount to Should-Start/Stop sysvinit LSB headers

evgeni on Github lxc-bot at linuxcontainers.org
Thu Jan 12 11:53:41 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 475 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170112/8fa772b4/attachment.bin>
-------------- next part --------------
From 2704c1ccdd33aa2ef4804a39ad5e3ee3a089d324 Mon Sep 17 00:00:00 2001
From: Evgeni Golov <evgeni at debian.org>
Date: Thu, 12 Jan 2017 12:50:15 +0100
Subject: [PATCH] add cgroupfs-mount to Should-Start/Stop sysvinit LSB headers

otherwise init might try to start the containers before cgroupfs was
mounted.

Debian-Bug: https://bugs.debian.org/850212

Signed-off-by: Evgeni Golov <evgeni at debian.org>
---
 config/init/sysvinit/lxc-containers.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/init/sysvinit/lxc-containers.in b/config/init/sysvinit/lxc-containers.in
index a7502a8..f793d20 100644
--- a/config/init/sysvinit/lxc-containers.in
+++ b/config/init/sysvinit/lxc-containers.in
@@ -9,8 +9,8 @@
 # Provides: lxc
 # Required-Start: $syslog $remote_fs
 # Required-Stop: $syslog $remote_fs
-# Should-Start:
-# Should-Stop:
+# Should-Start: cgroupfs-mount
+# Should-Stop: cgroupfs-mount
 # Default-Start: 2 3 4 5
 # Default-Stop: 0 1 6
 # Short-Description: Bring up/down LXC autostart containers


More information about the lxc-devel mailing list