Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90251 - fox 1.2.6-r2 sanbox violation
Summary: fox 1.2.6-r2 sanbox violation
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-24 08:36 UTC by genbug
Modified: 2005-06-30 15:40 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description genbug 2005-04-24 08:36:52 UTC
!!! ERROR: x11-libs/fox-1.2.6-r2 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! Parallel Make Failed
!!! If you need support, post the topmost build error, NOT this status message.

ACCESS DENIED  unlink:    /fxutils.o
rm: cannot remove `fxutils.o': Permission denied
ACCESS DENIED  unlink:    /fxutils.lo
rm: cannot remove `fxutils.lo': Permission denied
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-x11-libs_-_fox-1.2.6-r2-14525.log"

unlink:    /fxxbmio.o
unlink:    /fxxbmio.lo
unlink:    /fxxpmio.o
unlink:    /fxxpmio.lo
unlink:    /vsscanf.o
unlink:    /vsscanf.lo
-------------------------------------------

Reproducible: Always
Steps to Reproduce:
1.emerge fox
2.wait
3.

Actual Results:  
emerge fails with sandbox
Comment 1 genbug 2005-04-24 08:54:47 UTC
Sorry , not reading output properly , maked as invalid.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-24 10:54:33 UTC
And why did you mark this as invalid? I hope your solution wasn't to disable the sandbox!?
Comment 3 genbug 2005-04-24 11:20:06 UTC
OK I'll re-open this because there is either a true sandbox violation or a bug in sandbox output.

The original error was produced when I unintentionally started a second emerge of fox from another xterm just before this one finished.

This would explain why some files could not be deleted and in fact the pkg subsequently compiled w/o the violation.

Hwvr the sandbox output clearly shows an attempt to delete in the root directory !! : 

unlink:    /fxxbmio.o

This warrants further investigation it seems.
Comment 4 Ryan Phillips (RETIRED) gentoo-dev 2005-06-30 15:40:58 UTC
FEATURES=sandbox the emerge went fine.

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12 i686)
=================================================================
System uname: 2.6.12 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 13:17:01)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.4_p6, 1.6.3, 1.9.4, 1.7.9-r1, 1.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -msse2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -msse2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox 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.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts cdr crypt cups curl dvd emboss
encode esd fam foomaticdb fortran gdbm gif gnome gphoto2 gpm gtk gtk2
imagemagick imlib ipv6 java jpeg kde kdeenablefinal libg++ libwww mad mikmod mmx
motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline ruby scanner sdl spell sqlite sse
sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xine xml2 xmms xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS