Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/bugfixes/2026-10-14-stackit-mask-timesyncd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- STACKIT: Masked `systemd-timesyncd.service` in the OEM sysext. It conflicts with `chronyd.service`, and which of the two ended up running after boot depended on timing. ([scripts#4318](https://github.com/flatcar/scripts/pull/4318))
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

set -euo pipefail

rootfs="${1}"

# chronyd Conflicts= with timesyncd; with both enabled, which one survives the
# boot transaction is a race. Mask timesyncd so chronyd always wins. This can't
# be done from the ebuild: the base image already owns the unit file and
# Portage's collision protection refuses to overwrite it.
ln -sf /dev/null "${rootfs}/usr/lib/systemd/system/systemd-timesyncd.service"
Comment thread
robinschneider marked this conversation as resolved.