Created attachment 372624 [details] emerge --info Hello, (Bug with same behavior https://bugs.gentoo.org/show_bug.cgi?id=504350) When using x11-misc/lightdm, 2 messages are displayed in /var/log/auth.log, log about auth and authpriv, about lightdm and pam_systemd: * lightdm: PAM unable to dlopen(/lib64/security/pam_systemd.so): /lib64/security/pam_systemd.so: cannot open shared object file: No such file or directory * lightdm: PAM adding faulty module: /lib64/security/pam_systemd.so About x11-misc/lightdm: Installed versions: 1.8.5^t(03:40:01 PM 03/10/2014)(gtk introspection -kde -qt4 -razor) In fact, those message are writing twice every time, because in /etc/pam.d/ directory, there is two files with “session optional pam_systemd.so”, /etc/pam.d/lightdm and /etc/pam.d/lightdm-greeter. Reproducible: Always Steps to Reproduce: 1. Install x11-misc/lightdm without systemd. 2. Watch logs. Actual Results: Logging those message, for no good reasons (I don't want systemd on my computer). Currently, I just put a '#' for commenting those lines, but I don't know if it will break something later.
(In reply to Thibaud "thican" CANALE from comment #0) > Currently, I just put a '#' for commenting those lines, but I don't know if > it will break something later. Thibaud, Did you manage to get rid of this messages? I commented systemd lines in /etc/pam.d/lightdm and /etc/pam.d/lightdm-greeter but this doesn't help.
(In reply to Sasha Medvedev from comment #1) > (In reply to Thibaud "thican" CANALE from comment #0) >> Currently, I just put a '#' for commenting those lines, but I don't know if >> it will break something later. > > Thibaud, Did you manage to get rid of this messages? I commented systemd > lines in /etc/pam.d/lightdm and /etc/pam.d/lightdm-greeter but this doesn't > help. Yes I did, just by commenting those lines, nothing more, I thing. Sorry, I can't help you more, maybe try this to seek other same lines: grep -RFe 'pam_systemd.so' /etc/pam.d/ Have a good day.
lightdm's pam files are broken. it needs to put a '-' at the start of the systemd module lines.
Hello, (In reply to SpanKY from comment #3) > lightdm's pam files are broken. it needs to put a '-' at the start of the > systemd module lines. I think this bug may be considered obsolete. I am currently using version x11-misc/lightdm-1.13.2, and in the pam files, we have this (lightdm & lightdm-greeter): ----- BEGIN ----- # File autogenerated by pamd_mimic in pam eclass auth include system-local-login account include system-local-login password include system-local-login session include system-local-login ---- END ---- There is no more 'pam_systemd.so' module lines on my system. Maybe in the current stable version 1.10.3, this bug may still occur. Otherwise, I think we can close this ticket. Thanks for support.