Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upsystemd-timesync fails to update /var/lib/systemd/timesync/clock #11329
Comments
|
We have dropped |
|
Ok with me. The NEWS file didn't specifically mention this issue so I thought it would be worth to raise it upstream. Even if we don't address this in systemd itself, I thought it would be worthwile to notify other distro maintainers this way. |
|
It may not be enough, but I've tried to announce that: aa2437e. |
Not sure, but by telegram? cc @poettering. |
Follow-up for aa2437e. Closes systemd#11329.
Add job to fix the timesyncd update as discussed at systemd/systemd#11329. A new job is required as upstream decided to let distros fix the update issue via post install script, which is not available in ostree based systems. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Add job to fix the timesyncd update as discussed at systemd/systemd#11329. A new job is required as upstream decided to let distros fix the update issue via post install script, which is not available in ostree based systems. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Add job to fix the timesyncd update as discussed at systemd/systemd#11329. A new job is required as upstream decided to let distros fix the update issue via post install script, which is not available in ostree based systems. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Add job to fix the timesyncd update as discussed at systemd/systemd#11329. A new job is required as upstream decided to let distros fix the update issue via post install script, which is not available in ostree based systems. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Add job to fix the timesyncd update as discussed at systemd/systemd#11329. A new job is required as upstream decided to let distros fix the update issue via post install script, which is not available in ostree based systems. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Add job to fix the timesyncd update as discussed at systemd/systemd#11329. A new job is required as upstream decided to let distros fix the update issue via post install script, which is not available in ostree based systems. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Add job to fix the timesyncd update as discussed at systemd/systemd#11329. A new job is required as upstream decided to let distros fix the update issue via post install script, which is not available in ostree based systems. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
systemd version the issue has been seen with
v240
Used distribution
Debian sid.
Filed originally as downstream bug report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918190
After the update to v240, where
DynamicUser=truehas been turned off for systemd-timesyncd.service, the daemon fails updating the stamp file/var/lib/private/systemd/timesync/clockSo the state directory is writable by the systemd-timesync user, but not accessible as
/var/lib/privateis0700 root:root.Adding
Environment=SYSTEMD_LOG_LEVEL=debugto systemd-timesyncd.service yieldsI can work around that in the Debian package by removing the
/var/lib/systemd/timesyncsymlink in our maintainer scripts and let it be recreated as real directory.That said, this issue will possibly affect other distros as well, so I wanted to raise it upstream. Maybe there is a better solution.