Bug 832787 - ntp does not start on boot
Summary: ntp does not start on boot
Keywords:
Status: CLOSED DUPLICATE of bug 821820
Alias: None
Product: Fedora
Classification: Fedora
Component: ntp
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-17 11:49 UTC by Need Real Name
Modified: 2012-08-07 11:31 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-07 11:31:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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