Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177984 - x11-misc/googleearth-4 sandbox violation
Summary: x11-misc/googleearth-4 sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-11 00:44 UTC by Tom Barcellona
Modified: 2007-05-23 07:24 UTC (History)
10 users (show)

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 Tom Barcellona 2007-05-11 00:44:28 UTC
"emerge googleearth" gives an access violation.I believe it is a sandbox issue. 

Reproducible: Always

Steps to Reproduce:
1. emerge googleearth
2. see access violation errors on the screen
Actual Results:  
[Thu May 10,08:29 PM|ferrari:~]
{ root } >  emerge googleearth
Calculating dependencies... done!

>>> Emerging (1 of 1) x11-misc/googleearth-4 to /
 * GoogleEarthLinux
 * GoogleEarthLinux
 * GoogleEarthLinux
 * GoogleEarthLinux
 * GoogleEarthLinux
>>> Creating Manifest for /usr/portage/x11-misc/googleearth
 * checking ebuild 
 * checking auxfile
 * checking miscfil
 * checking GoogleE
>>> Unpacking source...
>>> Unpacking GoogleEarthLinux.bin to /var/tmp/portage/x11-misc/googleearth-4/work
2674+1 records in
23286+1 records out
23844950 bytes (24 MB) copied, 6.07111 s, 3.9 MB/s

bzip2: (stdin): trailing garbage after EOF ignored
sed: can't read linux/xdg/xdg-menu: No such file or directory
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-misc/googleearth-4/work ...
>>> Source compiled.
>>> Test phase [not enabled]: x11-misc/googleearth-4

>>> Install googleearth-4 into /var/tmp/portage/x11-misc/googleearth-4/image/ category x11-misc
Installing mimetypes...
ACCESS DENIED  open_wr:   /usr/kde/3.5/share/mimelnk/application/vnd.google-earth.kml+xml.desktop
linux/xdg/xdg-mime: line 983: /usr/kde/3.5/share/mimelnk//application/vnd.google-earth.kml+xml.desktop: Permission denied
ACCESS DENIED  unlink:    /usr/kde/3.5/share/mimelnk/application/vnd.google-earth.kml+xml.desktop
rm: cannot remove `/usr/kde/3.5/share/mimelnk//application/vnd.google-earth.kml+xml.desktop': Permission denied
Installing desktop menu entries...
Installing desktop icon...
 * Applying mime-ma
>>> Completed installing googleearth-4 into /var/tmp/portage/x11-misc/googleearth-4/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-x11-misc_-_googleearth-4-12223.log"

open_wr:   /usr/kde/3.5/share/mimelnk/application/vnd.google-earth.kml+xml.desktop
unlink:    /usr/kde/3.5/share/mimelnk/application/vnd.google-earth.kml+xml.desktop
open_wr:   /usr/share/applications/Google-googleearth.desktop
open_wr:   /usr/share/applnk/Google-googleearth.desktop
open_wr:   /usr/share/gnome/apps/Google-googleearth.desktop
open_wr:   /usr/share/applications/.mimeinfo.cache.P0Q7RT
open_wr:   /root/.gconf/.testing.writeability
unlink:    /root/.gconf/.testing.writeability
open_wr:   /root/.gconfd/saved_state
--------------------------------------------------------------------------------
[Thu May 10,08:31 PM|ferrari:~]
{ root } >  


Expected Results:  
Goole Earth should install without sandbox errors.

[Thu May 10,08:41 PM|ferrari:~]
{ root } >  emerge info 
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-3.4.6, glibc-2.3.6-r4, 2.6.20-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r7 x86_64 AMD Turion(tm) 64 Mobile Technology ML-37
Gentoo Base System version 1.12.4
Timestamp of tree: Thu, 10 May 2007 22:30:09 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache digest distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.seren.com/gentoo http://adelie.polymtl.ca/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://pandemonium.tiscali.de/pub/gentoo/"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 a52 aac acpi activefilter aim alsa amd64 apache2 arts bash-completion berkdb bitmap-fonts bluetooth cairo calendar cdinstall cdr cli cracklib crypt cups dbus dga dhcp dri dv dvd dvdr dvdread eds emboss emul-linux-x86 encode esd fam fbcon firefox ftp gdbm gif gnome gnutls gphoto2 gpm gps gstreamer gtk gtk2 hal hpn iconv icq ieee1394 imap ipv6 isdnlog jabber javascript joystick jpeg ldap libg++ mad maildir mailwrapper mcal midi mikmod mime mmap mp3 mpeg mpi mppe-mppc msn ncurses netboot nls nocd nptl nptlonly nsplugin offensive ofx ogg oggvorbis opengl oscar oss pam parse-clocks pcre pda perl png posix ppds pppd python qt3 qt4 quicktime readline reflection rt73usb sasl sdl session shorten simplexml skey slp sockets socks5 spell spl ssl svg tcpd theora threads truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd videos vorbis wifi wxwindows xcomposite xforms xinerama xml xmlrpc xorg xprint xv yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev synaptics joystick mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-14 20:01:31 UTC
gah I hate those postinstall scripts. Cant get them patched enough to honour $D :(


If anyone has a better suggestion how to get those to use $D please tell me.
Comment 2 Sebastian Biallas 2007-05-16 16:18:44 UTC
What's the status of this issue? It's actually a blocker for googleearth -- you can't emerge it.
Comment 3 Daniel Rindt 2007-05-19 17:42:17 UTC
same error here too,but when i try to merge i get first the following error:
=== 8< ===
19:35:37 (1669.67 KB/s) - »/usr/portage/distfiles/GoogleEarthLinux.bin« gespeichert [23852601/23852601]

 * checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                [ ok ]
 * checking GoogleEarthLinux.bin ;-) ...                                                                                                              [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/GoogleEarthLinux.bin
!!! Reason: Filesize does not match recorded size
!!! Got: 23852601
!!! Expected: 21607408
=== 8< ===
after i run:
=== 8< ===
ebuild `equery which x11-misc/googleearth` digest
=== 8< ===
then i get the same error like genstef posted above.
Thanks
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-23 00:12:23 UTC
thank you fixed.
Comment 5 Sergey Ya. Korshunoff 2007-05-23 01:59:49 UTC
(In reply to comment #4)
> thank you fixed.

What is done to fix issue? FEATURE="-sandbox" or something a real fix? portgae from 2007-05-01 don't have a fix
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-23 07:24:16 UTC
some sed lines were added to avoid sandbox violations. The new ebuild can only be received via rsync an hour or two after the commit.