Bug#550061: [pkg-ntp-maintainers] Bug#550061: ntp: Leaves stale tmp files

2010-01-11 Thread Harald Braumann
On Sun, 27 Dec 2009 23:59:39 +0100
Kurt Roeckx k...@roeckx.be wrote:

 On Wed, Oct 07, 2009 at 04:32:11PM +0200, Harald Braumann wrote:

 So you somehow must be triggering other code than other people.
 Can you tell me something more about your setup?  Like how is
 the resolver configured.  What do you have in /etc/resolv.conf
 when that happens, 

I have a local bind. So /etc/resolv.conf always contains nameserver
127.0.0.1. Bind's options are controlled by resolvconf (like
adding/removing forwarders). 

This is on a laptop, so it is often without network connection. The
interface is controlled by ifplugd. It takes the interface down or up,
depending on the link state.

 and what does grep hosts /etc/nsswitch.conf
 return?
hosts:  files dns

 Do you have ipv6 connectivity?  Or is ipv6 completly disabled?
It is enabled but not used for outside connections (no ipv6 router).

harry


signature.asc
Description: PGP signature


Bug#550061: [pkg-ntp-maintainers] Bug#550061: ntp: Leaves stale tmp files

2009-12-27 Thread Kurt Roeckx
On Wed, Oct 07, 2009 at 04:32:11PM +0200, Harald Braumann wrote:
 Hi,
 
 here is some additional info: it seems, ntpd creates these files, when
 it can't connect to a server. 
 
 If I unplug the network cable, the
 interface is taken down by ifplugd, dhcp loses the lease and restarts
 ntpd via /etc/dhcp3/dhclient-exit-hooks.d/ntp. In this case a temporary
 file is created and never deleted. 
 
 If I restart ntpd manually while the network is connected, no temporary
 file is created.

I've been trying to reproduce this using 4.2.4p7+dfsg-4, but I
never get such files.

On the other hand looking at the code, I don't see how it could
be cleaned up in the succesful case.

So you somehow must be triggering other code than other people.
Can you tell me something more about your setup?  Like how is
the resolver configured.  What do you have in /etc/resolv.conf
when that happens, and what does grep hosts /etc/nsswitch.conf
return?

Do you have ipv6 connectivity?  Or is ipv6 completly disabled?


Kurt




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org