Bug 105503 - net-print/foomatic-db-20050910: sandbox violation (fix attached)
Bug#: 105503 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: printing@gentoo.org Reported By: joshuabaergen@gentoo.org
Component: Printing
URL: 
Summary: net-print/foomatic-db-20050910: sandbox violation (fix attached)
Keywords:  
Status Whiteboard: 
Opened: 2005-09-10 09:46 0000
Description:   Opened: 2005-09-10 09:46 0000
A sandbox violation occurs when the filters installer attempts to create a
symlink for cups.  This symlink is already handled by the ebuild.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Joshua Baergen (RETIRED) 2005-09-10 09:47:52 0000 -------
Created an attachment (id=68126) [details]
fix-sandbox-20050910.patch

------- Comment #2 From Joshua Baergen (RETIRED) 2005-09-10 09:48:37 0000 -------
Created an attachment (id=68127) [details]
foomatic-db-20050910.ebuild

Ebuild that uses the patch in the appropriate place.

------- Comment #3 From Joshua Baergen (RETIRED) 2005-09-10 10:19:12 0000 -------
Committed.

------- Comment #4 From Piojo 2005-09-10 20:12:54 0000 -------
Created an attachment (id=68155) [details]
The output file for the failed patch.

------- Comment #5 From Piojo 2005-09-10 20:14:21 0000 -------
The patch does not apply. This is the output I get:   
   
 * Applying fix-sandbox-20050910.patch ...   
   
 * Failed Patch: fix-sandbox-20050910.patch !   
 *  ( /usr/portage/net-print/foomatic-db/files/fix-sandbox-20050910.patch )   
 *   
 * Include in your bugreport the contents of:   
 *   
   
*   /var/tmp/portage/foomatic-db-20050910/temp/fix-sandbox-20050910.patch-21067.out   
---   
   
My emerge info:   
   
Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,   
2.6.13-gentoo i686)   
=================================================================   
System uname: 2.6.13-gentoo i686 AMD Athlon(tm) XP 2800+   
Gentoo Base System version 1.12.0_pre8   
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)   
[disabled]   
dev-lang/python:     2.3.5, 2.4.1-r1   
sys-apps/sandbox:    1.2.12   
sys-devel/autoconf:  2.13, 2.59-r7   
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6   
sys-devel/binutils:  2.16.1   
sys-devel/libtool:   1.5.20   
virtual/os-headers:  2.6.11-r2   
ACCEPT_KEYWORDS="x86 ~x86"   
AUTOCLEAN="yes"   
CBUILD="i686-pc-linux-gnu"   
CFLAGS="-O3 -march=athlon-xp -pipe -mmmx -m3dnow -ffast-math   
-fomit-frame-pointer -msse -mfpmath=sse,387 -maccumulate-outgoing-args   
-fprefetch-loop-arrays -momit-leaf-frame-pointer"   
CHOST="i686-pc-linux-gnu"   
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"   
CONFIG_PROTECT_MASK="/etc/conf.d/net /etc/conf.d/rc /etc/fstab /etc/gconf /etc/locales.build /etc/make.conf /etc/rc.conf /etc/services /etc/splash /etc/sudoers /etc/terminfo /etc/texmf/web2c /etc/env.d"   
CXXFLAGS="-O3 -march=athlon-xp -pipe -mmmx -m3dnow -ffast-math   
-fomit-frame-pointer -msse -mfpmath=sse,387 -maccumulate-outgoing-args   
-fprefetch-loop-arrays -momit-leaf-frame-pointer -fvisibility-inlines-hidden"   
DISTDIR="/usr/portage/distfiles"   
FEATURES="autoconfig candy distlocks sandbox sfperms strict userpriv   
usersandbox"   
GENTOO_MIRRORS="http://gentoo.mirror.icd.hu/ http://linuv.uv.es/mirror/gentoo/   
http://gd.tuwien.ac.at/opsys/linux/gentoo/"   
LANG="es_ES@euro"   
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"   
LINGUAS="es"   
MAKEOPTS="-j2"   
PKGDIR="/usr/portage/packages"   
PORTAGE_TMPDIR="/var/tmp"   
PORTDIR="/usr/portage"   
PORTDIR_OVERLAY="/usr/local/portage"   
SYNC="rsync://rsync.gentoo.org/gentoo-portage"   
USE="x86 3dnow 3dnowext X aac alsa apm arts avi bash-completion berkdb   
bitmap-fonts bootsplash cdparanoia cdr crypt cups dvd eds emacs encode fam flac   
foomaticdb fortran gd gdbm gif gimp gimpprint glut gmail gmp gtk gtk2   
imagemagick imlib java jpeg jpeg2k kde kdeenablefinal libg++ libwww mad mikmod   
mmx mmx2 mmxext motif moznocompose moznoirc moznomail mp3 mpeg mplayer ncurses   
nls no-old-linux nptl nvidia ogg oggvorbis opengl pam pdflib perl png postgres   
python qt quicktime readline rtc scanner sdl spell sse ssl svg svga symlink   
tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb   
userlocales vorbis win32codecs xine xml2 xv xvid zlib linguas_es userland_GNU   
kernel_linux elibc_glibc"   
Unset:  ASFLAGS, CTARGET, LC_ALL   
---   
   
I've already attached the patch output file.    

------- Comment #6 From Stefan Schweizer 2005-09-11 00:16:04 0000 -------
FIXED, problem was that the patch was applied unconditionally, thanks