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

Bug 239530

Summary: unable to merge sun-jdk with /var/tmp on ramfs
Product: Gentoo Linux Reporter: Jaco Kroon <jaco>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jaco Kroon 2008-10-04 12:34:32 UTC
Hi,

For various reasons I'm running /var/tmp on a ramfs, and with this configuration I'm unable to merge sun-jdk, it complains that there isn't sufficient disk space available.

It seems to be using a "free" checker of sorts to determine wither sufficient space will be available, due to the way ramfs functions, this will always fail as ramfs always has exactly 0 bytes free according to df.

Suggestion: Create a patch to the jdk-*.bin files that skips this checks if /var/tmp/portage/ resides on ramfs.

Workaround, remount /var with exec, then umount /var/tmp, when done, remount /var with noexec, and remount /var/tmp.

Reproducible: Always

Steps to Reproduce:
Comment 1 Alistair Bush (RETIRED) gentoo-dev 2010-03-09 11:01:13 UTC

*** This bug has been marked as a duplicate of bug 218911 ***