[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: ntp-unstable-simple



Fabio Massimo Di Nitto wrote:

> On Mon, 5 May 2003, Fabio Massimo Di Nitto wrote:
> 
> > On Mon, 5 May 2003, Jeroen Massar wrote:
> >
> > > Andre Grueneberg [mailto:ag@leela.home.grueneberg.de] wrote:

<SNIP>

> Ok tracked down. The machine on which it was not working for 
> me has usagi
> as well. I am not sure still where the problem is located in 
> the code but
> this is a workaround:
> 
> /etc/init.d/ntp-unstable-simple stop
> echo 1 > /proc/sys/net/ipv6/bindv6only
> /etc/init.d/ntp-unstable-simple start
> echo 0 > /proc/sys/net/ipv6/bindv6only
> 
> that i will implement in the init.d script for -2 until a 
> proper fix will be available.

Aha, this is the eeky part, as USAGI is a bit more like *BSD
who bind to both IPv4 and IPv6 at the same time. Stock kernels
don't do that though, so the ntpd code probably binds to both
IPv4 and IPv6 seperatly...

The "fix" is in ignoring the failure when binding to IPv4 after
you have succesfully bound to IPv6 already. Though logging the
failure with a warning/informational message is quite nice.

Greets,
 Jeroen



Reply to: