Skip to content
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

overlay.d/20platform-chrony: additional skip of platform chrony config #2333

Merged
merged 1 commit into from Mar 28, 2023

Conversation

dustymabe
Copy link
Member

@dustymabe dustymabe commented Mar 28, 2023

Typically we'd think the user would only pass in optional arguments to chrony via OPTIONS in /etc/sysconfig/chronyd but we found a case where a user was providing actual config directives. Let's also exit early out of coreos-platform-chrony-config if /etc/sysconfig/chronyd has been touched. If either /etc/chrony.conf or /etc/sysconfig/chronyd has been touched we just consider the user to own the config and not do anything special based on the platform.

Fixes coreos/fedora-coreos-tracker#1449

Typically we'd think the user would only pass in optional arguments
to chrony via OPTIONS in /etc/sysconfig/chronyd but we found a case
where a user was providing actual config directives. Let's also
exit early out of coreos-platform-chrony-config if /etc/sysconfig/chronyd
has been touched. If either /etc/chrony.conf or /etc/sysconfig/chronyd
has been touched we just consider the user to own the config and not
do anything special based on the platform.

Fixes coreos/fedora-coreos-tracker#1449
@jlebon jlebon enabled auto-merge (rebase) March 28, 2023 20:26
@jlebon jlebon merged commit 5e61806 into coreos:testing-devel Mar 28, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Platform chrony configuration intolerant of user modified config
2 participants