Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72960 - gtk-gnutella 0.95 sandbox violation
Summary: gtk-gnutella 0.95 sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
: 95861 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-30 12:13 UTC by Colin Macdonald
Modified: 2005-09-07 06:40 UTC (History)
5 users (show)

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


Attachments
gtk-gnutella-0.95.log (5256-gtk-gnutella-0.95.log,153.06 KB, text/plain)
2004-11-30 12:14 UTC, Colin Macdonald
Details
Error log from trying to install the newest version of GTK-Gnutella (sandbox-net-p2p_-_gtk-gnutella-0.95-31615.log,33 bytes, text/plain)
2004-12-30 19:29 UTC, Joseph A Nagy Jr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Macdonald 2004-11-30 12:13:56 UTC
building gtk-gnutella dies with the following (I will attach the complete log):

make[1]: Leaving directory `/var/tmp/portage/gtk-gnutella-0.95/work/gtk-gnutella-0.95'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-p2p_-_gtk-gnutella-0.95-18119.log"

chmod:     /root/.gnome2_private
--------------------------------------------------------------------------------

emerge info:
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.28 i686)
=================================================================
System uname: 2.4.28 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.6
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protection distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/ ftp://mirrors.tds.net/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="X Xaw3d aalib alsa apm arts berkdb bitmap-fonts cdr cjk crypt cups dga directfb dvd eds emacs encode esd f77 faad fam fbcon fftw flac fortran gcj gdbm gif gimpprint ginac gnome gnustep gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib jack java jpeg ldap leim libg++ libwww lirc live mad matroska mikmod mmx mng motif mozilla mpeg mysql nas ncurses nls objc offensive oggvorbis opengl oss pam pdflib perl plotutils png ppds python qhull qt quicktime radeon readline rtc samba scanner sdk sdl slang speex spell sse ssl svg tcltk tcpd tetex theora tiff truetype usb v4l wxwindows x86 xinerama xml xml2 xmms xosd xv xvid zlib video_cards_radeon video_cards_mach64"
Comment 1 Colin Macdonald 2004-11-30 12:14:54 UTC
Created attachment 45015 [details]
gtk-gnutella-0.95.log
Comment 2 Rumen Yotov 2004-12-03 11:19:17 UTC
Hi,
Can confirm this. Same with me - sandbox violation.
Disabling the 'sandbox' "solves" the problem.
Thanks
Rumen
Comment 3 Paul Slinski 2004-12-07 07:04:37 UTC
Sandbox is disabled (eg. not used in FEATURES) here and the problem persists.

Comment 4 Joseph A Nagy Jr 2004-12-30 19:27:19 UTC
I'm having the same problem.

Disabling sandbox does nothing. Trying to chmod 700 .gnome2_private doesn't fix it. Attaching my own error log.

root@joseph-a-nagy-jr:~# emerge --info
Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.1, glibc-2.3.4.20041102-r0, 2.6.8.1 i686)
=================================================================
System uname: 2.6.8.1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Aug 30 2004, 08:30:29)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -O3 -pipe -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -O3 -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache digest distlocks fixpackages nostrip sandbox sfperms usersandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl acpi adns aim alsa apache2 apm arts audiofile avi berkdb bidi bitmap-fonts bonobo canna caps cdr cjk crypt cscope cups curl dba debug directfb divx4linux doc dvd encode esd evo f77 fam fbcon fftw flac flash foomaticdb fortran freetds freewnn gb gcj gd gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib innodb ipv6 jabber jack java jikes jpeg junit kde lcms ldap libwww mad maildir mailwrapper mbox mikmod milter mmx mng motif mozilla mpeg msn mysql nas ncurses nls objc odbc offensive oggvorbis opengl openssh oscar oss pam pdflib perl pic png postgres python qt quickline quicktime readline realplayer ruby sasl scanner sdl sftplogging slang slp snmp spell sqlite sse ssl svg svga tcltk tcpd tetex theora tiff truetype unicode usb videos xml xml2 xmms xv xvid yahoo zlib"
Comment 5 Joseph A Nagy Jr 2004-12-30 19:29:16 UTC
Created attachment 47259 [details]
Error log from trying to install the newest version of GTK-Gnutella
Comment 6 Colin Macdonald 2004-12-30 20:30:54 UTC
Adding "userpriv usersandbox" to your FEATURES in make.conf either fixes (or more likely just hides) this bug.

I still think its a bug because I doubt it really needs to touch the  .gnome2_private stuff. 
Comment 7 Joseph A Nagy Jr 2004-12-30 23:16:21 UTC
That worked.
Comment 8 Hans de Graaff gentoo-dev Security 2005-05-05 08:45:17 UTC
In certain cases and setups the 'make' process of gtk-gnutella uses glade to construct the (already included) C files. That may be the cause of this error.
Comment 9 Hans de Graaff gentoo-dev Security 2005-06-27 10:58:40 UTC
Note that the latest versions of gtk-gnutella, including 0.95.3 which is now in
portage, don't use glade anymore to build the files. Instead the files supplied
in the archive are always used. My suggestion would be to close this bug.
Comment 10 Colin Macdonald 2005-07-13 23:20:15 UTC
Re comment #9:  There are still many versions of gtk-gnutella in the tree and
until .95.3 is stable, I think this bug could still affect people.  Close it
when .95.3 goes stable is OK with me.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-08-01 06:51:59 UTC
*** Bug 95861 has been marked as a duplicate of this bug. ***
Comment 12 Karol Wojtaszek (RETIRED) gentoo-dev 2005-09-07 06:40:15 UTC
gtk-gnutella-0.95.4 stable on amd64 and x86. Waiting for other achs. Closing.