Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449696 - ntp-client and ntpd needs net
Summary: ntp-client and ntpd needs net
Status: RESOLVED DUPLICATE of bug 439564
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-01 21:26 UTC by Dyweni
Modified: 2013-01-02 10:05 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 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 ***