Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239530 - unable to merge sun-jdk with /var/tmp on ramfs
Summary: unable to merge sun-jdk with /var/tmp on ramfs
Status: RESOLVED DUPLICATE of bug 218911
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-04 12:34 UTC by Jaco Kroon
Modified: 2010-03-09 11:01 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 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 ***