Re: [gentoo-user] Sandbox violation emerging media-gfx/dcraw-8.73

2010-02-22 Thread Arttu V.
On 2/22/10, John H. Moe john...@optusnet.com.au wrote:
 From the looks of things, it's trying to install a file directly to the
 filesystem outside the /var/tmp sandbox.  I believe this is a bug that
 needs reporting, but before I did that, I thought I'd check to be sure
 it wasn't something I was doing wrong.  Can can someone more
 knowledgeable than me advise?

Could it be bug #306177? Looks a lot like your case.

http://bugs.gentoo.org/show_bug.cgi?id=306177

-- 
Arttu V.



Re: [gentoo-user] Sandbox violation emerging media-gfx/dcraw-8.73

2010-02-22 Thread John H. Moe
Arttu V. wrote:
 On 2/22/10, John H. Moe john...@optusnet.com.au wrote:
   
 From the looks of things, it's trying to install a file directly to the
 filesystem outside the /var/tmp sandbox.  I believe this is a bug that
 needs reporting, but before I did that, I thought I'd check to be sure
 it wasn't something I was doing wrong.  Can can someone more
 knowledgeable than me advise?
 

 Could it be bug #306177? Looks a lot like your case.

 http://bugs.gentoo.org/show_bug.cgi?id=306177

   
Perfect, thank you.  :-)  I had searched bugs.gentoo.org before, but
obviously not thoroughly enough...

John Moe



[gentoo-user] Sandbox violation emerging media-gfx/dcraw-8.73

2010-02-21 Thread John H. Moe
When trying to emerge the Thunar thumbnailer plugin, it pulls in dcraw. 
However, after successfully compiling dcraw, I get the following error
when make gets to the install phase:

**

 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 -j5 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/

--- ACCESS VIOLATION SUMMARY
---
LOG FILE /var/log/sandbox/sandbox-9890.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


 Failed to emerge media-gfx/dcraw-8.73, Log file:

  '/var/tmp/portage/media-gfx/dcraw-8.73/temp/build.log'

**

From the looks of things, it's trying to install a file directly to the
filesystem outside the /var/tmp sandbox.  I believe this is a bug that
needs reporting, but before I did that, I thought I'd check to be sure
it wasn't something I was doing wrong.  Can can someone more
knowledgeable than me advise?

I've attached emerge --info and the full build log file for reference.

John Moe
Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 
2.6.31-gentoo-r6 i686)
=
System uname: 
Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_3.40GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 21 Feb 2010 20:15:02 +
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash: 4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python: 2.6.4
dev-util/cmake:  2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:   4.3.4
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=* -...@eula
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=native -fomit-frame-pointer -O2 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /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/php/apache2-php5/ext-active/ 
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo /etc/udev/rules.d
CXXFLAGS=-march=native -fomit-frame-pointer -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests distcc distlocks fixpackages news parallel-fetch 
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch
GENTOO_MIRRORS=ftp://jhb5970 ftp://ftp.swin.edu.au/gentoo 
ftp://ftp.planetmirror.com/pub/gentoo;
LANG=en_AU
LC_ALL=en_AU
LDFLAGS=-Wl,-O1
LINGUAS=en_AU en en_GB en_US
MAKEOPTS=-j5
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/layman/sunrise
SYNC=rsync://jhb5970/gentoo-portage
USE=X a52 aac acl acpi aim alsa apache2 bash-completion berkdb branding bzip2 
cdda cddb cdinstall cdr cli cracklib crypt css cups cxx dbus dri dvd dvdr 
encode exif ffmpeg firefox flac fortran ftp gdbm gif gimp gpm gtk gzip hal 
hddtemp iconv icq imap jbig joystick jpeg jpeg2k kde libnotify lm_sensors lzo 
matroska mng modules mp3 mp4 mpeg mplayer msn mudflap mysql mysqli ncurses nls 
nptl nptlonly nsplugin offensive ogg openexr opengl openmp oscar pam pcre pdf 
perl php plasma png pppd python qt3support qt4 quicktime raw rdesktop readline 
reflection samba semantic-desktop session spl sql ssl startup-notification svg 
sysfs szip taglib tcpd theora tiff truetype unicode usb v4l v4l2 vcd vnc vorbis 
wavpack