Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336397 - dev-lang/snobol-1.1: sandbox violations due to `emerge info` execution
Summary: dev-lang/snobol-1.1: sandbox violations due to `emerge info` execution
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-08 00:25 UTC by Chuck Wegrzyn
Modified: 2013-04-06 12:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---
robbat2: Bugday+


Attachments
Build log (build.log,23.73 KB, text/plain)
2010-09-08 00:26 UTC, Chuck Wegrzyn
Details
sandbox log (sandbox-14312.log,2.16 KB, text/plain)
2010-09-08 00:26 UTC, Chuck Wegrzyn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chuck Wegrzyn 2010-09-08 00:25:07 UTC
I did an "emerge snobol" and get an sandbox violation. 

Reproducible: Always

Steps to Reproduce:
1.emerge snobol
2.
3.

Actual Results:  
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-14312.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: /var/log/emerge.log
A: /var/log/emerge.log
R: /var/log/emerge.log
C: /usr/bin/python2.6 /usr/bin/emerge info 

F: open_wr
S: deny
P: /var/log/emerge.log
A: /var/log/emerge.log
R: /var/log/emerge.log
C: /usr/bin/python2.6 /usr/bin/emerge info 

F: chown
S: deny
P: /var/lib/gentoo/news/.news-gentoo.unread.portage_lockfile
A: /var/lib/gentoo/news/.news-gentoo.unread.portage_lockfile
R: /var/lib/gentoo/news/.news-gentoo.unread.portage_lockfile
C: /usr/bin/python2.6 /usr/bin/emerge info 

F: unlink
S: deny
P: /var/lib/gentoo/news/.news-gentoo.unread.portage_lockfile
A: /var/lib/gentoo/news/.news-gentoo.unread.portage_lockfile
R: /var/lib/gentoo/news/.news-gentoo.unread.portage_lockfile
C: /usr/bin/python2.6 /usr/bin/emerge info 

F: open_wr
S: deny
P: /var/cache/edb/vdb_blockers.pickle.15429
A: /var/cache/edb/vdb_blockers.pickle.15429
R: /var/cache/edb/vdb_blockers.pickle.15429
C: /usr/bin/python2.6 /usr/bin/emerge info 

F: unlink
S: deny
P: /var/lib/portage/.world.portage_lockfile
A: /var/lib/portage/.world.portage_lockfile
R: /var/lib/portage/.world.portage_lockfile
C: /usr/bin/python2.6 /usr/bin/emerge info 

F: open_wr
S: deny
P: /var/log/emerge-fetch.log
A: /var/log/emerge-fetch.log
R: /var/log/emerge-fetch.log
C: /usr/bin/python2.6 /usr/bin/emerge info 

F: open_wr
S: deny
P: /var/cache/edb/mtimedb.15429
A: /var/cache/edb/mtimedb.15429
R: /var/cache/edb/mtimedb.15429
C: /usr/bin/python2.6 /usr/bin/emerge info 

F: open_wr
S: deny
P: /var/log/emerge.log
A: /var/log/emerge.log
R: /var/log/emerge.log
C: /usr/bin/python2.6 /usr/bin/emerge info 

F: open_wr
S: deny
P: /var/log/emerge.log
A: /var/log/emerge.log
R: /var/log/emerge.log
C: /usr/bin/python2.6 /usr/bin/emerge info 

F: open_wr
S: deny
P: /var/log/emerge-fetch.log
A: /var/log/emerge-fetch.log
R: /var/log/emerge-fetch.log
C: /usr/bin/python2.6 /usr/bin/emerge info 

F: open_wr
S: deny
P: /var/log/emerge.log
A: /var/log/emerge.log
R: /var/log/emerge.log
C: /usr/bin/python2.6 /usr/bin/emerge info 
--------------------------------------------------------------------------------

>>> Failed to emerge dev-lang/snobol-1.1, Log file:

>>>  '/var/tmp/portage/dev-lang/snobol-1.1/temp/build.log'

 * GNU info directory index is up-to-date.


Expected Results:  
For the thing to install correctly.

emerge --info
Portage 2.1.9.1 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r5-i686-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 07 Sep 2010 22:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -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/gentoo-release /etc/portage /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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.gentoo.org/gentoo-portage"
USE="X acl alsa assistant berkdb bzip2 cdda cleartype cli clucene consolekit cracklib crypt cups curl cxx dbus dri embedded extensions extras flac fontconfig fortran fts3 gdbm gnutls google-gadgets gpg gpm hal iconv iplsrc ipv6 jabber java jingle jpeg kde lastfm ldap mad mng modules mp3 mp4 msn mtp mudflap mysql ncurses nls nptl nptlonly nsplugin nss ogg opengl openmp openssl oscar otr pam pcre pdf perl plasma plugins-symlink png pppd python qt3support qt4 qthelp readline reflection rss rtsp script sctp sdk semantic-desktop session skype smartcard smp sms soundex spl sql sqlite sqlite3 ssl startup-notification static-libs subversion svg sysfs syslog tcpd threads thunar tiff truetype udev unicode unlock-notify upnp vboxwebsrv vcdx vorbis webinterface webkit win32codecs wireshark wxwidgets x264 x86 xfce xinerama xorg yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeon radeonhd" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Chuck Wegrzyn 2010-09-08 00:26:08 UTC
Created attachment 246408 [details]
Build log
Comment 2 Chuck Wegrzyn 2010-09-08 00:26:58 UTC
Created attachment 246409 [details]
sandbox log
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-11 18:11:41 UTC
Could you reproduce the bug with portage-2.1.9.3? Or 2.1.8.*?
Comment 4 Chuck Wegrzyn 2010-09-12 12:21:41 UTC
It happens with 2.1.8.3, 2.1.9.3 and the latest 2.1.9.4. I also tried 2.1.7.17 and 2.1.6.13. It failed in the same way with 2.1.7.17, and didn't even get off the ground with 2.1.6.13.

Hope this helps.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-12 16:39:27 UTC
Thanks for the effort. This is indeed a strange issue and I am able to reproduce it. 
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-12 16:40:32 UTC
Just for the record:

Portage 2.2_rc79 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.36-rc3-pomiocik+ x86_64)
=================================================================
System uname: Linux-2.6.36-rc3-pomiocik+-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T2330_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 12 Sep 2010 07:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.5-r3, 2.7, 3.0.1::python, 3.1.2-r4, 3.2_pre20100815::python
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     9999
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/local/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --keep-going"
FEATURES="assume-digests collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS=""
MAKEOPTS="-j3"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --times --compress --force --whole-file --delete --stats --timeout=45 --exclude=/distfiles --exclude=/packages --exclude=/local"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/gamerlay /usr/portage/local/games /usr/portage/local/java-overlay /usr/portage/local/kde-sunset /usr/portage/local/qting-edge /usr/portage/local/x11 /usr/portage/local/perl-experimental /usr/portage/local/python /usr/portage/local/sunrise /usr/portage/local/science /usr/portage/local/gnome /home/mgorny/git/emdzientoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion bluetooth branding bzip2 cairo caps cdr cli consolekit cracklib crypt cups curl cxx dbus dirac directfb djvu dri dts dvd dvdr emboss encode exif expat fam fbcon fftw filecaps firefox flac fontconfig fortran gd gdbm gif gmp gnome-keyring gnutls gpm graphviz gtk iconv icu idn imagemagick ipv6 java6 jbig jpeg jpeg2k kate lapack lcms libedit libnotify libproxy mad matroska mikmod mmap mmx mmxext mng modules mp3 mp4 mpeg mtp mudflap multilib ncurses nptl nptlonly ogg opencore-amr openexr opengl openmp pam pango pch pcre pdf perl png ppds pppd python qt3support qt4 raw readline reflection schroedinger sdl session slang smp sndfile speex spell sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff timidity truetype unicode usb v4l2 vcd vim-syntax vorbis wavpack wifi wmf x264 xcb xcomposite xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="artec_eplus48u" USERLAND="GNU" VIDEO_CARDS="fbdev r300 r600 radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Aaron W. Swenson gentoo-dev 2013-04-06 12:14:58 UTC
*snobol-1.4.1 (06 Apr 2013)

  06 Apr 2013; Aaron W. Swenson <titanofold@gentoo.org> +snobol-1.4.1.ebuild:
  Gentoo Bug Day bump and fixes bug 299429 and bug 336397.