Bug#508560: clean up PID file on termination

2008-12-12 Thread martin f krafft
Package: dnsmasq Version: 2.45-1 Severity: minor When a SIGTERM takes down dnsmasq, it fails to clean up the PID file: khyber:~# ps aux | grep dnsmasq nobody3216 0.0 0.0 14640 644 ?S14:28 0:00 dnsmasq --conf-file --bind-interfaces --listen-address=172.23.0.1

Bug#508560: clean up PID file on termination

2008-12-12 Thread Simon Kelley
martin f krafft wrote: Package: dnsmasq Version: 2.45-1 Severity: minor When a SIGTERM takes down dnsmasq, it fails to clean up the PID file: After starting up, dnsmasq drops root privs for security reasons, so it doesn't, in general, have enough permissions to clean up it's own pid-file.