about summary refs log tree commit diff
path: root/nixos/tests/systemd-timesyncd.nix
AgeCommit message (Collapse)AuthorFilesLines
2023-11-27nixos/tests/systemd-timesyncd: tmpfiles.rules -> tmpfiles.settingsnikstur1-7/+8
This also fixes some warning systemd-tmpfiles was issuing before.
2023-10-26nixos/tests/systemd-timesyncd: replace activationScript via tmpfilesnikstur1-6/+7
2023-05-12nixos/tests/systemd-timesyncd.nix: get rid of `with lib`Anderson Torres1-2/+2
2019-12-15nixosTests.systemd-timesyncd: Port tests to pythonChristian Kampka1-12/+12
2019-06-03nixos/systemd: migrate systemd-timesync state when requiredAndreas Rammhold1-0/+52
Somewhen between systemd v239 and v242 upstream decided to no longer run a few system services with `DyanmicUser=1` but failed to provide a migration path for all the state those services left behind. For the case of systemd-timesync the state has to be moved from /var/lib/private/systemd/timesync to /var/lib/systemd/timesync if /var/lib/systemd/timesync is currently a symlink. We only do this if the stateVersion is still below 19.09 to avoid starting to have an ever growing activation script for (then) ancient systemd migrations that are no longer required. See https://github.com/systemd/systemd/issues/12131 for details about the missing migration path and related discussion.