Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79068 - ethereal-0.10.9-r1 sandbox error
Summary: ethereal-0.10.9-r1 sandbox error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-22 04:08 UTC by Colin Tinker
Modified: 2005-01-25 02:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
log file for sandbox error (sandbox-net-analyzer_-_ethereal-0.10.9-r1-17474.log,39 bytes, text/x-log)
2005-01-22 04:10 UTC, Colin Tinker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Tinker 2005-01-22 04:08:29 UTC
/usr/bin/pod2html                    \
--title="ethereal-filter - The Ethereal Network Analyzer 0.10.9" \
--noindex                                 \
ethereal-filter.pod > ../ethereal-filter.html
ACCESS DENIED  open_wr:   /usr/share/snmp/mibs/.index
make[3]: Leaving directory `/var/tmp/portage/ethereal-0.10.9-r1/work/ethereal-0.10.9/doc'
/usr/bin/pod2man                     \
--section=4 \
--center="The Ethereal Network Analyzer" \
--release=0.10.9                         \
ethereal-filter.pod > ../ethereal-filter.4
make[3]: Leaving directory `/var/tmp/portage/ethereal-0.10.9-r1/work/ethereal-0.10.9/doc'
make[2]: Leaving directory `/var/tmp/portage/ethereal-0.10.9-r1/work/ethereal-0.10.9'
make[1]: Leaving directory `/var/tmp/portage/ethereal-0.10.9-r1/work/ethereal-0.10.9'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-analyzer_-_ethereal-0.10.9-r1-17474.log"

open_wr:   /usr/share/snmp/mibs/.index
--------------------------------------------------------------------------------


Reproducible: Always
Steps to Reproduce:
1.emerge ethereal
2.
3.

Actual Results:  
sandbox error  

Expected Results:  
emerge sucessfully  

emerge info 
Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.4.3, 
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686) 
================================================================= 
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) processor 
Gentoo Base System version 1.6.8 
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 23 2004, 18:09:24)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.4 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r2 
sys-devel/libtool:   1.5.10-r3 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-mtune=athlon-xp -march=athlon-xp -pipe -O2" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -pipe -O2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig buildpkg ccache clean distcc distlocks 
fixpackages sandbox sfperms userpriv usersandbox" 
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ 
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 3dnow 3dnowex X X509 a52 aac aalib acpi acpi4linux aim alsa apm arts 
artworkextra audiofile avantgo avi bash-completion berkdb bidi bitmap-fonts 
bluetooth bonobo bootsplash cddb cdparanoia cdr chroot codecs crypt css ctype 
cups dga dhcp dio directfb divx4linux dts dvb dvd dvdr dvdread eds encode esd 
ethereal evo exif ext-zlib extensions f77 fam fame fbcon fftw flac font-server 
foomaticdbfortran freetype gd gdbm gif gimp gimpprint gmail gnokii gnome 
gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq idea ieee1394 imagemagick imlib 
imlib2 innodb ipv6 irda irmc ithreads jabber java joystick jp2 jpeg jpeg2k 
junit justify kde kdexdeltas ldap libg++ libwww live lm_sensors lzo lzw-tiff 
mad mikmod mime mmx mmx2 mng monkey motif mozcalendar mozp3p mozsvg mozxmlterm 
mpeg msn mysql nas ncurses network nls no-old-linux nocd nptl nvidia offensive 
oggvorbis opengl opie oscar osspam pcap pcre pda pdflib perl pic pie png 
postgres pthreads python qt quicktimereadline real ruby samba scanner sdl silc 
skey slang smime sms snmp sockets soxspeedo speex spell sse ssl svg svga t1lib 
tcltk tcpd test tga theora threads tiff transcode truetype truetype-fonts 
type1-fonts usb usepackagedmakefiles userlocales uudeview v4l v4l2 vim-with-x 
wifi wmf xanim xine xml xml2 xmms xosd xprintxscreensaver xv xvid xvmc yahoo 
zlib zvbi linguas_en_GB" 
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Colin Tinker 2005-01-22 04:10:35 UTC
Created attachment 49185 [details]
log file for sandbox error

log file for sandbox error
Comment 2 Colin Tinker 2005-01-22 16:53:48 UTC
As this is a security fix raising the priority
Comment 3 Daniel Black (RETIRED) gentoo-dev 2005-01-22 17:02:47 UTC
0.10.9 was the security fix. yes this will get fixed.
Comment 4 Aaron Walker (RETIRED) gentoo-dev 2005-01-25 02:39:06 UTC
Ok, this one was a PITA to find (the fun ones always are ;p).  During the
build process, when building the manual/html pages, it runs an internal copy
of tethereal (${S}/.libs/lt-tethereal) which is linked with the various
dependency libs, and parses it's output to produce the docs.  At some point
some libnetsnmp function is invoked, and libnetsnmp itself causes the access
violation.  Looking at the libnetsnmp code revealed that it first checks for
the env variable MIBDIRS. If it's not set, libnetsnmp uses a default value
"$HOME/.snmp:/usr/share/snmp".  Simply exporting MIBDIRS to
${D}/usr/share/snmp prior to emake solves the problem.

Long story short, it's fixed ;)  Thanks for the report.