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

chrony: rtcsync as a default is a bad idea (disables RTC drift rate tracking) #4571

Open
Artoria2e5 opened this issue Jun 8, 2023 · 1 comment

Comments

@Artoria2e5
Copy link
Member

Artoria2e5 commented Jun 8, 2023

Bug description

We currently have

echo -e "\n# Enable kernel RTC sync\nrtcsync" >> "$PKGDIR"/etc/chrony.conf

This degrades precision because this turns off RTC drift rate tracking.

Steps to reproduce

  • run chronyd somehow
  • run chronyc
  • type "rtcdata"

Update channel(s)

stable

Package and version

Same as last time

Recommended fix:

Instead of rtcsync, write rtcfile /var/lib/chrony/rtc\nrtcautotrim 1.

@Artoria2e5
Copy link
Member Author

Huuuuhhhh you know, there's actually a lot of defaults that aren't making sense right now. Like

  • we don't even have a server to use
  • adjtime somehow has no compiled-in default
  • this rtc stuff
  • hwtimestamp not on by default

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

No branches or pull requests

1 participant