nixpkgs/nixos/doc
Andreas Rammhold 024a383d64
nixos/systemd: migrate systemd-timesync state when required
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.
2019-06-03 15:05:19 +02:00
..
manual nixos/systemd: migrate systemd-timesync state when required 2019-06-03 15:05:19 +02:00
varlistentry-fixer.rb doc: Adds xml fixing script. (see previous and next commits) 2018-05-31 21:02:15 -04:00
xmlformat.conf doc: Adds rule to xmlformat to help keep spacing right. 2018-05-31 21:02:15 -04:00