Bug 806387 - ntpd does not start at boot
ntpd does not start at boot
Product: Fedora
Classification: Fedora
Component: ntp (Show other bugs)
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Miroslav Lichvar
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-03-23 11:39 EDT by Zdenek Wagner
Modified: 2012-03-23 12:56 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-03-23 12:56:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Zdenek Wagner 2012-03-23 11:39:36 EDT
Description of problem:
ntpd does not start at boot although I asked time sychronization in anaconda and since ntpstat reported timeout, I issued the following command as given in the documentation:

systemctl enable ntpd.service

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Issue the following command after boot:
systemctl status ntpd.service
Actual results:
ntpd.service - Network Time Service
          Loaded: loaded (/lib/systemd/system/ntpd.service; enabled)
          Active: inactive (dead)
          CGroup: name=systemd:/system/ntpd.service

Expected results:
ntpd.service - Network Time Service
          Loaded: loaded (/lib/systemd/system/ntpd.service; enabled)
          Active: active (running) since Fri, 23 Mar 2012 16:01:01 +0100; 3min 37s ago
        Main PID: 1668 (ntpd)
          CGroup: name=systemd:/system/ntpd.service
                  └ 1668 /usr/sbin/ntpd -n -u ntp:ntp -g

Additional info:
As a workaround I check its status in cron.hourly and if not running I start it by

systemctl start ntpd.service
Comment 1 Miroslav Lichvar 2012-03-23 11:47:01 EDT
Any chance the chrony service is also enabled? It's the default NTP service in Fedora 16 and it conflicts with ntpd, so only one can be enabled. To disable chrony:

systemctl disable chronyd.service
Comment 2 Zdenek Wagner 2012-03-23 12:49:01 EDT
Thanks for the comment. Chrony is running. Unfortunately there is no deployment guide for Fedora 16 and Google finds information on starting ntpd in the deployment guide of Fedora 15. I missed the note in the Release notes. I have read the chrony manual and will use it instead of ntpd.

Note You need to log in before you can comment on or make changes to this bug.