Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96

Summary: sandbox reports access violation if /var/tmp/portage is a symlink
Product: Portage Development Reporter: Vitaly Kushneriuk <vitaly_kushneriuk>
Component: UnclassifiedAssignee: Geert Bevin <gbevin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vitaly Kushneriuk 2002-01-09 10:41:00 UTC
sandbox reports access violation during unpack stage of the ebuild
when /var/tmp/portage is a symlink to other place[X].
To solve the problem I did:

rm -f /var/tmp/portage
mkdir /var/tmp/portage
mount -o bind X /var/tmp/portage

This is just a workaround, I think sandbox should handle this internaly.
Comment 1 Geert Bevin 2002-01-11 14:59:00 UTC
You shouldn't create a symlink, but set the PORTAGE_TMPDIR env var to
/somewhere/place/tmp instead of /var/tmp. The sandbox handles that.