-
Notifications
You must be signed in to change notification settings - Fork 37
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
Authentication error with PAM: Error writing /proc/self/loginuid #166
Comments
This is a somewhat difficult issue as the behaviour expected by Debian based platforms and other Linux distributions is different. In Debian PAM will lower the permissions to the given user. In most other distributions, the program needs to do that itself. It might be needed to make some distinction between the two in the configuration as I would like to keep the same build for both. |
I'm seeing this error when my window manager closes on Arch Linux x86_65 6.4.7 zen kernel fresh install. It causes the service shuts down and falls back to the regular login.
systemctl output
|
I am investigating this issue, but it is a rather tough one. In theory, |
I think this is the same issue plaguing lemurs on openSUSE. here's my logs if this helps (they do seem quite similar to the others):
|
Hi, I have workaround that works for me on Debian 12 Bookworm.,
I worked around this by just copying
Note that |
just wanted to add my own experience briefly, for anyone who ends up here specifically after installing a Linux kernel on Arch other than mainline/lts: i saw this error in the logs of lemurs and thought it was why i couldnt login after switching to Linux Zen, but it was a red herring. it was already optional in all my pam.d files (except root login, irrelevant here) silly me forgot that if you're using a non mainline/lts kernel, you have to install i do wonder if i missed something to point me in this direction in the logs. would have been helpful to see any indication of this in lemurs' logs, what clued me in was |
Hi, i have a very similar error
but anon user uid is not 1000, i fact there is no user with uid 1000 and fails to open |
@Talleyrand-34 on fedora the solution for me way fixed by making an selinux policy for it semodule -i lemurs_policy.pp |
Introduction
I use xsession to launch $USER/.xsession which run a systemd target whith bindings to i3 and other services.
It works with lightdm and slim, but with Lemers there is an Authentication error with PAM.
Related to:
System
OS: Debian GNU/Linux trixie/sid x86_64
Kernel: 6.3.0-1-amd64
Shell: bash 5.2.15
WM: i3-wm
init: systemd 252 (252.11-1)
rustc: 1.71.0-nightly (9d871b061 2023-05-21)
cargo: 1.71.0-nightly (09276c703 2023-05-16)
Lemurs: main build d8fe499
Logs output
Leads
A little search for the same issue on other projects links to kernel audit options, forking and user permissions.
I tried to modify the pam config file (/etc/pam.d/lemurs), both of them give the same result:
#%PAM-1.0 @include login
The text was updated successfully, but these errors were encountered: