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

Bug 504096

Summary: ntp elog message misleading
Product: Gentoo Linux Reporter: A. Person <tesoro302>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://wiki.gentoo.org/wiki/Ntp#Server_2
Whiteboard:
Package list:
Runtime testing required: ---

Description A. Person 2014-03-10 15:22:04 UTC
The NTP ebuild says:

"The way ntp sets and maintains your system time has changed.
Now you can use /etc/init.d/ntp-client to set your time at
boot while you can use /etc/init.d/ntpd to maintain your time
while your machine runs"

That seems to indicate that ntpd and ntp-client should both be started.  However, the wiki says:

"Make sure you are not running ntp-client"

http://wiki.gentoo.org/wiki/Ntp#Server_2

I think the wiki is correct.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-11 16:08:40 UTC
/etc/init.d/ntp-client doesn't keep anything running - it runs ntp-client, which sets the system time once and then exits, leaving the NTP ports free for ntpd (or a different NTP daemon) to take over.

Perhaps the wiki should be changed.
Comment 2 A. Person 2014-03-11 20:00:20 UTC
If I start ntp-client automatically at boot, it takes about 12 seconds and delays everything which starts after it such as shorewall and local.