Package: dnsmasq
Version: 2.40-1
Severity: important
Tags: patch
User: [EMAIL PROTECTED]
Usertags: incorrect-provides

The dnsmasq initscript LSB header currently declares provision of the '$named'
virtual facility, and it should not according to the guidelines on the wiki [1].

<quote>
Normally you can use the script name as boot facility but you can also use the
name of the service(s) that the script replaces. Virtual facility names should
not be listed here. Those are defined outside the init.d scripts.
</quote>

This should be, and is, done in /etc/insserv.conf as provided by the insserv
package.

Thanks, Kel.

[1] http://wiki.debian.org/LSBInitScripts

---
diff -Nrup dnsmasq-2.40/debian/init dnsmasq-2.40.lsb-fix/debian/init
--- dnsmasq-2.40/debian/init    2008-02-07 19:31:09.000000000 +1000
+++ dnsmasq-2.40.lsb-fix/debian/init    2008-02-07 19:30:54.000000000 +1000
@@ -1,6 +1,6 @@
 #!/bin/sh
 ### BEGIN INIT INFO
-# Provides:       dnsmasq $named
+# Provides:       dnsmasq
 # Required-Start: $network $remote_fs $syslog
 # Required-Stop:  $network $remote_fs $syslog
 # Default-Start:  2 3 4 5
---



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to