Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178997 - net-www/apache-2.2.4-r1 sandbox violation on re-emerge
Summary: net-www/apache-2.2.4-r1 sandbox violation on re-emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 179022 179050 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-18 12:57 UTC by Nils Ohlmeier
Modified: 2007-05-19 07:07 UTC (History)
4 users (show)

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


Attachments
sandbox log file (sandbox-net-www_-_apache-2.2.4-r1-29121.log,105 bytes, text/plain)
2007-05-18 12:59 UTC, Nils Ohlmeier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Ohlmeier 2007-05-18 12:57:55 UTC
When trying to re-emerge apache-2.2.4-r1 it fails before merging into the life system with a sandbox violation.

Reproducible: Always

Steps to Reproduce:
1. emerge apache 2.2.4-r1
2. emerge apache 2.2.4-r1 again
3.

Actual Results:  
make[1]: Leaving directory `/var/tmp/portage/net-www/apache-2.2.4-r1/work/httpd-2.2.4'
 * 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-29121.log"

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

Expected Results:  
clean installation
Comment 1 Nils Ohlmeier 2007-05-18 12:59:18 UTC
Created attachment 119590 [details]
sandbox log file
Comment 2 Emiliano Vavassori 2007-05-18 13:07:13 UTC
Same here on ~x86

emerge --info:
Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.18-suspend2-r3 i686)
=================================================================
System uname: 2.6.18-suspend2-r3 i686 Mobile AMD Athlon(tm) XP 2600+
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 18 May 2007 10:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 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.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirror.solnet.ch http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.ynet.sk/pub http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="it_IT"
LC_ALL="it_IT.utf8"
LINGUAS="it en"
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/local/portage /usr/portage/local/layman/gechi /usr/portage/local/layman/gentoo-gis"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 7zip X aac aalib acpi aim alsa apache2 audiofile berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cli cracklib crypt cups dba dbase dga dio dri dts dvb dvd dvdr dvdread emboss encode esd evo fam fbcon ffmpeg fftw firefox flac flatfile fortran ftp gcj gdbm geoip gif gnutls gpm gps gstreamer gtk iconv icq ieee1394 imagemagick imap imlib isdnlog jabber jack javascript jpeg jpeg2k lcms lesstif libcaca libg++ libgda mad matroska mbox md5sum mhash midi mikmod mime mmap mmx mng motif mp3 mpeg msn musepack nas ncurses nis nls nptl nptlonly nsplugin odbc offensive ogg opengl oscar oss pam pcmcia pcre pdf perl php pic png posix postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sdl session sharedmem sndfile soap sockets sox spell spl sse ssl svg sysvipc szip tcltk tcpd tetex theora threads tiff timidity truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis win32codecs wmf wxwindows x86 xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid yahoo zlib" ALSA_CARDS="via82xx via82xx-modem mpu401" 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 mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" USERLAND="GNU" VIDEO_CARDS="via vesa fbdev v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pv apache:
[ebuild   R   ] net-www/apache-2.2.4-r1  USE="mpm-prefork ssl threads -debug -doc -ldap -mpm-event -mpm-itk% -mpm-peruser -mpm-worker -no-suexec (-selinux) -static-modules" 0 kB

sandbox log:
chown:     /var/tmp/portage/net-www/apache-2.2.4-r1/image/usr/sbin/suexec2 (symlink to /usr/sbin/suexec)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-05-18 16:35:44 UTC
*** Bug 179022 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-05-19 07:07:40 UTC
*** Bug 179050 has been marked as a duplicate of this bug. ***