Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267023 - media-gfx/truevision-0.5.5.2 - sandbox violation
Summary: media-gfx/truevision-0.5.5.2 - sandbox violation
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-21 21:16 UTC by Geert Vanhaute
Modified: 2015-01-07 19:30 UTC (History)
2 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 Geert Vanhaute 2009-04-21 21:16:10 UTC
Emerging causes a sandbox violation on the file /usr/share/applications/defaults.list

Reproducible: Always

Steps to Reproduce:
1. emerge truevision
2.
3.

Actual Results:  
make  install-data-hook
make[3]: Entering directory `/var/tmp/portage/media-gfx/truevision-0.5.5.2/work/truevision-0.5.5'
export GNOME_MAGIC=/etc/gnome-vfs-mime-magic ; \
	if [ -f $GNOME_MAGIC ]; then \
	if ! grep "TRUEVISION" $GNOME_MAGIC; then \
	cp /etc/gnome-vfs-mime-magic .;	\
	echo -e "0\tstring\t\tTRUEVISION SCENE\t\t\tapplication/x-truevision" >> gnome-vfs-mime-magic;	\
	mkdir /var/tmp/portage/media-gfx/truevision-0.5.5.2/image//etc; \
	cp gnome-vfs-mime-magic /var/tmp/portage/media-gfx/truevision-0.5.5.2/image//etc/gnome-vfs-mime-magic; \
	fi \
	fi ; \
	export DEFAULTS=/usr/share/applications/defaults.list ; \
	if [ -f $DEFAULTS ]; then \
	if ! grep "truevision" $DEFAULTS; then \
	echo -e "application/x-truevision=truevision.desktop" >> $DEFAULTS; \
	fi \
	fi ; \

0	string		TRUEVISION SCENE			application/x-truevision
ACCESS DENIED  open_wr:      /usr/share/applications/defaults.list
/bin/sh: line 12: /usr/share/applications/defaults.list: Permission denied
make[3]: [install-data-hook] Error 1 (ignored)
make[3]: Leaving directory `/var/tmp/portage/media-gfx/truevision-0.5.5.2/work/truevision-0.5.5'
make[2]: Leaving directory `/var/tmp/portage/media-gfx/truevision-0.5.5.2/work/truevision-0.5.5'
make[1]: Leaving directory `/var/tmp/portage/media-gfx/truevision-0.5.5.2/work/truevision-0.5.5'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-8001.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: open_wr
S: deny
P: /usr/share/applications/defaults.list
A: /usr/share/applications/defaults.list
R: /usr/share/applications/defaults.list
C: /bin/sh -c export GNOME_MAGIC=/etc/gnome-vfs-mime-magic ; \
if [ -f $GNOME_MAGIC ]; then \
if ! grep "TRUEVISION" $GNOME_MAGIC; then \
cp /etc/gnome-vfs-mime-magic .;	\
echo -e "0\tstring\t\tTRUEVISION SCENE\t\t\tapplication/x-truevision" >> gnome-vfs-mime-magic;	\
mkdir /var/tmp/portage/media-gfx/truevision-0.5.5.2/image//etc; \
cp gnome-vfs-mime-magic /var/tmp/portage/media-gfx/truevision-0.5.5.2/image//etc/gnome-vfs-mime-magic; \
fi \
fi ; \
export DEFAULTS=/usr/share/applications/defaults.list ; \
if [ -f $DEFAULTS ]; then \
if ! grep "truevision" $DEFAULTS; then \
echo -e "application/x-truevision=truevision.desktop" >> $DEFAULTS; \
fi \
fi ; \
 
--------------------------------------------------------------------------------

 * Messages for package media-gfx/truevision-0.5.5.2:

 * Applying truevision-0.5.5.2-makefile-mime-magic.patch ...
 * Applying truevision-0.5.5.2-gcc4.diff.bz2 ...
 * Applying truevision-0.5.5.2-gcc43.patch ...


Expected Results:  
Installation of truevision of course ;-)
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-23 20:24:21 UTC
Please post your "emerge --info".
Comment 2 Geert Vanhaute 2009-04-25 10:56:37 UTC
# emerge --info
Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-zen1 x86_64)
=================================================================
System uname: Linux-2.6.29-zen1-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.0
Timestamp of tree: Sat, 25 Apr 2009 09:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.6.2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
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.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.muntinternet.net/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.tiscali.nl/"
LANG="nl_BE@euro"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -s"
LINGUAS="en en_GB nl"
MAKEOPTS="-j3"
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 /usr/portage/local/layman/arcon /usr/portage/local/layman/berkano /usr/portage/local/layman/java-experimental /usr/portage/local/layman/portato /usr/portage/local/layman/sunrise /usr/portage/local/layman/zen-overlay /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/science /usr/portage/local/layman/jyujin"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi aften alsa amd64 amr amrnb amrwb artworkextra audacious bash-completion berkdb binary-drivers bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cleartype cli cracklib crypt cups curl custom-cpuopts cxx dbus directfb divx dri dts dvd dvdr dvdread eds emboss emerald enchant encode equalizer esd evo exif extrafilters fam fbcon fbcondecor fbsplash ffmpeg fftw firefox flac fontconfig fortran ftp gcdmaster gd gdbm gif gimp glitz gmedia gnome gnome-keyring gnomecd gphoto2 gpm gs gstreamer gtk guile hal hddtemp iconv id3tag imagemagick imap imlib inkjar irmc isdnlog jack java javascript jbig jpeg jpeg2k lame lcms libnotify libsexy libwww lm_sensors logrotate lzma mad matroska midi mikmod mmkeys mmx mmxext mng mp160 mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack nano-syntax nautilus ncurses networking nls nptl nptlonly nsplugin ntfs nvidia obex objc objc++ objc-gc ogg openexr opengl openmp pam password paste64 pcre pda pdf perl plugins png pop ppds pppd python quicktime readline realmedia reflection reiser4 rtc rtsp scanner scheme sdl sdl-image session smp sms sounds spell spl srt sse sse2 sse3 ssl ssse3 startup-notification subtitles svg swat sysfs tcpd test-programs threads threadsafe tiff tk totem tracker trayicon truetype twolame unicode unsupported upnp usb userlocales userpriv utils vorbis wifi wma wmf wmp wxwindows x264 xcb xcomposite xml xorg xosd xprint xrandr xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="directory lg_gsm" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Pacho Ramos gentoo-dev 2015-01-07 19:30:58 UTC
the package was dropped