New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflict with chronyd with CentOS 7 #22
Comments
@brentg71 - Interesting... I am using this on some CentOS 7 servers without an issue, maybe this is in a certain flavor of CentOS? I'm using it with a minimal install. The automated tests are also passing on CentOS 7: https://travis-ci.org/geerlingguy/ansible-role-ntp/jobs/217686882 |
Thanks very much for the response! I will see if I can reproduce the error. Most likely the flavor was a qcow2 image built for OpenStack? Maybe there's something custom configured here - in which case, please disregard everything! More info to follow. |
If you enable "network time" during the CentOS 7 installation chronyd will be used instead of ntpd (since RedHat replaced ntpd on EL7 with chronyd). Would it maybe make sense to introduce a variable to choose your prefered ntp daemon? |
I've created PR #43 which configures chronyd instead of ntpd on RHEL / CentOS 7. |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
chrony is the recommended package in Centos/RHEL 7. |
This issue is no longer marked for closure. |
The reason the role works on a minimal install is that neither chronyd norr NTP are installed. |
Ah, makes sense. I haven't decided yet if I'm going to try to change this role to configure |
See #72 (comment) — this role now defaults to |
Sorry, I'm not too certain if this is a reasonable request or not... anyway, whenever I use this role to set up a CentOS 7 system, ntpd fails to start because, by default, chronyd is enabled (and I would rather still use ntp). Do you have any plans to add functionality that would disable chronyd? Or is this beyond the scope of your role?
The text was updated successfully, but these errors were encountered: