FS#26042 - [systemd] openntpd.service doesn't work

Attached to Project: Community Packages
Opened by Daniel Gonzalez (maloy) - Saturday, 17 September 2011, 04:09 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 04 December 2011, 04:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture i686
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: openntpd.service doesn't work anymore, apparently it tries to sync the clock before NetworkManager.service starts. Is there a way to change that order?

Additional info:
* package version(s)

systemd 35-1


* config and/or log files etc.

# systemctl status openntpd.service
openntpd.service - OpenNTP Daemon
Loaded: loaded (/lib/systemd/system/openntpd.service; enabled)
Active: active (running) since Fri, 16 Sep 2011 15:28:26 -0600; 6h ago
Main PID: 1971 (ntpd)
CGroup: name=systemd:/system/openntpd.service
├ 1971 /usr/sbin/ntpd -d -s
└ 1972 /usr/sbin/ntpd -d -s


The error that I get is: localhost ntpd[1971]: no reply received in time, skipping initial time setting


**messages.log is attached.


Steps to reproduce: Boot the system, and check /var/log/messages.log
This task depends upon

Closed by  Dave Reisner (falconindy)
Sunday, 04 December 2011, 04:55 GMT
Reason for closing:  No response
Comment by Dave Reisner (falconindy) - Saturday, 17 September 2011, 13:56 GMT
No, it does work. openntpd.service orders itself properly with network.target, which is pulled in by NetworkManager. Please look at your own logs:

Sep 16 15:28:26 localhost NetworkManager[1920]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Sep 16 15:28:26 localhost NetworkManager[1920]: NetworkManager[1920]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Sep 16 15:28:26 localhost dhcpcd[1979]: version 5.2.12 starting
Sep 16 15:28:26 localhost NetworkManager[1920]: dhcpcd[1979]: version 5.2.12 starting
Sep 16 15:28:26 localhost dhcpcd[1979]: eth0: rebinding lease of 192.168.1.100
Sep 16 15:28:26 localhost NetworkManager[1920]: dhcpcd[1979]: eth0: rebinding lease of 192.168.1.100
Sep 16 15:28:26 localhost dhcpcd[1979]: eth0: acknowledged 192.168.1.100 from 192.168.1.1 `ÿ'
Sep 16 15:28:26 localhost NetworkManager[1920]: dhcpcd[1979]: eth0: acknowledged 192.168.1.100 from 192.168.1.1 `ÿ'
Sep 16 15:28:26 localhost NetworkManager[1920]: <info> (eth0): DHCPv4 state changed nbi -> preinit
Sep 16 15:28:26 localhost NetworkManager[1920]: NetworkManager[1920]: <info> (eth0): DHCPv4 state changed nbi -> preinit
Sep 16 15:28:26 localhost dhcpcd[1979]: eth0: checking for 192.168.1.100
Sep 16 15:28:26 localhost NetworkManager[1920]: dhcpcd[1979]: eth0: checking for 192.168.1.100
...
Sep 16 15:28:41 localhost ntpd[1971]: no reply received in time, skipping initial time setting

I'm not familiar with ntpd, so I'm not sure why it's not receiving a reply, but there's very little I can do to "fix" whatever you think is wrong here.
Comment by Dave Reisner (falconindy) - Monday, 28 November 2011, 01:32 GMT
Is this still a problem?

Loading...