Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230912 - sci-chemistry/chemical-mime-data-0.1.94: Sandbox violation, access denied to ~/.gnome2
Summary: sci-chemistry/chemical-mime-data-0.1.94: Sandbox violation, access denied to ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Jeffrey Gardner (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-06 07:21 UTC by Jeremy Murphy
Modified: 2008-08-12 04:58 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,11.82 KB, text/plain)
2008-07-08 02:39 UTC, Jeremy Murphy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Murphy 2008-07-06 07:21:06 UTC
During emerge, the ebuild attempts to create dir /root/.gnome2 via "mkdir ~/.gnome2", which obviously fails.

Reproducible: Always

Steps to Reproduce:
emerge chemical-mime-data
Actual Results:  
--- edited ebuild output ---
make[1]: Leaving directory `/var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/work/chemical-mime-data-0.1.94/kde'
Making all in icons
make[1]: Entering directory `/var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/work/chemical-mime-data-0.1.94/icons'
Making all in hicolor
make[2]: Entering directory `/var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/work/chemical-mime-data-0.1.94/icons/hicolor'
gzip gnome-mime-chemical.svg -c > gnome-mime-chemical.svgz
for size in 16 22 24 32 36 48 64 72 96 128 192 ; do \
                if test "x" != "x" ; then \
                         -w ${size} -h ${size} -f png gnome-mime-chemical.svg gnome-mime-chemical_${size}.png ; \
                else \
                        /usr/bin/convert gnome-mime-chemical.svg -resize ${size}x${size} gnome-mime-chemical_${size}.png ; \
                fi \
        done
ACCESS DENIED  mkdir:     /root/.gnome2

(process:19981): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied
ACCESS DENIED  mkdir:     /root/.gnome2

(process:19985): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied
ACCESS DENIED  mkdir:     /root/.gnome2

(process:19986): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied
ACCESS DENIED  mkdir:     /root/.gnome2

(process:19987): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied
ACCESS DENIED  mkdir:     /root/.gnome2

(process:19988): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied
ACCESS DENIED  mkdir:     /root/.gnome2

(process:19989): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied
ACCESS DENIED  mkdir:     /root/.gnome2

(process:19990): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied
ACCESS DENIED  mkdir:     /root/.gnome2

(process:19991): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied
ACCESS DENIED  mkdir:     /root/.gnome2

(process:19992): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied
ACCESS DENIED  mkdir:     /root/.gnome2

(process:19993): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied
ACCESS DENIED  mkdir:     /root/.gnome2

(process:19994): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied
make[2]: Leaving directory `/var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/work/chemical-mime-data-0.1.94/icons/hicolor'
Making all in pixmaps
make[2]: Entering directory `/var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/work/chemical-mime-data-0.1.94/icons/pixmaps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/work/chemical-mime-data-0.1.94/icons/pixmaps'
make[2]: Entering directory `/var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/work/chemical-mime-data-0.1.94/icons'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/work/chemical-mime-data-0.1.94/icons'
make[1]: Leaving directory `/var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/work/chemical-mime-data-0.1.94/icons'
Making all in po
make[1]: Entering directory `/var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/work/chemical-mime-data-0.1.94/po'
file=`echo de | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/gmsgfmt -o $file de.po
file=`echo fr | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/gmsgfmt -o $file fr.po
make[1]: Leaving directory `/var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/work/chemical-mime-data-0.1.94/po'
make[1]: Entering directory `/var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/work/chemical-mime-data-0.1.94'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/work/chemical-mime-data-0.1.94'
>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-18882.log"

mkdir:     /root/.gnome2
mkdir:     /root/.gnome2
mkdir:     /root/.gnome2
mkdir:     /root/.gnome2
mkdir:     /root/.gnome2
mkdir:     /root/.gnome2
mkdir:     /root/.gnome2
mkdir:     /root/.gnome2
mkdir:     /root/.gnome2
mkdir:     /root/.gnome2
mkdir:     /root/.gnome2
--------------------------------------------------------------------------------


Expected Results:  
I guess the mkdir command should have happened in the sandbox and then everything moved out of the sandbox at the end.

No extra information except emerge --info:

Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r6 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Timestamp of tree: Sun, 06 Jul 2008 05:45:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/home/distfiles"
FEATURES="collision-protect distlocks fixpackages metadata-transfer parallel-fetch prelink sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo "
LANG="en_AU.UTF-8"
LC_ALL="en_AU.UTF-8"
LINGUAS="en_AU.UTF-8 en_AU en_GB.UTF-8 en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 berkdb branding bzip2 cairo cddb cdr cli cracklib crypt curl dbus dia doc dvd dvdr dvdread emboss encode fam ffmpeg fftw firefox flac fontconfig fortran gd gdbm gif gnome gnutls gpm graphviz gstreamer gtk hal iconv icq ipod ipv6 isdnlog java javascript jpeg jpeg2k kde libnotify lm_sensors lzo mad matroska midi mikmod mmap mmx mng mp3 mpeg mplayer msn mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs offensive ogg opengl openmp pam pcre pdf png pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sharedmem spell spl sqlite sqlite3 sse sse2 ssl svg syslog tcpd theora tiff timidity truetype unicode usb vcd vorbis wavpack wxwindows xcomposite xml xorg xpm xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU.UTF-8 en_AU en_GB.UTF-8 en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jeffrey Gardner (RETIRED) gentoo-dev 2008-07-06 22:20:39 UTC
Can you give me the whole /var/tmp/portage/sci-chemistry/chemical-mime-data-0.1.94/temp/build.log ?
Comment 2 Jeremy Murphy 2008-07-08 02:39:23 UTC
Created attachment 159852 [details]
Build log