Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
e6bcff4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😞
This reminds me that we should avoid
udev-settle
during bootup on systems that have neither lvm nor luks.e6bcff4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, if you have a better solution that would be awesome.
e6bcff4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not even started investigating, but I think I remember we always include lvm and luks (and both require udev-settle which in turn slows down bootup significantly)..
This probably warrants a change to the way we build our init1, right?
Concerning the actual change to xserver module in this commit: I think it's not a big deal at the moment. I hope it won't be needed for GDM / other DM on wayland but our support for that is still at the beginning.