Fixes the run levels on the initscript, with or without insserv.
Specifying S38 in rcS starts open-vm-tools after the local filesystems (which are required for putting the pid file in /var), but before any networking. (on lenny)
Specifying S38 in rc0/6 stops open-vm-tools after the network is down, but before filesystems are unmounted. (on lenny)
The changes to the LSB init header ensure the same thing--that on startup local filesystems are up, but networking isn't, and the opposite on shutdown.
--- debian/open-vm-tools.init | 8 +++++--- debian/rules | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/debian/open-vm-tools.init b/debian/open-vm-tools.init index 0ec872e..1b2f7f8 100644 --- a/debian/open-vm-tools.init +++ b/debian/open-vm-tools.init @@ -2,9 +2,11 @@ ### BEGIN INIT INFO # Provides: open-vm-tools -# Required-Start: -# Required-Stop: $network -# Default-Start: 2 3 5 +# Required-Start: $local_fs +# Required-Stop: $local_fs +# X-Start-Before: $network +# X-Stop-After: $network +# Default-Start: S # Default-Stop: 0 6 # Description: Runs the open-vm-tools services # Short-Description: Runs the open-vm-tools services diff --git a/debian/rules b/debian/rules index dafc2c4..4efdf34 100755 --- a/debian/rules +++ b/debian/rules @@ -181,7 +181,7 @@ binary-arch: build install dh_installdocs dh_install dh_installman - dh_installinit --update-rcd-params='defaults 20' + dh_installinit --update-rcd-params='start 38 S . start 38 0 6 .' dh_lintian dh_link dh_strip --dbg-package=open-vm-tools-dbg -- 1.5.6.5 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]