From 9b094b09bd15ef3c6b7929b1635706158750144f Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Wed, 31 Mar 2010 17:42:50 -0700 Subject: [PATCH] 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. --- 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 b7b2d4db6..b116f6821 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 ad3547b10..cf01fcfc0 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 3286f9b8f..6f2c0487e 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 43a320475..97e9b8936 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 5e5418582..be547b114 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 cfe49be8f..06d8fcccb 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 -- 2.43.0