-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/lightdm: do not lock up with plymouth #71061
Conversation
I wonder how fedora doesn't have this issue. |
At a quick glance it looks like we aren't patching the path to plymouth: |
Hmm, @hedning I do think it runs |
Right, plymouth is in systemPackages. Then I'm really not sure, but it sure looks like it doesn't kill it for some reason 😕 |
This probably never happens because |
It's weird, shouldn't the display manager service have |
7f412e6
to
632469f
Compare
Having `display-manager` conflict with plymouth causes this lock up: - `plymouth-quit-wait` starts up, waiting for plymouth-quit to run - `lightdm` starts up - `plymouth-quit` can't start, it conflicts with lightdm - `plymouth-quit-wait` keeps waiting on plymouth-quit to kill plymouthd The idea is having LightDM control when plymouth quits, but communication with plymouth was broken: NixOS#71064 Unfortunately having the conflict breaks switching to configurations with plymouth enabled. So we still need to remove the conflict. fixes NixOS#71034
632469f
to
1cf6000
Compare
Right, did a quick test of #71064 to see if lightdm had the same switch configuration issue as gdm, which was the case, so we really need to remove the conflict. |
@hedning I actually also tested using tty1 with lightdm and there wasn't issues. So perhaps there's something up in GDM's source or the service config. |
@worldofpeace hmm, could have something to do with the lightdm greeter sticking around while gdm's greeter gets reaped while not in use? Just spitballing though, I mean the display-manager service sticks around in both cases so... |
Motivation for this change
Having
display-manager
conflict with plymouth causes this lock up:plymouth-quit-wait
starts up, waiting for plymouth-quit to runlightdm
starts upplymouth-quit
can't start, it conflicts with lightdmplymouth-quit-wait
keeps waiting on plymouth-quit to kill plymouthdThis config was borrowed from GDM, but doesn't work with LightDM as GDM fixes
the lock by killing plymouth itself.
fixes #71034
Things done
Confirmed in a VM that
lightdm
+plymouth
works.sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @