git.iko.soy/typeable/nixpkgs
on master help sign in
display-manager: Require systemd-udev-settle.service

It was already ordered after systemd-udev-settle.service, but that doesn't do anything if no other units require systemd-udev-settle.service. This was causing random failures during X server startup, e.g. machine# [ 12.691372] display-manager[607]: (EE) open /dev/dri/card0: No such file or directory http://hydra.nixos.org/build/41062823

commite6bcff4d53ed3d2b4c65bb55368d69c6488530d2 authorEelco Dolstra <edolstra@gmail.com> dateThu 20 Oct 2016, 17:47 (10 years ago) parent87e8ff4
1 file changed+1
nixos/modules/services/x11/xserver.nix+1
nixos/modules/services/x11/xserver.nix+1
@@ -515,6 +515,7 @@ in
515515 { description = "X11 Server";
516516
517517 after = [ "systemd-udev-settle.service" "local-fs.target" "acpid.service" "systemd-logind.service" ];
518+ wants = [ "systemd-udev-settle.service" ];
518519
519520 restartIfChanged = false;
520521