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

Bug 2379

Summary: emerge Problems when there is a link in /var/tmp or /var/tmp/portage
Product: Portage Development Reporter: Markinho <markinho>
Component: UnclassifiedAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: normal CC: markinho
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Markinho 2002-05-03 04:09:44 UTC
I'm using automount to mount the nesseceary partitions for emerge und kernel.
The automount directory is at /mnt/.systemExtension
So My secondary HDD only needs to spin up when building a kernel or mergings 
something.
The directory /var/tmp is a link to /mnt/.systemExtension/portageTemp.
But with this configuration emerge goes crazy and seems to extract the sources 
to /var/tmp/packages-source instead of /var/tmp/portage/package-source
So every emerge fails.
It is unimportant whether /var/tmp is a link or /var/tmp/portage same error

Workaround: not really ;-)

Mounting the Partition directly to /var/tmp/ and everthing is fine except ...
The automounting and links :-(
Comment 1 Markinho 2002-05-03 04:25:44 UTC
another Workaround: make an separate autmount entry for /var/tmp
Comment 2 Ole Tange 2002-06-27 17:59:08 UTC
It seems to be the same bug as 4256.

4256 does not work either /var or /var/tmp is a link. I am guessing the problem
is a simple test that test if /var is a dir. The test should be if what /var
links to is a dir.
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-07-11 03:11:12 UTC
Fixed in Portage 2.0.12