[lxc-devel] [lxc/master] add missing lsb headers to sysvinit scripts

evgeni on Github lxc-bot at linuxcontainers.org
Wed Apr 13 15:56:22 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 398 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160413/49e830ab/attachment.bin>
-------------- next part --------------
From 26ca5e5bcfb112a0755b21f5335333eb3245280e Mon Sep 17 00:00:00 2001
From: Evgeni Golov <evgeni at debian.org>
Date: Wed, 13 Apr 2016 17:54:55 +0200
Subject: [PATCH] add missing lsb headers to sysvinit scripts

original patch by Daniel Baumann

closes #308

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

diff --git a/config/init/sysvinit/lxc-containers.in b/config/init/sysvinit/lxc-containers.in
index 7a55c3b..f4ce8ea 100644
--- a/config/init/sysvinit/lxc-containers.in
+++ b/config/init/sysvinit/lxc-containers.in
@@ -7,6 +7,10 @@
 #
 ### BEGIN INIT INFO
 # Provides: lxc
+# Required-Start: $syslog $remote_fs
+# Required-Stop: $syslog $remote_fs
+# Should-Start:
+# Should-Stop:
 # Default-Start: 2 3 4 5
 # Default-Stop: 0 1 6
 # Short-Description: Bring up/down LXC autostart containers
diff --git a/config/init/sysvinit/lxc-net.in b/config/init/sysvinit/lxc-net.in
index f6892c1..95be399 100644
--- a/config/init/sysvinit/lxc-net.in
+++ b/config/init/sysvinit/lxc-net.in
@@ -7,6 +7,10 @@
 #
 ### BEGIN INIT INFO
 # Provides: lxc-net
+# Required-Start: $syslog $remote_fs
+# Required-Stop: $syslog $remote_fs
+# Should-Start:
+# Should-Stop:
 # Default-Start: 2 3 4 5
 # Default-Stop: 1
 # Short-Description: Bring up/down LXC Network Bridge


More information about the lxc-devel mailing list