Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504536 - x11-misc/lightdm: broken pam.d files hard code pam_systemd.so
Summary: x11-misc/lightdm: broken pam.d files hard code pam_systemd.so
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-14 00:43 UTC by Thibaud CANALE
Modified: 2015-10-05 19:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_504536.txt,5.34 KB, text/plain)
2014-03-14 00:43 UTC, Thibaud CANALE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thibaud CANALE 2014-03-14 00:43:59 UTC
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.
Comment 1 Sasha Medvedev 2015-01-17 07:41:16 UTC
(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.
Comment 2 Thibaud CANALE 2015-01-17 11:09:18 UTC
(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.
Comment 3 SpanKY gentoo-dev 2015-05-21 03:07:28 UTC
lightdm's pam files are broken.  it needs to put a '-' at the start of the systemd module lines.
Comment 4 Thibaud CANALE 2015-05-21 13:57:15 UTC
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.