Skip to content

docs(MAINTAINING): note timesyncd vs networkd/NetworkManager conflict - #4

Merged
fabiiw05 merged 1 commit into
mainfrom
docs/timesyncd-networkd-conflict
Jul 12, 2026
Merged

docs(MAINTAINING): note timesyncd vs networkd/NetworkManager conflict#4
fabiiw05 merged 1 commit into
mainfrom
docs/timesyncd-networkd-conflict

Conversation

@fabiiw05

Copy link
Copy Markdown
Owner

Summary

On the running uConsole, systemd-timesyncd was active but never synced (PacketCount=0, empty ServerName), leaving the clock badly off — even though ping / manual UDP 123 queries worked.

Root cause is two-fold and both layers originate from what this image ships:

  1. No RTC on the uConsole (RTC time: n/a) → the clock drifts on every boot, so network sync is effectively mandatory.
  2. The base Arch Linux ARM (rpi) tarball ships systemd-networkd enabled, while scripts/customize.sh additionally enables NetworkManager → both run at once. The real link (wlan0) is on NetworkManager, but networkd claims the unplugged wired end0, stays configuring, and writes ONLINE_STATE=offline into /run/systemd/netif/state. timesyncd reads that networkd-provided state and never starts syncing.

Changes

  • Add a ### Time sync … networkd / NetworkManager conflict subsection under Arch-specific operations in both MAINTAINING.md and MAINTAINING.ja.md (EN/JA parity), documenting:
    • the symptom and root cause,
    • the on-device permanent fix (disable + mask networkd, drop stale netif state, pin JP NTP servers),
    • a TODO to fix it at image-build time in scripts/customize.sh.

Docs-only; no build behavior changes in this PR.

🤖 Generated with Claude Code

The base Arch Linux ARM (rpi) tarball ships systemd-networkd enabled while
customize.sh also enables NetworkManager, so both run at once. networkd
claims the unplugged wired end0 and writes ONLINE_STATE=offline, which makes
systemd-timesyncd never send an NTP packet. Combined with the uConsole having
no RTC, the clock ends up badly off after boot.

Document the symptom, root cause, the on-device permanent fix (disable/mask
networkd, drop stale netif state, pin JP NTP servers), and a TODO to fix it
at image-build time in customize.sh. Added to both EN and JA docs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@fabiiw05
fabiiw05 merged commit d715011 into main Jul 12, 2026
2 checks passed
@fabiiw05
fabiiw05 deleted the docs/timesyncd-networkd-conflict branch July 12, 2026 05:28
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.

1 participant