Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669980 - x11-misc/sddm-0.18.0 looks for pam_systemd.so
Summary: x11-misc/sddm-0.18.0 looks for pam_systemd.so
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: LxQt maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-30 16:45 UTC by Jan Hrabe
Modified: 2019-03-31 09:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Hrabe 2018-10-30 16:45:03 UTC
My system thankfully does not use the systemd and the sddm was compiled accordingly with "consolekit pam -elogind -systemd -test".  However, I keep getting the following error messages in the system log:

Oct 30 11:08:02 hooverix sddm-helper[2026]: PAM unable to dlopen(/lib64/security/pam_systemd.so): /lib64/security/pam_systemd.so: cannot open shared object file: No such file or directory
Oct 30 11:08:02 hooverix sddm-helper[2026]: PAM adding faulty module: /lib64/security/pam_systemd.so
Oct 30 11:08:02 hooverix sddm-helper[2026]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)

The sddm appears to work despite this but as this problem is pam-related, I am concerned if the security is not compromised because sddm is perhaps confused about the system it runs on and the pam modules it should use.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2019-03-31 09:10:23 UTC
sddm installs sddm-greeter.pam which contains:
session         optional @LOGIND_PAM_MODULE@

where @LOGIND_PAM_MODULE@ is configured by:
if(USE_ELOGIND)
    set(LOGIND_PAM_MODULE "pam_elogind.so")
else()
    set(LOGIND_PAM_MODULE "pam_systemd.so")
endif()

This shouldn't affect anything if neither systemd nor logind are being used, but it would be nice to fix upstream removing this bogus line if neither session tracker is being used.