From: Justin Pettit Date: Thu, 1 Apr 2010 00:42:50 +0000 (-0700) Subject: debian: Add $remote_fs to Required-Start/-Stop field in init scripts X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b094b09bd15ef3c6b7929b1635706158750144f;p=openvswitch 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. --- 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