| Summary: | NTP fails to start on boot after service is enabled | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Scott Baker <scott> |
| Component: | ntp | Assignee: | Miroslav Lichvar <mlichvar> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | johannbg, jsynacek, lnykryn, mlichvar, msekleta, muadda, scott, ssahani, s, systemd-maint, zbyszek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-30 08:33:32 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: | |
|
Description
Scott Baker
2016-11-23 22:25:03 UTC
If nothing shows anywhere and stuff doesn't work, that usually suggests that there was a selinux denial. Have you tried setting selinux to permissive? I did some more testing and was able to determine that the problem is *not* selinux related. It looks like the "server" config installs chronyd, which conflicts with NTPd. After I did "systemctl disable chronyd" NTPd starts properly on boot. There should probably be some sort of conflicts section added to NTPd so it disables chronyd when it's installed. The chronyd unit file has "Conflicts=ntpd.service", so they can't be started both at the same time. If you need to start ntpd, you need to either remove the chrony package, or at least disable the chronyd service. This is documented in the sysadmin guide: https://docs.fedoraproject.org/en-US/Fedora/24/html/System_Administrators_Guide/s1-Disabling_chrony.html Note that while chronyd doesn't operate as an NTP server by default, adding a single "allow" line to chrony.conf will make it so. |