Skip to content

Conversation

@s4heid
Copy link
Contributor

@s4heid s4heid commented Nov 20, 2025

Update chrony configuration file lookup to use glob pattern expansion instead of checking individual paths. This ensures all chrony config files are properly discovered across different distributions that place configuration files in various subdirectories like /etc/chrony.d/ and /etc/chrony/conf.d/.

Update chrony configuration file lookup to use glob pattern expansion
instead of checking individual paths. This ensures all chrony config
files are properly discovered across different distributions that place
configuration files in various subdirectories like /etc/chrony.d/ and
/etc/chrony/conf.d/.
@s4heid s4heid requested a review from LiliDeng as a code owner November 20, 2025 15:49
sudo=True,
shell=True,
no_error_log=True,
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In current way, there are many outputs for not existing paths, make the output confusing.
You can use find tool to get all the .conf file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a great suggestion - I wasn't aware of the find tool. I will change the implementation.

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.

2 participants