Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156124 - pam-0.99* selinux support is broken
Summary: pam-0.99* selinux support is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-24 05:24 UTC by Stephen Bennett (RETIRED)
Modified: 2006-11-24 06:11 UTC (History)
1 user (show)

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


Attachments
Linux-PAM-0.99.6.3-selinux.patch (Linux-PAM-0.99.6.3-selinux.patch,841 bytes, patch)
2006-11-24 05:31 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Bennett (RETIRED) gentoo-dev 2006-11-24 05:24:37 UTC
Nov 24 09:49:12 blashyrk login[11327]: PAM unable to dlopen(/lib64/security/pam_selinux.so)
Nov 24 09:49:12 blashyrk login[11327]: PAM [error: /lib64/security/pam_selinux.so: undefined symbol: setfilecon]

The symbol in question is in -lselinux. pam_selinux's generated Makefile has -lselinux in AM_LDFLAGS; I can't see any other reference to it in that directory.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-24 05:31:33 UTC
Created attachment 102655 [details, diff]
Linux-PAM-0.99.6.3-selinux.patch

Can someone with selinux enabled get a try to this patch?
The problem is that upstream used a funky way to link the libraries (LDFLAGS is wrong for that), and with automake 1.10 that also changed meaning.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-24 06:11:37 UTC
Fixed as of 0.99.6.3-r2, thanks for reporting.