i am trying to emerge foomatic on a system with selinux running, but emerge breaks, failing to set the security labels after the merge-message. Reproducible: Always Steps to Reproduce: 1.emerge foomatic 2. 3. Actual Results: >>> Install foomatic-3.0.2 into /var/tmp/portage/foomatic-3.0.2/image/ category net-print man: prepallstrip: strip: i686-pc-linux-gnu-strip --strip-unneeded >>> Completed installing foomatic-3.0.2 into /var/tmp/portage/foomatic-3.0.2/image/ >>> Merging net-print/foomatic-3.0.2 to / >>> Setting SELinux security labels /usr/sbin/setfiles: labeling files, pretending /var/tmp/portage/foomatic-3.0.2/image is / /usr/sbin/setfiles: labeling files under /var/tmp/portage/foomatic-3.0.2/image/ /usr/lib/portage/bin/ebuild.sh: line 1141: 23611 Segmentation fault /usr/sbin/setfiles -r "${IMAGE}" "${T}/file_contexts" "${IMAGE}" !!! ERROR: net-print/foomatic-3.0.2 failed. !!! Function dyn_preinst, Line 1246, Exitcode 139 !!! Failed to set SELinux security labels. !!! If you need support, post the topmost build error, NOT this status message. !!! FAILED preinst: 1 Expected Results: install foomatic Portage 2.0.51.19 (selinux/2004.1/x86, gcc-3.4.3-20050110, glibc-2.2.5-r2,glibc-2.3.4.20050125-r1, 2.6.12-rc1 i686) ================================================================= System uname: 2.6.12-rc1 i686 AMD Duron(tm) Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 25 2005, 20:45:13)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r3, 1.5, 1.9.5, 1.6.3, 1.4_p6, 1.7.9-r1 sys-devel/binutils: 2.11.92.0.12.3-r2, 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks loadpolicy selinux sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="alsa apache2 bzlib cgi crypt cups curl dba foomaticdb ftp gd gdbm hardened imap ipv6 libwww maildir mbox mime ncurses nls nptl ogg pam perl php pic pie png posix procmail python readline selinux session smime socks5 ssl sysvipc tcpd tetex tiff unicode userlocales vorbis x86 xml2 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
fixed with policycoreutils 1.22-r1