Serious bugginess on Raspberry Pi
Eric S. Raymond
esr at thyrsus.com
Wed Nov 18 19:09:24 UTC 2015
Hal Murray <hmurray at megapathdsl.net>:
>
> I've seen this before but wasn't alert enough to figure out that it was
> important since it worked everywhere else. It's a general problem, nothing
> specific to the Raspberry Pi.
>
> The problem I've seen is that ntpd isn't listening on the local IPv6 address
> that ntpq is sending on. It's some combination of what's in /etc/hosts and
> what ntpd is listening on.
>
> Ah... It's listening on :: rather than ::1
> $ netstat -uln
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address Foreign Address State
>
> udp 0 0 192.168.1.3:123 0.0.0.0:*
>
> udp 0 0 127.0.0.1:123 0.0.0.0:*
>
> udp 0 0 0.0.0.0:123 0.0.0.0:*
>
> udp6 0 0 :::123 :::*
>
>
> The /etc/hosts I use (almost) everywhere doesn't have any IPv6 info so ntpq
> gets 127.0.0.1 when it asks for localhost.
I am not quite clued in enough to see what fix or workaround this implies.
Modifying /etc/hosts for our convenience is a non-starter; do we need to
mine it to figure out what address to listen on?
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
More information about the devel
mailing list