View previous topic :: View next topic |
Author |
Message |
Tatsh Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 22 Jul 2007 Posts: 187
|
Posted: Tue Oct 02, 2018 7:43 pm Post subject: Issue with SDDM login and pam_systemd.so |
|
|
I got this issue randomly today and I am not sure why. Maybe it was part of an upgrade and it was after a reboot but still I've never seen this issue before.
Code: | Oct 02 15:32:25 limelight systemd[15704]: PAM unable to dlopen(/usr/lib64/security/pam_systemd.so): /usr/lib64/security/pam_systemd.so: cannot open shared object file: No such file or directory
Oct 02 15:32:25 limelight systemd[15704]: PAM adding faulty module: /usr/lib64/security/pam_systemd.so |
One of the 'solutions' is here: https://forums.gentoo.org/viewtopic-t-1020970-start-0.html
That solution just disables the module. If you use logind then this isn't an acceptable solution. Instead I had to edit files /etc/pam.d/ that mentioned pam_systemd.so and replace that with the full path. As soon as I did that, I re-logged in and everything was back to normal. I am not worried about the path changing since systemd things tend to live in /lib/ but I am wondering about the other modules. Are the others in /lib/security going to fail to load too?
Does anyone know why SDDM even after rebuilding and fully restarting won't look in /lib64/security, instead only in /usr/lib64/security? I feel like I should not have to put full paths in /etc/pam.d/ files without good reason. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9890 Location: almost Mile High in the USA
|
Posted: Tue Oct 02, 2018 11:45 pm Post subject: |
|
|
That is odd... Yeah you shouldn't have to muck with paths in pam configuration, it should look in that one directory.
/lib -> /lib64 on my machine, and /lib64/security/* are the pam modules. I don't have a /usr/lib64/security ...
It seems that systemd created a pam module /lib64/security/pam_systemd.so on my system -- did you try rebuilding systemd (and pam) since it appears that it's systemd that's complaining? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tatsh Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 22 Jul 2007 Posts: 187
|
Posted: Wed Oct 03, 2018 1:04 am Post subject: |
|
|
Thanks for the response. Rebuilding pam fixed my issue. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|