Package: gpsd Version: 2.30-2 Severity: important Tags: patch User: [email protected] Usertags: incorrect-dependency User: [email protected] Usertags: piuparts
With dependency based boot sequencing, I discovered what I believe is a bug in the init.d script of this package. The script have a hard dependency on dbus, yet the package only recommend dbus. Because of this, the init.d dependency should be a soft dependency. Further, the script uses files in /usr/ and should depend on $remote_fs. I discovered these things from piuparts, which failed to install the package. See <URL:http://piuparts.debian.org/sid/fail/gpsd_2.39-5.log>. Here are the relevant parts: insserv: Service dbus has to be enabled to start service gpsd insserv: exiting now! I'm setting severity important and not serous, as dbus is a recommended package to gpsd and thus will be installed on most systems. This patch should solve it. diff -ur ../gpsd-2.39/debian/gpsd.init ../gpsd-2.39-pere/debian/gpsd.init --- ../gpsd-2.39/debian/gpsd.init 2009-09-27 09:32:05.000000000 +0200 +++ ../gpsd-2.39-pere/debian/gpsd.init 2009-09-27 09:32:55.000000000 +0200 @@ -6,9 +6,9 @@ ### BEGIN INIT INFO # Provides: gpsd -# Required-Start: $syslog $network dbus -# Should-Start: bluetooth -# Required-Stop: $syslog $network +# Required-Start: $remote_fs $syslog $network +# Should-Start: bluetooth dbus +# Required-Stop: $remote_fs $syslog $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start the GPS (Global Positioning System) daemon Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

