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
nobody    3216  0.0  0.0  14640   644 ?        S    14:28   0:00 dnsmasq 
--conf-file --bind-interfaces --listen-address=172.23.0.1 
--listen-address=2001:41e0:ff38:ffff::1 --except-interface=lo --strict-order 
--pid-file=/var/run/dnsmasq.vnet.pid --dhcp-range=172.23.0.32,172.23.0.254,12h 
--dhcp-leasefile=/var/lib/misc/dnsmasq.vnet.leases --dhcp-authoritative
root      3891  0.0  0.0   5416   796 ttyS1    S+   14:30   0:00 grep dnsmasq
khyber:~# kill -TERM 3216
khyber:~# ls /var/run/dnsmasq.vnet.pid
/var/run/dnsmasq.vnet.pid

It would be good to have that fixed for all the cases when the
shutdown can be gracefully controlled.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to