Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30385 - Portage fails if sandboxpids.tmp does not exist
Summary: Portage fails if sandboxpids.tmp does not exist
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-05 06:06 UTC by Philippe Fremy
Modified: 2011-10-30 22:17 UTC (History)
0 users

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 Philippe Fremy 2003-10-05 06:06:58 UTC
I just cleaned my /tmp directory and portage stops working. 
 
werewindle /usr/src/orzel/opale # emerge parted 
Calculating dependencies ...done! 
>>> emerge (1 of 2) sys-fs/progsreiserfs-0.3.0.4 to / 
>>> Downloading 
http://ftp.gentoo.skynet.be/pub/gentoo//distfiles/progsreiserfs-0.3.0.4.tar.gz 
--14:33:05--  
http://ftp.gentoo.skynet.be/pub/gentoo/distfiles/progsreiserfs-0.3.0.4.tar.gz 
           => `/usr/portage/distfiles/progsreiserfs-0.3.0.4.tar.gz' 
Resolving ftp.gentoo.skynet.be... done. 
Connecting to ftp.gentoo.skynet.be[195.238.1.6]:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 308,247 [application/x-tar] 
 
100%[====================================>] 308,247       12.11K/s    ETA 
00:00 
 
14:33:30 (12.11 KB/s) - `/usr/portage/distfiles/progsreiserfs-0.3.0.4.tar.gz' 
saved [308247/308247] 
 
>>> md5 src_uri ;-) progsreiserfs-0.3.0.4.tar.gz 
>>> /tmp/sandboxpids.tmp file mode: r+ open: Permission denied 
>>> pids file write: Illegal seek 
 
Why does portage rely on a file in the /tmp directory ? The permission of /tmp 
haven't changed and are still correct:  
drwsrwsrwt   40 root     root          16K Oct  5 13:40 /tmp/ 
 
werewindle /tmp # emerge info 
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 
2.4.19-gentoo-r9) 
================================================================= 
System uname: 2.4.19-gentoo-r9 i686 Pentium III (Coppermine) 
distcc 2.7.1 i686-pc-linux-gnu (protocol 1) (default port 3632) [disabled] 
ccache version 2.2 [enabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -O3 -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/config" 
CONFIG_PROTECT_MASK="/etc/init.d /etc/gconf /etc/env.d" 
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs sandbox ccache userpriv usersandbox" 
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ 
ftp://ftp.gentoo.skynet.be/pub/gentoo/ 
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo 
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ 
ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ 
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ 
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 
http://www.fhh.opensource-mirror.de/gentoo.org/ 
ftp://ftp.fhh.opensource-mirror.de/pub/gentoo.org/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo 
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.caliu.info/pub/gentoo/ 
ftp://ftp.caliu.info/pub/gentoo/ http://www.ibiblio.org/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 apm avi crypt foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses 
nls pdflib png spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang 
readline arts tetex svga tcltk guile X sdl tcpd pam libwww perl python imlib 
oggvorbis gtk qt kde motif ldap scanner bonobo dvd encode -esd evo flash ggz 
gpm -gnome gphoto2 java libgda mozilla nas opengl oss usb cups alsa ssl 
quicktime" 
 
 
 
 
Another interesting bugs related to the same file: 
http://bugs.gentoo.org/show_bug.cgi?id=21923 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-12-24 12:03:12 UTC
This is remedied in cvs already. It's actually caused by recursive
sandbox runs.