Skip to content

Commit

Permalink
nixos/systemd-udev-settle: don't restart on upgrades
Browse files Browse the repository at this point in the history
The idea is that we only need this target during boot,
however there is no point on restarting it on every upgrade.

This hopefully fixes NixOS#21954
  • Loading branch information
Mic92 committed Jan 5, 2019
1 parent e36c93b commit 0a2c8cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/system/boot/systemd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,7 @@ in
systemd.services.systemd-remount-fs.restartIfChanged = false;
systemd.services.systemd-update-utmp.restartIfChanged = false;
systemd.services.systemd-user-sessions.restartIfChanged = false; # Restart kills all active sessions.
systemd.services.systemd-udev-settle.restartIfChanged = false; # Causes long delays in nixos-rebuild
# Restarting systemd-logind breaks X11
# - upstream commit: https://cgit.freedesktop.org/xorg/xserver/commit/?id=dc48bd653c7e101
# - systemd announcement: https://github.com/systemd/systemd/blob/22043e4317ecd2bc7834b48a6d364de76bb26d91/NEWS#L103-L112
Expand Down

0 comments on commit 0a2c8cc

Please sign in to comment.