Red Hat Bugzilla – Bug 1466947
ntpdate.service should start after network-online.target
Last modified: 2017-08-09 04:17:17 EDT
Description of problem:
The ntpdate service starts before the network is online resulting in spurious messages like:
Jun 26 15:36:12 aspen ntpdate: Can't find host ntp.cora.nwra.com: Name or service not known (-2)
It should have After=network-online.target instead of network.target, see https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
/usr/libexec/ntpdate-wrapper keeps trying until the network is up, so the service ultimately succeeds, but this just seems like a hack around not having the proper target.
Version-Release number of selected component (if applicable):
Looks like this was fixed in Fedora a while back (bug #1116474), would be nice to get this into RHEL7.