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

Avoid waiting for time synchronization too early #2594

Merged
merged 1 commit into from Jun 13, 2023

Conversation

agners
Copy link
Member

@agners agners commented Jun 13, 2023

In case a system takes a bit longer to boot (e.g. due to SWAP initialization on first boot, especially on a system with lots of memory and not very fast strage, e.g. an ODROID-M1 using an SD card) we might time-out waiting for time synchronization before the time synchronization service even got started. By ordering the systemd-time-wait-sync.service after the network is online, the timeout of this service should be started much later. With that the systemd-time-wait-sync.service shouldn't timeout any longer.

In case a system takes a bit longer to boot (e.g. due to SWAP
initialization on first boot, especially on a system with lots of memory
and not very fast strage, e.g. an ODROID-M1 using an SD card) we might
time-out waiting for time synchronization before the time
synchronization service even got started. By ordering the
systemd-time-wait-sync.service after the network is online, the timeout
of this service should be started much later. With that the
systemd-time-wait-sync.service shouldn't timeout any longer.
@agners agners merged commit 276f531 into home-assistant:dev Jun 13, 2023
14 checks passed
agners added a commit that referenced this pull request Jun 15, 2023
In case a system takes a bit longer to boot (e.g. due to SWAP
initialization on first boot, especially on a system with lots of memory
and not very fast strage, e.g. an ODROID-M1 using an SD card) we might
time-out waiting for time synchronization before the time
synchronization service even got started. By ordering the
systemd-time-wait-sync.service after the network is online, the timeout
of this service should be started much later. With that the
systemd-time-wait-sync.service shouldn't timeout any longer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant