Bug 821820

Summary: ntpd can't be fully disabled because it does systemd wrong
Product: [Fedora] Fedora Reporter: Jonathan Kamens <h1k6zn2m>
Component: ntpAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17CC: mal, mlichvar, mschmidt, 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-10-23 15:39:23 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 Jonathan Kamens 2012-05-15 14:42:39 UTC
This link is included in the ntp RPM:

lrwxrwxrwx 1 root root 15 Apr 29 22:10 /lib/systemd/system/systemd-timedated-ntp.target.wants/ntpd.service -> ../ntpd.service

It shouldn't be. Rather, there should be the line in /lib/systemd/system/ntpd.service in the [Install] section:

WantedBy=systemd-timedated-ntp.target

This makes it impossible to fully disable ntpd.

See also bug 821813 for a similar problem in chrony.

Comment 1 Michal Schmidt 2012-05-15 15:39:48 UTC
Let's see if the discussion in bug 821813 results in any alternative solutions.

Comment 2 Miroslav Lichvar 2012-08-07 11:31:10 UTC
*** Bug 832787 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Lichvar 2012-10-23 15:39:23 UTC
This seems to be addressed in systemd.

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