Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 48452

Summary: tcp-wrappers SELinux polic'ed fails to compile!
Product: Gentoo Linux Reporter: Alexander Ivanchev <alexander>
Component: HardenedAssignee: Hardened Gentoo <hardened>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Ivanchev 2004-04-20 05:11:03 UTC
That's an odd one.. I did a clean install with the latest 2.6 SELinux CD, and got a 2.6.5, glibc / NPTL, ~86 system up, HOWEVER, I faced an odd OpenSSH problem (unrelated I guess, but still...) I was able to login just one time, any further attempts, till reboot closed remotely (sshd-side). So. I decided to re-emerge tcp-wrappers to be one the safe-side, and...

dmz policy # emerge tcp-wrappers    
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/tcp-wrappers-7.6-r8 to /
>>> md5 src_uri ;-) tcp_wrappers_7.6.tar.gz
>>> md5 src_uri ;-) tcp-wrappers-7.6-r7-patches.tar.bz2
>>> Unpacking source...
>>> Unpacking tcp_wrappers_7.6.tar.gz to /var/tmp/portage/tcp-wrappers-7.6-r8/work
>>> Unpacking tcp-wrappers-7.6-r7-patches.tar.bz2 to /var/tmp/portage/tcp-wrappers-7.6-r8/work
 * Applying tcp-wrappers-7.6-makefile.patch.bz2...                                                                            [ ok ]
 * Applying various patches (bugfixes/updates)...
 *   01_all_redhat-bug11881.patch.bz2...                                                                                      [ ok ]
 *   02_all_redhat-bug17795.patch.bz2...                                                                                      [ ok ]
 *   03_all_wildcard.patch.bz2...                                                                                             [ ok ]
 *   04_all_fixgethostbyname.patch.bz2...                                                                                     [ ok ]
 *   07_all_sig.patch.bz2...                                                                                                  [ ok ]
 *   08_all_strerror.patch.bz2...                                                                                             [ ok ]
 * Done with patching
 * Applying tcp-wrappers-7.6-shared.patch.bz2...                                                                              [ ok ]
>>> Source unpacked.
make: *** [config-check] Error 1

!!! ERROR: sys-apps/tcp-wrappers-7.6-r8 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-sys-apps_-_tcp-wrappers-7.6-r8-27772.log"

open_wr:   /proc/self/attr/fscreate
--------------------------------------------------------------------------------

IT IS SELinux-related since, if the policy is not loaded compilation starts (and then aborts during install for lack of proper setfiles labels)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2004-04-20 07:30:27 UTC

*** This bug has been marked as a duplicate of 48451 ***