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

Bug 39563

Summary: Psi has sandbox violations
Product: Gentoo Linux Reporter: Aquila <bart.braem>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: gentoo, radek, rizzo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aquila 2004-01-27 07:29:06 UTC
When I try to emerge psi, it fails with a lot of sandbox violations:
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.2rc.tmp' for writing
ACCESS DENIED  mkdir:     /usr/qt/3/etc/settings
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.2rc.tmp' for writing
ACCESS DENIED  mkdir:     /usr/qt/3/etc/settings
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.2rc.tmp' for writing
g++ -c -pipe -Wall -W -O2 -D_REENTRANT  -DHAVE_DNOTIFY -DHAVE_CONFIG -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -Icutestuff/util -Icutestuff/network -Icutestuff/trayicon -Icutestuff/idle -Icutestuff/zip -Icutestuff/ssl -Icutestuff/dirwatch -Icutestuff/openpgp -Ixmpp/src -I/usr/qt/3/include -I.ui/ -Isrc -I.moc/ -o .obj/ui_accountremove.o .ui/ui_accountremove.cpp
make: *** [.obj/ui_accountremove.o] Interrupt

/usr/portage/net-im/psi/psi-0.9-r1.ebuild: src_compile aborted; exiting.

Caught signal 2
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-psi-0.9-r1-469.log"

mkdir:     /usr/qt/3/etc/settings
mkdir:     /usr/qt/3/etc/settings
... (there's thousands of those)
mkdir:     /usr/qt/3/etc/settings

Reproducible: Always
Steps to Reproduce:
1.emerge psi



Expected Results:  
psi should emerge properly

Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5
)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.3.10
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1
/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.belnet.
be/mirror/rsync.gentoo.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://f
tp.gentoo.skynet.be/pub/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/ge
ntoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage"
USE="X acpi acpi4linux alsa apache2 apm avi berkdb crypt cups encode esd foomati
cdb gd gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod 
motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python 
qt quicktime radeon readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmm
s xv zlib"
Comment 1 ferret 2004-01-27 12:47:46 UTC
Please see bug 39580
Comment 2 ferret 2004-01-27 12:49:31 UTC
Oops, I'm getting my bugs confused... I mean bug 39572
Comment 3 Aquila 2004-01-27 22:30:16 UTC
I don't think it's related as I have a fresh install, every packages just updated to the latest & greatest.
Comment 4 Oliver Jeeves 2004-02-01 03:38:35 UTC
I have this problem too, from looking at previous bugs, this seems to be the same as bug 13957
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2004-02-01 04:09:29 UTC
In some way the fake root does not work. What happens if you run with FEATURES="userpriv usersandbox" emerge psi ?
Comment 6 Jesper Toft 2004-02-05 04:41:46 UTC
FEATURES="userpriv usersandbox" emerge psi
gives the same... This is a dup of 39348
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2004-02-05 05:02:24 UTC

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