Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 457786 - <sys-apps/policycoreutils-2.1.13-r9 runscript_selinux.so broken with USE"-pam" (2.1.10/13)
Summary: <sys-apps/policycoreutils-2.1.13-r9 runscript_selinux.so broken with USE"-pam...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard: selinux-utils
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-16 03:06 UTC by Richard H.
Modified: 2013-04-16 09:59 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 Richard H. 2013-02-16 03:06:07 UTC
I am unable to emerge policycoreutils due too missing PAM headers (which I don't have as this is an embedded device.).

It seems to be hardcoded in the Makefile of policycoreutils-extra:/src, although there is the variable PAMH, which should IMHO be translated to -D USE_PAM - which just is not done in this case.

Is there a way to merge this without emerging PAM again?
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2013-03-07 19:21:54 UTC
Yup, indeed, I didn't update the Makefile for the policycoreutils-extra to take into account the AUDITH and PAMH variables. I'll make an update on this soon
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2013-03-08 19:21:47 UTC
Would you mind trying out policycoreutils-2.1.13-r7 in the hardened-development overlay?
Comment 3 Richard H. 2013-03-08 20:58:52 UTC
I am unable to download policycoreutils-extra-1.24.tar.bz2.
Comment 4 Richard H. 2013-03-09 01:58:12 UTC
(In reply to comment #3)
> I am unable to download policycoreutils-extra-1.24.tar.bz2.

It seems the distfile just needed a bit to be mirrored. I confirm it works on x86 with USE="-audit -dbus -pam -sesandbox"

Thanks a lot for the great work.
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2013-03-09 10:57:49 UTC
Ok, moved to main tree. Marking as VERIFIED:TEXT-REQUEST until stabilized (at which point it'll be VERIFIED:FIXED).
Comment 6 Richard H. 2013-03-19 10:44:28 UTC
I get a new message now since a few days:

 * dlopen: /lib/rc/runscript_selinux.so: undefined symbol: crypt

Is this related or something else? Did already try revdep-rebuild.
Comment 7 Sven Vermeulen (RETIRED) gentoo-dev 2013-03-19 20:01:13 UTC
Yup, I'll need to link with crypt
Comment 8 Sven Vermeulen (RETIRED) gentoo-dev 2013-03-20 08:30:40 UTC
I committed policycoreutils-2.1.13-r9 to the tree, this should link with the crypt library. Once it hits the mirrors (in about 40 minutes) care to test it out then?
Comment 9 Richard H. 2013-03-20 13:24:36 UTC
Sorry, took a bit longer (I have my own mirror etc.)

No more error messages. Thank you once more!
Comment 10 Sven Vermeulen (RETIRED) gentoo-dev 2013-04-16 09:59:46 UTC
Stabilized