Package: lastfmproxy Version: 1.3b-1 Severity: important Tags: patch User: [email protected] Usertags: incorrect-dependency
Hi, While examining some init scripts I found lastfmproxy's to be missing some dependencies. Since the binary lives in /usr it requires $remote_fs (not just a should-). And since it requires a network interface it should also depend on $network. http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html documents the LSB header format. Some Debian notes are available at http://wiki.debian.org/LSBInitScripts This patch should solve the issue. Without it, the init.d will start too early in the boot sequence on some systems. Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net
diff -urpN lastfmproxy-1.3b-1.orig/debian/init.d lastfmproxy-1.3b-1/debian/init.d --- lastfmproxy-1.3b-1.orig/debian/init.d 2009-08-14 13:49:17.000000000 -0500 +++ lastfmproxy-1.3b-1/debian/init.d 2009-08-14 13:50:30.822949492 -0500 @@ -11,8 +11,8 @@ # ### BEGIN INIT INFO # Provides: lastfmproxy -# Required-Start: -# Required-Stop: +# Required-Start: $remote_fs $network +# Required-Stop: $remote_fs $network # Should-Start: # Should-Stop: # Default-Start: 2 3 4 5

