nixos/plymouth: do not order `plymouth-quit` after `display-manager`
GDM now specifies ordering between `plymouth-quit` and `display-manager`:
9be5321097c16
This causes an ordering cycle between GDM and plymouth-quit which can result in
systemd breaking GDM:
```
plymouth-quit.service: Job display-manager.service/start deleted to break
ordering cycle starting with plymouth-quit.service/start
```
Not sure how often this triggers, as I've run my system with plymouth and
9be5321097c16 without any issues. But I did catch a VM doing this.
NOTE: I also tried to remove the ordering in GDM to see if plymouth managed to
live longer, but it didn't seem to help. So I opted to stick as close to
upstream (upstream GDM specifies ordering, but plymouth does not).
commit5924bab20b8bc5470b8e22b02c6655183150f86b
authorTor Hedin Brønner <torhedinbronner@gmail.com>
dateMon 14 Oct 2019, 11:36 (7 years ago)
parent1f7b1cf
nixos/modules/system/boot/plymouth.nix+1−4
@@ -88,10 +88,7 @@ in
8888 systemd.services.plymouth-kexec.wantedBy = [ "kexec.target" ];
8989 systemd.services.plymouth-halt.wantedBy = [ "halt.target" ];
9090 systemd.services.plymouth-quit-wait.wantedBy = [ "multi-user.target" ];
91− systemd.services.plymouth-quit = {
92− wantedBy = [ "multi-user.target" ];
93− after = [ "display-manager.service" ];
94− };
91+ systemd.services.plymouth-quit.wantedBy = [ "multi-user.target" ];
9592 systemd.services.plymouth-poweroff.wantedBy = [ "poweroff.target" ];
9693 systemd.services.plymouth-reboot.wantedBy = [ "reboot.target" ];
9794 systemd.services.plymouth-read-write.wantedBy = [ "sysinit.target" ];