Hi Simon, Am Montag, 7. November 2011 schrieb Simon Kelley: > On 07/11/11 20:22, Andreas Stempfhuber wrote: > > I was able to replicate the issue by manually stopping the syslog daemon > > and then manually stopping dnsmasq. In this sequence dnsmasq takes a > > long time (longer than 10 seconds) to stop. > > I can't replicate this behaviour: I tried datagram and stream /dev/log, > and asynchronous logging in dnsmasq enabled/disabled and in all cases > dnsmasq notices that the log connection has gone and doesn't loop > waiting to flush the log. > > Any clues as to why your system should be different? Could you let me > have a copy of your syslog and dnsmasq configs?
that's strange, I can replicate it with every Squeeze system I have tested so far using the default configuration. Here is an example: muc-stempfhuber:~# apt-get purge dnsmasq dnsmasq-base klogd sysklogd Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: dnsmasq* dnsmasq-base* klogd* sysklogd* 0 upgraded, 0 newly installed, 4 to remove and 10 not upgraded. After this operation, 1233 kB disk space will be freed. Do you want to continue [Y/n]? (Reading database ... 196626 files and directories currently installed.) Removing dnsmasq ... Stopping DNS forwarder and DHCP server: dnsmasq. Purging configuration files for dnsmasq ... Removing dnsmasq-base ... Removing klogd ... Stopping kernel log daemon.... Purging configuration files for klogd ... Removing sysklogd ... Stopping system log daemon.... Purging configuration files for sysklogd ... Processing triggers for man-db ... muc-stempfhuber:~# apt-get install dnsmasq sysklogd Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: dnsmasq-base klogd The following NEW packages will be installed: dnsmasq dnsmasq-base klogd sysklogd 0 upgraded, 4 newly installed, 0 to remove and 10 not upgraded. Need to get 0 B/427 kB of archives. After this operation, 1233 kB of additional disk space will be used. Do you want to continue [Y/n]? Selecting previously deselected package dnsmasq-base. (Reading database ... 196562 files and directories currently installed.) Unpacking dnsmasq-base (from .../dnsmasq-base_2.55-2+b1_i386.deb) ... Selecting previously deselected package dnsmasq. Unpacking dnsmasq (from .../dnsmasq_2.55-2_all.deb) ... Selecting previously deselected package sysklogd. Unpacking sysklogd (from .../sysklogd_1.5-6_i386.deb) ... Selecting previously deselected package klogd. Unpacking klogd (from .../archives/klogd_1.5-6_i386.deb) ... Processing triggers for man-db ... Setting up dnsmasq-base (2.55-2+b1) ... Setting up dnsmasq (2.55-2) ... Starting DNS forwarder and DHCP server: dnsmasq. Setting up klogd (1.5-6) ... Starting kernel log daemon.... Setting up sysklogd (1.5-6) ... Starting system log daemon.... muc-stempfhuber:~# time /etc/init.d/sysklogd stop Stopping system log daemon.... real 0m0.013s user 0m0.028s sys 0m0.004s muc-stempfhuber:~# time /etc/init.d/dnsmasq stop Stopping DNS forwarder and DHCP server: dnsmasq. real 0m31.121s user 0m0.136s sys 0m0.216s And here is the result when the syslog daemon is running: muc-stempfhuber:~# /etc/init.d/sysklogd start Starting system log daemon.... muc-stempfhuber:~# /etc/init.d/dnsmasq start Starting DNS forwarder and DHCP server: dnsmasq. muc-stempfhuber:~# time /etc/init.d/dnsmasq stop Stopping DNS forwarder and DHCP server: dnsmasq. real 0m1.097s user 0m0.096s sys 0m0.036s I can exclude an issue with sysklogd as the other system I have used earlier today for replicating uses busybox-syslogd as syslog daemon. Maybe it's related to a change between dnsmasq 2.55 in Squeeze and 2.59 in SID? Cheers, Andi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org