Bug 846077 - ntpd service does not start
Summary: ntpd service does not start
Alias: None
Product: Fedora
Classification: Fedora
Component: ntp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 846303
TreeView+ depends on / blocked
Reported: 2012-08-06 18:14 UTC by Martin Kosek
Modified: 2012-08-07 20:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 846303 (view as bug list)
Last Closed: 2012-08-07 20:07:45 UTC
Type: Bug

Attachments (Terms of Use)
Removes dependency on system-timedated-ntp.target (268 bytes, patch)
2012-08-07 15:14 UTC, Michal Sekletar
no flags Details | Diff

Description Martin Kosek 2012-08-06 18:14:29 UTC
Description of problem:
ntpd service always fails to start:

# systemctl start ntpd.service
Failed to issue method call: Unit systemd-timedated-ntp.target failed to load: No such file or directory. See system logs and 'systemctl status systemd-timedated-ntp.target' for details.

It seems that the systemd-timedated-ntp.target file is missing:
# ls /usr/lib/systemd/system/systemd-timedated-ntp.target
ls: cannot access /usr/lib/systemd/system/systemd-timedated-ntp.target: No such file or directory

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

How reproducible:

Steps to Reproduce:
1. Install ntp package
2. Try to start ntpd service
Actual results:
Commands fails due to missing target file

Expected results:
Command does not fail

Comment 1 Martin Kosek 2012-08-07 08:59:12 UTC
Relevant item from systemd NEWS:

        * timedated will now read known NTP implementation unit names
          from /usr/lib/systemd/ntp-units.d/*.list,
          systemd-timedated-ntp.target has been removed.

Comment 2 David Both 2012-08-07 13:46:09 UTC
I have this problem with Fedora 17. Manual start <systemctl start ntpd.service> does start NTPD but it never starts on reboot.

Installed Packages
ntp.i686 4.2.6p5-2.fc17  @fedora 
systemd.i686 44-17.fc17  @updates

Comment 3 Miroslav Lichvar 2012-08-07 14:52:55 UTC
The new hooking system seems to be described at:


For F17, the relavant bug is bug #821813.

Comment 4 Michal Sekletar 2012-08-07 15:14:45 UTC
Created attachment 602787 [details]
Removes dependency on system-timedated-ntp.target

Patch removes dependency on non-existing target. For more information on systemd-timedated please see[1].

[1] http://www.freedesktop.org/wiki/Software/systemd/timedated

Comment 5 Miroslav Lichvar 2012-08-07 20:07:45 UTC
Should be fixed in ntp-4.2.6p5-4.fc18. Thanks.

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