Package: dnsmasq
Version: 2.70-1
Severity: serious

By means of

    test -x $DAEMON || exit 0

the initscript disables itself if /usr/sbin/dnsmasq is not installed. But
this binary belongs to another package, dnsmasq-base. So the initscript
disables itself if and only if that other package, dnsmasq-base, is not
installed.

Whereas Debian policy says (ยง9.3.2) that the initscript should disable
itself if the package that owns the initscript is not installed.

As a result of this error, someone who installs dnsmasq and later removes
dnsmasq and not dnsmasq-base still has a fully functional dnsmasq package.

A case of this was reported at
https://bugs.launchpad.net/debian/+source/dnsmasq/+bug/1315741

Reply via email to