Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197225 - x11-misc/slim doesn't honor USE=pam
Summary: x11-misc/slim doesn't honor USE=pam
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-27 17:18 UTC by Florian Wagner
Modified: 2007-10-27 18:04 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 Florian Wagner 2007-10-27 17:18:09 UTC
The slim-1.3.0 ebuild is incorrect. When building with the pam use flag turned on, "emake USE_PAM=1 ..." is only called in src_install but not not in src_compile. This results in the majority of files to be built without the USE_PAM=1 flag set. (Only PAM.c is compiled with USE_PAM=1 since in src_install the emake call is correct and results in the Makefile to behave differently).

A correct ebuild can be found at http://wagner-flo.net/repos/portage-overlay/x11-misc/slim/slim-1.3.0-r1.ebuild. It just adds src_compile which is analog to src_install.

Reproducible: Always

Steps to Reproduce:
1. Do a "emerge slim" with USE="pam".
2. Restart slim/xdm.
3. Look into your syslog while logging in with slim.

Actual Results:  
No messages for PAM are written to the syslog.

Expected Results:  
On login with slim, PAM should write to syslog.

After correctly installing slim with PAM support a /etc/pam.d/slim file will need to be created or slim won't work. A symlink from /etc/pam.d/system-auth works. This should probably be integrated into the ebuild.
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2007-10-27 18:04:34 UTC
Thanks, the fix is in cvs, I've also added a note in pkg_postinst for the pam.d file.