-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The following code in /etc/init.d/dnsmasq is responsible for this
behaviour.

# /etc/dnsmasq.d/README is a non-conffile installed by the dnsmasq
package.
# Should the dnsmasq package be removed, the following test ensures that
# the daemon is no longer started, even if the dnsmasq-base package is
# still in place.
test -e /etc/dnsmasq.d/README || exit 0

The reason it's there is to stop the dnsmasq-base package from
automatically starting dnsmasq if it has been removed. The binary for
the daemon in in another package (dnsmasq-base) and
/etc/init.d/dnsmasq is a conffile so will not be removed when the
dnsmasq package is removed.

Maybe there should be a comment in the file to this effect, or even
another file should be used.


Cheers,

Simon.




On 03/04/16 07:22, Thilo Six wrote:
> Package: dnsmasq Version: 2.75-1 Severity: normal
> 
> Hello Simon,
> 
> by mistake i found that removing the file /etc/dnsmasq.d/README
> prevents dnsmasq from starting. systemd says rough vaguely: -----<
> -----< -----< -----< -----< -----< -----< -----< -----< -----< Job
> for dnsmasq.service failed because a configured resource limit was
> exceeded. See "systemctl status dnsmasq.service" and "journalctl
> -xe" for details. -----< -----< -----< -----< -----< -----< -----<
> -----< -----< -----<
> 
> touching /etc/dnsmasq.d/README then and all is fine again.
> 
> 
> 
> kind regards,
> 
> Thilo
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCAAGBQJXAolaAAoJEBXN2mrhkTWiKkYP/i9PuGtkQ5FIaxBG10f5U2dO
K+YGbLC8G23yZeve04MKpUx0g07Sn1+kNiEgpbIFw5ozmYywrrjF7bdM5YjQMlh4
YS5Zgkfj3yg7yj0bWh+UznPvHf8Xu3SzUrlpax3Sfd7GtmnT6ENNUegKsp5CE1nG
jRgdTf72ZVTq63W/ga3FnQPJHO0+KHbWKVvUf8X7S0peRfCsH3M+ODwRCcRvHAJx
qz6qUHuMYpySVS/A/0PJFMAtuQTYaNEcI3A1thMpPfLV6hmYmzQwIsnAP0xOpL2Z
sCtCQiv85QfroU2CJArpGLu6WfDd3ip4rn0/VIm4hbWWCNHbk0XtMbV/P3yRYIxW
fQfeohpNhtQznkcsF6jMPN+a1WUq6XwX7X0KW70UEybAPmmIR8uphWRyG1UtwfHI
Jf2Im6Nx5e8nRlUJ3NHOXhJId9U4nqTYzDUwYwm4e5IiH9WGTKlKSi7zNmjVjOQO
pslHAn6UYZB1iM7PlNyC6M8z5kK0Je77lnZoFpBJJ80WmsbYhq7vwFCFhg5V06R/
h2XK5XvO5N75d+zZ7AmEKpb13LVXhj+eonTRvDdXaY2Nsm85T5HH+/NY6K0oVNuA
tqjG4QkYJ8zqO9xo7djHajKCc08Wqy/aFDAf5YvfR5Kz33o1ZWydw/x8bC8IUOzG
+rwEo3c7Hn20gNkNhPj/
=7TPW
-----END PGP SIGNATURE-----

Reply via email to