aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2010-03-31 17:42:50 -0700
committerJustin Pettit <jpettit@nicira.com>2010-03-31 23:14:04 -0700
commit9b094b09bd15ef3c6b7929b1635706158750144f (patch)
treedc2f1aba58219829bc7d6ea94f43363659cbbd2f /debian
parent2da0385d1f57fe00977d2e58022b3f9a6604192e (diff)
debian: Add $remote_fs to Required-Start/-Stop field in init scripts
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.
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/corekeeper.init4
-rwxr-xr-xdebian/openvswitch-controller.init4
-rwxr-xr-xdebian/openvswitch-monitor.init4
-rwxr-xr-xdebian/openvswitch-switch.init2
-rwxr-xr-xdebian/openvswitch-switchui.init4
-rwxr-xr-xdebian/openvswitch-wdt.init4
6 files changed, 11 insertions, 11 deletions
diff --git a/debian/corekeeper.init b/debian/corekeeper.init
index b7b2d4db..b116f682 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 ad3547b1..cf01fcfc 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 3286f9b8..6f2c0487 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 43a32047..97e9b893 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 5e541858..be547b11 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 cfe49be8..06d8fccc 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