Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641500 - net-misc/ntp-4.2.8_p10-r1 ntpd does not set time
Summary: net-misc/ntp-4.2.8_p10-r1 ntpd does not set time
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-17 21:55 UTC by Manuel Garcia Wolff
Modified: 2017-12-22 16:54 UTC (History)
1 user (show)

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


Attachments
/etc/ntp.conf (ntp.conf,1.58 KB, text/plain)
2017-12-22 16:54 UTC, Manuel Garcia Wolff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Garcia Wolff 2017-12-17 21:55:10 UTC
On my system, ntpd from net-misc/ntp-4.2.8_p10-r1 does not set the time.

Steps to reproduce:

1. Set the clock to some seconds off, e.g. using "date --set".

2. Restart nptd:
$ /etc/init.d/ntpd restart

3. Wait for a while and check if the date has been fixed. You can also check /var/log/everything/current for a message such as: 
Dec 17 16:32:32 [ntpd] ntpd: time set +18.479243 s

For me, ntpd never sets the time.
However, I can successfully set the time using /etc/init.d/ntp-client.

I can also set the time using ntpd by passing the -q option. For example:

# /usr/sbin/ntpd -q -g

If I pass the -q option, the time gets set successfully.
If I do not pass the -q option, then the time never gets set.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-22 15:56:20 UTC
Is your /etc/ntp.conf changed in any way from the default?
Comment 2 Manuel Garcia Wolff 2017-12-22 16:52:03 UTC
No, no changes. I attached the file in case you would like to review it.
Comment 3 Manuel Garcia Wolff 2017-12-22 16:54:06 UTC
Created attachment 511488 [details]
/etc/ntp.conf