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

Timesyncd empty FallbackNTP does not clear the list #181

Closed
Itxaka opened this issue Oct 18, 2024 · 1 comment · Fixed by #182
Closed

Timesyncd empty FallbackNTP does not clear the list #181

Itxaka opened this issue Oct 18, 2024 · 1 comment · Fixed by #182

Comments

@Itxaka
Copy link
Collaborator

Itxaka commented Oct 18, 2024

According to docs:

When the empty string is assigned, the list of NTP servers is reset, and all prior assignments will have no effect. If this option is not given, a compiled-in list of NTP servers is used.

so int he case of not setting it thats ok, but setting it to an empty string should make it clear the fallback list.

we got a report that this does not work and keeps the existing fallback server:

Also, the FallbackNTP: "" option does not work to clear the setting, it stays at [ntp.ubuntu.com](http://ntp.ubuntu.com/). The setting can however be used to set a different fallback server, just not an empty one.
@Itxaka Itxaka linked a pull request Oct 18, 2024 that will close this issue
@Itxaka
Copy link
Collaborator Author

Itxaka commented Oct 18, 2024

Added a patch that improves it somehow by setting empty string for real for empty strings instead of omitting the value.

also moves the config to an override

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 a pull request may close this issue.

1 participant