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

Bug 179022

Summary: net-www/apache-2.2.4-r1 recompile results in sandbox access violation
Product: Gentoo Linux Reporter: Jon Hood <squinky86>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jon Hood 2007-05-18 16:34:06 UTC
After changing my make.profile, apache decided it wanted to make a few changes with an "emerge --newuse world -uDpv"
# emerge apache -pv
[ebuild   R   ] net-www/apache-2.2.4-r1  USE="ssl -debug -doc -ldap -mpm-event -mpm-itk% -mpm-peruser -mpm-prefork -mpm-worker -no-suexec (-selinux) -static-modules -threads" 0 kB

When it tried to install the built httpd, I received the following access violation:

 * Installing default webroot to /usr/share/doc/apache-2.2.4-r1 ...                                                    [ ok ]
ACCESS DENIED  chown:     /var/tmp/portage/net-www/apache-2.2.4-r1/image/usr/sbin/suexec2
chown: changing ownership of `/var/tmp/portage/net-www/apache-2.2.4-r1/image//usr/sbin/suexec2': Permission denied
>>> Completed installing apache-2.2.4-r1 into /var/tmp/portage/net-www/apache-2.2.4-r1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-net-www_-_apache-2.2.4-r1-12651.log"

chown:     /var/tmp/portage/net-www/apache-2.2.4-r1/image/usr/sbin/suexec2 (symlink to /usr/sbin/suexec)
--------------------------------------------------------------------------------

Reproducible: Always

Steps to Reproduce:




# emerge --info
Portage 2.1.2.7 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r2, 2.6.21-gentoo i686)
=================================================================
System uname: 2.6.21-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 18 May 2007 10:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X accessibility acl alsa apache2 arts berkdb bitmap-fonts cli cracklib crypt cups cvs dri encode fortran gdbm gif gpm gtk gtk2 iconv imlib ipod ipv6 isdnlog java jpeg kde libg++ mad mbrola midi mp3 mysql ncurses nls nptl nptl-only nptlonly nsplugin opengl pam pcre perl php png ppds pppd python qt quicktime readline real reflection sdl session spell spl ssl subversion tcpd truetype truetype-fonts type1-fonts unicode visualization vorbis x86 xml xorg xv zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vmware vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-18 16:35:44 UTC

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