[Pkg-virtualbox-devel] Bug#466311: virtualbox-ose/virtualbox-ose-guest-utils: Slightly wrong LSB header in init.d script

Petter Reinholdtsen pere at hungry.com
Sun Feb 17 21:29:56 UTC 2008


Package:  virtualbox-ose virtualbox-ose-guest-utils
Version:  1.4.0svn4130-dfsg-1
Severity: important
Tags:     patch
User:     initscripts-ng-devel at lists.alioth.debian.org
Usertags: incorrect-dependency

When testing dependency based boot sequencing, I discovered a bug in
the init.d script for virtualbox-ose and virtualbox-ose-guest-utils.
It need a mounted /usr/ and this require a dependency on $remote_fs.

Fixing these issues is a release goal for lenny, so it is good if it
is fixed quickly.

This patch solve the issue.  I hope I located all init.d scripts in
the package.

diff -ur virtualbox-ose-1.5.4-dfsg.orig/debian/virtualbox-ose-guest-utils.init virtualbox-ose-1.5.4-dfsg/debian/virtualbox-ose-guest-utils.init
--- virtualbox-ose-1.5.4-dfsg.orig/debian/virtualbox-ose-guest-utils.init       2008-02-17 21:40:04.000000000 +0100
+++ virtualbox-ose-1.5.4-dfsg/debian/virtualbox-ose-guest-utils.init    2008-02-17 21:53:46.000000000 +0100
@@ -4,8 +4,8 @@
 ### BEGIN INIT INFO
 # Provides:          vboxadd
 # Short-Description: VirtualBox Linux Additions
-# Required-Start:
-# Required-Stop:
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 ### END INIT INFO
Only in virtualbox-ose-1.5.4-dfsg/debian: virtualbox-ose-guest-utils.init.~1~
diff -ur virtualbox-ose-1.5.4-dfsg.orig/src/VBox/Installer/linux/vboxnet.sh virtualbox-ose-1.5.4-dfsg/src/VBox/Installer/linux/vboxnet.sh
--- virtualbox-ose-1.5.4-dfsg.orig/src/VBox/Installer/linux/vboxnet.sh  2007-11-21 20:54:35.000000000 +0100
+++ virtualbox-ose-1.5.4-dfsg/src/VBox/Installer/linux/vboxnet.sh       2008-02-17 21:58:58.000000000 +0100
@@ -19,10 +19,10 @@
 #
 ### BEGIN INIT INFO
 # Provides:       vboxnet
-# Required-Start: $network
-# Required-Stop:
-# Default-Start:  3 5
-# Default-Stop:
+# Required-Start: $remote_fs $network
+# Required-Stop:  $remote_fs
+# Default-Start:  2 3 4 5
+# Default-Stop:   0 1 6
 # Description:    VirtualBox permanent host networking setup
 ### END INIT INFO

Happy hacking,
--
Petter Reinholdtsen





More information about the Pkg-virtualbox-devel mailing list