-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
screen unlocking broken by recent pam changes (in most lockers) #157112
Comments
I also experience this bug, running Sway with Swaylock. |
Same problem with |
I found this issue ticket which helped fix it for me. Since I install swaylock (and sway) through home-manager, I just went with the |
Very sorry for causing this issue. #156974 seems to be working as a fix, at the cost of doing a mass rebuild. If anyone here wants to try and see if it fixes their issue, please let us know the results. |
|
Can confirm this affects |
Can confirm this affects |
seems pretty close (and also, I saw this was patched already) |
In the process of figuring out what happened. Turns out it's a breaking change in pam management in nixos unstable. Tracking issue: NixOS/nixpkgs#157112
KDE X11 session also suffers from this issue. I think we can remove |
Is there a NixOS test that could’ve caught this? |
I don't think there is. Also, note that most of the tests that we have are not channel blockers (the |
Confirmed, KDE X11 |
I think we have enough confirmation, we're waiting on #157215 getting merged |
Meanwhile, one can use an overlay and rebuild only the needed packages:
final: prev: let
pam = prev.pam.overrideAttrs (attrs: {
patches = [ ./suid-wrapper-path.patch ];
});
in {
plasma5Packages = prev.plasma5Packages.overrideScope' (
finalx: prevx: {
plasma5 = prevx.plasma5.overrideScope' (
finaly: prevy: {
kscreenlocker = prevy.kscreenlocker.override { inherit pam; };
}
);
}
);
} |
Also |
Tyvm for fixing this issue, works for me. :-) |
My issue has only worsened, however... I'll debug it closer later when I get a chance, but I can no longer unlock I now have to log into another TTY and kill swaylock from there. Would you prefere I don't continue this in this issue? |
I use swaylock as well and with this fix it works normally again |
After much testing I still have the same issue, both with and without the pam fix I referenced in my first post.
I suppose I'll make a new issue since others (@jvanbruegge) says this works for them. |
@x10an14: what do you mean by "this fix"? The best way now should be simply to update, without any explicit fixes. (typical version in my last post) |
I've done that, to no avail. Currently at commit
Now I no longer can, ref: #158025 |
Thanks to @Synthetica9 there is one now: #158027 I've verified that it does at least catch this particular regression: 554d2d8 (a good revision): Test passes. efeefb2 (a bad revision): Test fails (timeout):
|
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/i3lock-on-nixos-via-home-manager-authentication-failure/17540/3 |
Describe the bug
Unlocking plasma wayland sessions fails:
Logging in with the same password works perfectly fine.
Steps To Reproduce
Expected behavior
Unlocking works as normal.
Additional context
Looks like 0715ef5 is to blame.
Notify maintainers
@NixOS/qt-kde and @winterqt
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: