Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104904 - emerge failure:glibc-2.3.5-r1 while checking for is_selinux_enabled
Summary: emerge failure:glibc-2.3.5-r1 while checking for is_selinux_enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
: 107126 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-05 09:07 UTC by Hiroshi Maruyama
Modified: 2005-10-07 21:24 UTC (History)
2 users (show)

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


Attachments
test fix (glibc-2.3.5-r1-selinux.diff,954 bytes, patch)
2005-09-08 16:35 UTC, Chris PeBenito (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hiroshi Maruyama 2005-09-05 09:07:52 UTC
First,I installed Gentoo/AMD64(for Athlon64 2800+ PC).
Then convert it to Gentoo/AMD64/Hardened (shown as Gentoo AMD64 SELinux Handbook).

It seems working with SELinux capability.
(when login as root,I must select either staff_t or sysadm_t, and so on)

But if I try to emerge glibc (2.3.5 - > 2.3.5-r1),
emerge fails.
Last message is  'checking for is_selinux_enabled in -lselinux ... no'.


Reproducible: Always
Steps to Reproduce:
1.Install Gentoo for AMD64.
2.Convert it to Hardened. (/etc/make.profile ->
/usr/portage/profiles/selinux/2005.1/amd64)
3.emerge sync.
4.emerge glibc.

Actual Results:  
Make check fails.
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2005-09-08 16:35:25 UTC
Created attachment 67978 [details, diff]
test fix

Please apply this test patch, I believe this will fix it.
Comment 2 Chris PeBenito (RETIRED) gentoo-dev 2005-09-08 16:40:24 UTC
Since libselinux is only compiled for the primary ABI, glibc fails on the 32
ABI.  The patch will only enable glibc SELinux support for the primary ABI. 
SELinux support is only in nscd, so this should be ok.
Comment 3 Hiroshi Maruyama 2005-09-10 16:20:52 UTC
(In reply to comment #1)
> Please apply this test patch, I believe this will fix it.

It works well.
Thank you.
Comment 4 Chris PeBenito (RETIRED) gentoo-dev 2005-09-24 16:47:13 UTC
*** Bug 107126 has been marked as a duplicate of this bug. ***
Comment 5 Chris PeBenito (RETIRED) gentoo-dev 2005-10-07 21:24:44 UTC
fixed in cvs