Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issue with SDDM login and pam_systemd.so
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Tatsh
Apprentice
Apprentice


Joined: 22 Jul 2007
Posts: 175

PostPosted: Tue Oct 02, 2018 7:43 pm    Post subject: Issue with SDDM login and pam_systemd.so Reply with quote

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
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 6863
Location: almost Mile High in the USA

PostPosted: Tue Oct 02, 2018 11:45 pm    Post subject: Reply with quote

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@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Tatsh
Apprentice
Apprentice


Joined: 22 Jul 2007
Posts: 175

PostPosted: Wed Oct 03, 2018 1:04 am    Post subject: Reply with quote

Thanks for the response. Rebuilding pam fixed my issue.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum