Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27528 - courier-imap-2.1.1 sandbox violation
Summary: courier-imap-2.1.1 sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 28070
  Show dependency tree
 
Reported: 2003-08-29 05:54 UTC by Brandy Westcott (RETIRED)
Modified: 2003-09-11 14:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brandy Westcott (RETIRED) gentoo-dev 2003-08-29 05:54:59 UTC
courier-imap-2.1.1 halts with the sandbox violation: 
 
---------------------- ACCESS VIOLATION SUMMARY ---------------------- 
LOG FILE = "/tmp/sandbox-courier-imap-2.1.1-10952.log" 
 
open_wr:   /var/lib/rpm/__db.Name. 
-------------------------------------------------------------------------------- 
 
This is caused by the configure script checking to see if we are installing on 
a RedHat machine: 
 
	if rpm -q redhat-release >/dev/null 2>/dev/null && test "$redhat" = "no" 
	then 
		..... 
 
Needless to say the execution of "rpm -q redhat-release" causes the 
sandbox violation. Thankfully it's easy to fix; the courier-imap-2.1.1 
ebuild should include: 
 
	myconf="${myconf} --without-redhat" 
 

Reproducible: Always
Steps to Reproduce:
 



Portage 2.0.49-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6) 
================================================================= 
System uname: 2.4.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz 
ccache version 2.2 [enabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" 
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox autoaddcvs ccache" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 oss apm avi crypt cups encode foomaticdb gif gpm jpeg gnome libg++ 
mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms 
xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga java X sdl tcpd pam 
libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl 3dfx cdr doc dvd 
sse tcltk tetex -3dnow"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-03 02:59:23 UTC
fixed in CVS.