Bug 806387 - ntpd does not start at boot
Summary: ntpd does not start at boot
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: ntp
Version: 16
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-23 15:39 UTC by Zdenek Wagner
Modified: 2012-03-23 16:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-23 16:56:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Zdenek Wagner 2012-03-23 15:39:36 UTC
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:
always

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 15:47:01 UTC
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 16:49:01 UTC
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.