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

Bug 449696

Summary: ntp-client and ntpd needs net
Product: Gentoo Linux Reporter: Dyweni <j6yNRdsH5Fc3>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dyweni 2013-01-01 21:26:59 UTC
When net.wlan0 starts up, it goes to 'Backgrounding' and services that need net are postponed until that net.wlan0 has finished starting.

ntp-client is listed to start 'after net' but not 'need net'.  This results in ntp-client failing to set the clock because it happens before net.wlan0 has finished starting.  If I change 'after net' to 'need net', then it waits for net.wlan0 and starts succesfully.


Reproducible: Always

Steps to Reproduce:
1. Reboot computer

Actual Results:  
Exiting, name server cannot be used: Temporary failure in name resolution (-3)
* Failed to set clock
* ERROR: ntp-client failed to start

Expected Results:  
ntp-client should wait until net.wlan0 has started before it starts.
Comment 1 Dyweni 2013-01-01 21:28:52 UTC
# emerge -pv baselayout openrc ntp
....
[ebuild   R    ] sys-apps/baselayout-2.1-r1  USE="-build" 40 kB
[ebuild   R    ] sys-apps/openrc-0.11.8  USE="ncurses pam unicode -debug -newnet (-prefix) (-selinux) -static-libs" 171 kB
[ebuild   R    ] net-misc/ntp-4.2.6_p5-r1  USE="ipv6 ssl vim-syntax -caps -debug -openntpd -parse-clocks -samba (-selinux) -snmp -zeroconf" 0 kB
Comment 2 SpanKY gentoo-dev 2013-01-02 10:05:30 UTC

*** This bug has been marked as a duplicate of bug 439564 ***