Bug 71250

Summary: Aborted installs leave directories in /var/lib
Product: [Retired] Red Hat Linux Reporter: Need Real Name <rnspayne>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-08-12 19:33:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2002-08-11 03:34:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020408

Description of problem:
Aborting an installation leaves anaconda-* directories in /var/lib that take up
space and cause future installations to fail for lack of disk space.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Start upgrade
2. Go to step that autoselects packages and begins to install them
3. Abort installation
	

Actual Results:  /var/lib/anaconda-* will be left behind in the currently
mounted /mnt/sysimage/var/lib, and future installs do not clean up these
directories.  After enough aborted installs, /var will be full on the machine
being upgraded, and future installs will fail for lack of disk space, or will
fail mid-install complaining about installation media errors.

Expected Results:  Anaconda should look for and delete directories left behind
by previously aborted installs

Additional info:

Comment 1 Jeremy Katz 2002-08-12 21:13:59 UTC
We've changed our upgrade algorithm so that in most cases, this won't be a
problem.  Making further changes has the possibility of negatively blowing away
an rpmdb backup that was intentionally made.