[ovs-dev] [PATCH 6/9] debian: Add $remote_fs to Required-Start/-Stop field in init scripts
Justin Pettit
jpettit at nicira.com
Thu Apr 1 03:21:24 UTC 2010
Init scripts that depend on items in /usr must have $remote_fs defined
in their Required-Start and Required-Stop fields. This will ensure that
/usr is mounted before a start or stop call is made.
Found by Lintian.
---
debian/corekeeper.init | 4 ++--
debian/openvswitch-controller.init | 4 ++--
debian/openvswitch-monitor.init | 4 ++--
debian/openvswitch-switch.init | 2 +-
debian/openvswitch-switchui.init | 4 ++--
debian/openvswitch-wdt.init | 4 ++--
6 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/debian/corekeeper.init b/debian/corekeeper.init
index b7b2d4d..b116f68 100755
--- a/debian/corekeeper.init
+++ b/debian/corekeeper.init
@@ -25,8 +25,8 @@
#
### BEGIN INIT INFO
# Provides: corekeeper
-# Required-Start:
-# Required-Stop:
+# Required-Start: $remote_fs
+# Required-Stop: $remote_fs
# Should-Start: $syslog
# Should-Stop:
# Default-Start: 2 3 4 5
diff --git a/debian/openvswitch-controller.init b/debian/openvswitch-controller.init
index ad3547b..cf01fcf 100755
--- a/debian/openvswitch-controller.init
+++ b/debian/openvswitch-controller.init
@@ -19,8 +19,8 @@
#
### BEGIN INIT INFO
# Provides: openvswitch-controller
-# Required-Start: $network $local_fs
-# Required-Stop:
+# Required-Start: $network $local_fs $remote_fs
+# Required-Stop: $remote_fs
# Should-Start: $named
# Should-Stop:
# Default-Start: 2 3 4 5
diff --git a/debian/openvswitch-monitor.init b/debian/openvswitch-monitor.init
index 3286f9b..6f2c048 100755
--- a/debian/openvswitch-monitor.init
+++ b/debian/openvswitch-monitor.init
@@ -24,8 +24,8 @@
#
### BEGIN INIT INFO
# Provides: openvswitch-monitor
-# Required-Start: $network $local_fs
-# Required-Stop:
+# Required-Start: $network $local_fs $remote_fs
+# Required-Stop: $remote_fs
# Should-Start: $named $syslog openvswitch-switch
# Should-Stop:
# Default-Start: 2 3 4 5
diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init
index 43a3204..97e9b89 100755
--- a/debian/openvswitch-switch.init
+++ b/debian/openvswitch-switch.init
@@ -12,7 +12,7 @@
### BEGIN INIT INFO
# Provides: openvswitch-switch
# Required-Start: $network $named $remote_fs $syslog
-# Required-Stop:
+# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Open vSwitch switch
diff --git a/debian/openvswitch-switchui.init b/debian/openvswitch-switchui.init
index 5e54185..be547b1 100755
--- a/debian/openvswitch-switchui.init
+++ b/debian/openvswitch-switchui.init
@@ -24,8 +24,8 @@
#
### BEGIN INIT INFO
# Provides: openvswitch-switchui
-# Required-Start: $network $local_fs
-# Required-Stop:
+# Required-Start: $network $local_fs $remote_fs
+# Required-Stop: $remote_fs
# Should-Start: $named $syslog openvswitch-switch
# Should-Stop:
# Default-Start: 2 3 4 5
diff --git a/debian/openvswitch-wdt.init b/debian/openvswitch-wdt.init
index cfe49be..06d8fcc 100755
--- a/debian/openvswitch-wdt.init
+++ b/debian/openvswitch-wdt.init
@@ -24,8 +24,8 @@
#
### BEGIN INIT INFO
# Provides: openvswitch-wdt
-# Required-Start: $network $local_fs
-# Required-Stop:
+# Required-Start: $network $local_fs $remote_fs
+# Required-Stop: $remote_fs
# Should-Start: $named $syslog openvswitch-switch
# Should-Stop:
# Default-Start: 2 3 4 5
--
1.7.0.3
More information about the dev
mailing list