Red Hat Bugzilla – Bug 110500
BUILDINSTALL temp files in /tmp blows away system with small partition
Last modified: 2007-11-30 17:10:33 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4)
Gecko/20030624 Netscape/7.1 (ax)
Description of problem:
When running buildinstall on one of our systems, it filled /tmp up
with it images and then the machine started to fail. (ROOT is running
I have attached patches to 9.2-2 which allows a different temp
directory to be set and defaults to /var/tmp.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run buildinstall with < 512M of /tmp and a big image
Created attachment 96082 [details]
Adds a --tempdir argument to buildinstall
This patch needs the quotes fix for buildinstall previously published.
Updated patches for anaconda to support tempdir in the latest release.
Patch also adds kerberos libraries to the LD_LIBRARY_PATH inside
init.c. This does not seem to be needed with latest kerberos
installation but was causing failures on earlier builds.
Added 8139too and mii to loaded modules in the i386 images.
Modified mk-images.i386 to allow c3 and i386 architectures for pxeboot.
Fixed == typo in scrubtree and upd-instroot.
Created attachment 99894 [details]
Patch to latest anaconda baseline
run with -p1 to apply
Created attachment 99895 [details]
Patch to latest anaconda release for small bugfixes
This patch fixes a bug when the output from the anaconda script does not result
in any file being generated.
It fixes a problem when the terminfo file for a particular terminal type does
It increates the pxeboot disc to 2880k which is needed with the latest kernels.
Created attachment 99896 [details]
Patch to init.c to allow 2.4 series kernels to startup
This patch removes the requirement for sysfs under 2.4 series kernels.
See later patch for other 2.4 changes .. which are not completely working yet!
Created attachment 99897 [details]
Patch to anaconda to allow 2.4 kernels as well as 2.6 kernels
This patch allows kernels form the 2.4 series to be built into images i.e.
replace .ko with .o when kernel is less than a 2.5 series.
This is a partially working solution, I have yet ot get a full 2.4 build to
work with this.