Bug 832787

Summary: ntp does not start on boot
Product: [Fedora] Fedora Reporter: Need Real Name <mal>
Component: ntpAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: mlichvar, pertusus
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 11:31:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2012-06-17 11:49:04 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Need Real Name 2012-06-17 11:54:00 UTC
ntp does not start on boot

ntpd.service is enabled but does not start on boot.

---------------------
# systemctl status ntpd.service
ntpd.service - Network Time Service
          Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
          Active: inactive (dead)
          CGroup: name=systemd:/system/ntpd.service
-----------------------------
Same thing restart after boot:
 systemctl restart ntpd.service
[root@mn3v ~]# systemctl status ntpd.service
ntpd.service - Network Time Service
          Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
          Active: active (running) since Sun, 17 Jun 2012 07:50:35 -0400; 2s ago
         Process: 1230 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, status=0/SUCCESS)
        Main PID: 1233 (ntpd)
          CGroup: name=systemd:/system/ntpd.service
                  └ 1233 /usr/sbin/ntpd -u ntp:ntp -g

Jun 17 07:50:35 mn3v ntpd[1233]: Listen normally on 3 p9p1 192.168.1.1 UDP 123
------------
systemd diag from dmesg
#dmesg |grep ntp

[   20.442332] systemd[1]: Looking at job ntpd.service/stop conflicted_by=yes
[   20.442336] systemd[1]: Looking at job ntpd.service/start conflicted_by=no
[   20.442341] systemd[1]: Fixing conflicting jobs by deleting job ntpd.service/start
[   20.442770] systemd[1]: Installed new job systemd-timedated-ntp.target/start as 85
[   32.657793] systemd[1]: systemd-timedated-ntp.target changed dead -> active
[   32.657800] systemd[1]: Job systemd-timedated-ntp.target/start finished, result=done

 dmesg |grep timedated
[   20.442770] systemd[1]: Installed new job systemd-timedated-ntp.target/start as 85
[   32.657793] systemd[1]: systemd-timedated-ntp.target changed dead -> active
[   32.657800] systemd[1]: Job systemd-timedated-ntp.target/start finished, result=done

Comment 2 Miroslav Lichvar 2012-08-07 11:31:10 UTC

*** This bug has been marked as a duplicate of bug 821820 ***