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

Bug 291472

Summary: gnome-extra/deskbar-applet-2.28.0 sandbox access violation due to x11-themes/gtk-engines-qtcurve
Product: Gentoo Linux Reporter: Jouni Rinne <l33tmmx>
Component: [OLD] GNOMEAssignee: Qt Bug Alias <qt>
Status: RESOLVED NEEDINFO    
Severity: normal CC: gnome, pacho
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jouni Rinne 2009-11-01 19:55:34 UTC
I get this when trying to install deskbar-applet-2.28.0:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-2501.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: /root/.config/qtcurve
A: /root/.config/qtcurve
R: /root/.config/qtcurve
C: /usr/bin/python2.6 -c 
import sys
try:
        import gnomedesktop
except ImportError:
        sys.exit(1)
except:
        sys.exit(0)
sys.exit(0) 

F: mkdir
S: deny
P: /root/.config/qtcurve
A: /root/.config/qtcurve
R: /root/.config/qtcurve
C: /usr/bin/python2.6 -c 
import sys
try:
        import gtk
except ImportError:
        sys.exit(1)
except:
        sys.exit(0)
sys.exit(0) 

F: mkdir
S: deny
P: /root/.config/qtcurve
A: /root/.config/qtcurve
R: /root/.config/qtcurve
C: /usr/bin/python2.6 -c 
import sys
try:
        import gtk.gdk
except ImportError:
        sys.exit(1)
except:
        sys.exit(0)
sys.exit(0) 

F: mkdir
S: deny
P: /root/.config/qtcurve
A: /root/.config/qtcurve
R: /root/.config/qtcurve
C: /usr/bin/python2.6 -c 
import sys
try:
        import wnck
except ImportError:
        sys.exit(1)
except:
        sys.exit(0)
sys.exit(0) 
--------------------------------------------------------------------------------
Comment 1 Jouni Rinne 2009-11-01 19:56:16 UTC
emerge --info:

Portage 2.1.7.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.30-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-i686-Mobile_Intel-R-_Celeron-TM-_CPU_1200MHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 01 Nov 2009 16:45:02 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distcc distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ "
LANG="fi_FI.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fi"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avahi berkdb bluetooth bonjour bzip2 cairo cdda cddb cli consolekit cracklib crypt cups dbus dirac dri dvd encode exif faac faad ffmpeg flac fortran gdbm gif gnome gnome-keyring gnutls gpm gstreamer gtk hal iconv ipod ipv6 jack jpeg kde ladspa laptop lash lcms libnotify libsamplerate lzma mmx modules mp3 mtp mudflap musicbrainz ncurses networkmanager nls nptl nptlonly nsplugin ogg openexr openmp pam pcre perl phonon plasma png policykit pppd pulseaudio python qt3support qt4 readline reflection schroedinger semantic-desktop session sndfile speex spl sqlite sqlite3 sse ssl svg sysfs tcpd theora tiff truetype unicode usb vorbis webkit x264 x86 xcb xorg xvid zeroconf zip zlib" ALSA_CARDS="pdaudiocf virmidi via82xx via82xx-modem portman2x4 usb-audio usb-us1221 usb-usx2y" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="savage vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-01 21:04:49 UTC
*** Bug 291474 has been marked as a duplicate of this bug. ***
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-01 21:05:09 UTC
I bet this is a problem due to your gtk engine.
Comment 4 Jouni Rinne 2009-11-02 21:05:25 UTC
Both deskbar-applet-2.28.0 and gnome-applets-2.28.0 install without-a-hitch with FEATURES="userpriv", but not without. Still don't know what causes this.
Comment 5 Pacho Ramos gentoo-dev 2009-12-02 13:53:55 UTC
(In reply to comment #4)
> Both deskbar-applet-2.28.0 and gnome-applets-2.28.0 install without-a-hitch
> with FEATURES="userpriv", but not without. Still don't know what causes this.
> 

It's probably because it is hiding problem as it disables sanbox:
              userpriv
                     Allow  portage  to drop root privileges and compile pack‐
                     ages as portage:portage without a sandbox  (unless  user‐
                     sandbox is also used).

Maybe attaching full build.log could help, but, as stated above, this seems like a problem with qtcurve
Comment 6 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-27 04:19:35 UTC
This is definitely something qtcurve is doing. Reassigning...

@reporter: Please attach the full build.log
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-24 19:08:26 UTC
It looks like qtcurve is creating files in XDG_CONFIG_DIR (or whatever is the name again), this should not happen ever in the context of a package build. I fill reluctant workarouding something caused by user setup. Also without a build.log it's hard to figure where the problem has been triggered.