Summary: | sys-libs/pam-0.78*: fails with gcc4.1.1 and selinux flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Constantine Kardaris <ckardaris> |
Component: | [OLD] GCC Porting | Assignee: | SE Linux Bugs <selinux> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pam-bugs+disabled, pim, prot3ch, sanchoperez |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 150859 | ||
Bug Blocks: | |||
Attachments: |
gcc-4.1 patch
pam-0.78-selinux.patch.patch |
Description
Constantine Kardaris
2006-05-27 05:48:46 UTC
Created attachment 87762 [details, diff]
gcc-4.1 patch
This should fix it
yep that works for me. Created attachment 95868 [details, diff]
pam-0.78-selinux.patch.patch
patches the selinux patch for pam-0.78-r3. This one is closer to the original code and just places brackets where needed.
Ebuild for immediate fix is at: https://stier.dynu.com/~myportage/sys-libs/pam/ *** Bug 147659 has been marked as a duplicate of this bug. *** I can't reproduce this on pam-0.78-r5 I run into this problem with pam-0.78-r3. The r5 version of the ebuild worked. Please make this version stable. emerge --info: Portage 2.1.1 (selinux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Celeron (Coppermine) Gentoo Base System version 1.12.5 Last Sync: Tue, 17 Oct 2006 21:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks loadpolicy metadata-transfer parallel-fetch sandbox selinux sesandbox sfperms strict userfetch" GENTOO_MIRRORS="ftp://ftp.fsn.hu/pub/linux/distributions/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 berkdb crypt elibc_glibc input_devices_keyboard input_devices_mouse ipv6 kernel_linux ncurses nls nptl nptlonly pam python readline selinux ssl symlink tcpd udev unicode userland_GNU zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY May be a little silly ... I tries to do a Pentium/3 + hardened (2005.1/x86) + selinux. I got to the first boot and swapped from install (add real user) to selinux (emerge policy ...). This is followed by re: emerge sysvinit pam coreutils .... openssh The idea is not to have back-track and re-emerge "world" on a new system build. Both pam and coreutils will not compile either with or without the selinux in effect. I hope this fixes pam - else it will not boot at all !!! "pam-078-r5" installs for me. I should now be ok - hope. pam 0.78-r5 has been marked stable for a while, closing |