Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302996 - media-gfx/dcraw-8.73 throws a sandbox violation
Summary: media-gfx/dcraw-8.73 throws a sandbox violation
Status: RESOLVED DUPLICATE of bug 240648
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-31 16:07 UTC by Sascha Wuestemann
Modified: 2010-02-10 07:05 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 Sascha Wuestemann 2010-01-31 16:07:18 UTC
When emerging media-gfx/dcraw-8.73 it compiles fine. When installing into the sandbox, "cp rawphoto /usr/lib/gimp/2.0/plug-ins" breaks the sandbox and install fails.

Reproducible: Always

Steps to Reproduce:
1. emerge -av media-gfx/dcraw
2.
3.

Actual Results:  
Sandbox violation fails install.

Expected Results:  
Should not happen

emerge --info:
--------------
Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-AMD_Athlon-tm-_XP_2800+-with-gentoo-1.12.13
Timestamp of tree: Sun, 31 Jan 2010 15:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.4
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer"
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo caps cdb cdda cddax cddb cdinstall cdio cdparanoia cdr cli consolekit cracklib crypt css cups curl curlwrappers cxx dbus dga directfb dri dts dv dvd dvdr dvdread eds emboss encode enscript evo exif fam fbcon ffmpeg firefox flac fortran ftp gd gdbm geoip gif gimp gnome gnome-keyring gnutls gpm gstreamer gtk gzip hal hardened iconv icq icu idn ieee1394 imagemagick imap imlib ipv6 jabber java java6 javascript jbig jpeg jpeg2k lame ldap libnotify lm_sensors loop-aes mad maildir matroska mikmod mime mmap mmx mng modules mp3 mp4 mpeg mplayer mudflap ncurses netboot nls nntp nocd nptl nptlonly offensive ogg opengl openmp oscar pam pcre pda pdf perl png posix ppds pppd python qt3support qt4 quicktime raw readline recode reflection rss samba sdl session sharedmem sockets socks5 sox speex spell spl sse ssl startup-notification svg svga sysfs syslog tcpd theora threads thunar tidy tiff truetype unicode usb v4l2 vcd videos vnc vorbis win32codecs x264 x86 xine xinetd xml xorg xosd xpm xulrunner xv xvid zlib" ALSA_CARDS="via82xx" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon ati fbdev v4l vesa vga" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

snippet of sandbox violation:
-----------------------------

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-26246.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/lib/gimp/2.0/plug-ins/rawphoto
A: /usr/lib/gimp/2.0/plug-ins/rawphoto
R: /usr/lib/gimp/2.0/plug-ins/rawphoto
C: cp rawphoto /usr/lib/gimp/2.0/plug-ins 
--------------------------------------------------------------------------------

snippet of build.log:
---------------------

>>> Source compiled.
>>> Test phase [not enabled]: media-gfx/dcraw-8.73

>>> Install dcraw-8.73 into /var/tmp/portage/media-gfx/dcraw-8.73/image/ category media-gfx
make -j2 DESTDIR=/var/tmp/portage/media-gfx/dcraw-8.73/image/ install 
/usr/bin/install -d /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install dcraw /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install dcparse /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install -d /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
/usr/bin/install dcraw.1 /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
cp rawphoto /usr/lib/gimp/2.0/plug-ins
ACCESS DENIED  open_wr:      /usr/lib/gimp/2.0/plug-ins/rawphoto
cp: cannot create regular file `/usr/lib/gimp/2.0/plug-ins/rawphoto': Permission denied
>>> Completed installing dcraw-8.73 into /var/tmp/portage/media-gfx/dcraw-8.73/image/
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-02-10 07:05:13 UTC
Newer version should work. And I fill in stabilization request for it in a moment.

*** This bug has been marked as a duplicate of bug 240648 ***