Bug 27070 - xmltv 0.5.16 sandbox violation
Bug#: 27070 Product:  Gentoo Linux Version: 1.4 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: max@gentoo.org Reported By: simca@chello.hu
Component: Applications
URL: 
Summary: xmltv 0.5.16 sandbox violation
Keywords:  
Status Whiteboard: 
Opened: 2003-08-21 12:01 0000
Description:   Opened: 2003-08-21 12:01 0000
Summary says all.

root:/usr/portage# cat /tmp/sandbox-xmltv-0.5.16-23715.log 
unlink:    /usr/bin/perl1061492149
unlink:    /usr/bin/perl1061492155
unlink:    /usr/bin/perl1061492159
root:/usr/portage# emerge info
Portage 2.0.49_pre18 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21-pfeifer
 -r1_pre4-v2)
=================================================================
System uname: 2.4.21-pfeifer-r1_pre4-v2 i686 AMD Athlon(tm) XP 1600+
GENTOO_MIRRORS="http://gentoo.linux.no"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
 /config /usr/X11R6/lib/X11/xkb /usr/kde/cvs/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/portage.local"
USE="x86 oss 3dnow avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mmx mp
 eg ncurses nls pdflib png quicktime truetype xml2 xmms xv zlib alsa gdbm berkdb
  slang readline tcltk guile mysql X sdl tcpd pam libwww ssl perl python imlib
ogg  vorbis gtk qt kde motif opengl mozilla cdr 3ds aavm apache2 curl dga dvd
faad fl  ash gd gtkhtml icc imagemagick ipv6 maildir mbox mcal moznocompose
moznoirc offe  nsive S3TC samba sox sse tiff transcode type1 v4l xface xinerama
xvid -apm -cups   -java -spell -svga -arts -gpm -esd -gnome -ldap"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache userpriv usersandbox"

------- Comment #1 From Roman Valls 2003-08-21 18:42:32 0000 -------
Created an attachment (id=16448) [details]
xmltv sandbox file

I can confirm the bug.

------- Comment #2 From Steven Elling 2003-08-26 20:58:19 0000 -------
Created an attachment (id=16663) [details]
Log Output From emerge xmltv

I get sandbox violations with xmltv 0.5.16 as well.

This probably will not help, but, I can configure/build xmltv manually as a
normal user then su to root and install.

------- Comment #3 From Stefan Andersen 2003-09-06 14:51:29 0000 -------
I get this problem emerg:in version 0.5.17 also

------- Comment #4 From Max Kalika (RETIRED) 2003-09-09 11:35:38 0000 -------
Gah!  I found the problem.  It is line 35 of DateManip.pm.  As part of taint 
check it tries to unlink this file.  I'll update further as I get closer to 
finding a fix. 

------- Comment #5 From Max Kalika (RETIRED) 2003-09-10 12:11:18 0000 -------
I added a patch to DateManip, and bumped version. This should fix the sandbox 
problems.