Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 366843

Summary: sys-apps/baselayout-2.0.2: /etc/hosts update results in ntpq -np localhost timeout.
Product: Gentoo Linux Reporter: cilly <cilly>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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