Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366843 - sys-apps/baselayout-2.0.2: /etc/hosts update results in ntpq -np localhost timeout.
Summary: sys-apps/baselayout-2.0.2: /etc/hosts update results in ntpq -np localhost ti...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 08:38 UTC by cilly
Modified: 2011-05-16 03:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cilly 2011-05-11 08:38:01 UTC
With the following host-file from baselayout 2:


# IPv4 and IPv6 localhost aliases
127.0.0.1       localhost
::1             localhost

ntpq -np localhost gets a timeout and ntpd can't be reached thru localhost anymore. ntpq -np <public_ip> is still working.

With entries of the hosts-file from baselayout 1 ntpq -np localhost is working flawlessly:


# IPv4 localhost aliases
127.0.0.1       localhost

# IPV6 versions of localhost and co  
::1             ip6-localhost ip6-loopback
fe00::0         ip6-localnet
ff00::0         ip6-mcastprefix
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters
ff02::3         ip6-allhosts
Comment 1 SpanKY gentoo-dev 2011-05-16 03:18:16 UTC
make your server listen on IPv6, or use the -4 flag with ntpq