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

Bug 96642

Summary: compile_output.log gets not cleaned up and leaves dead link
Product: Gentoo Release Media Reporter: Steven Mertens <mertens.steven>
Component: InstallerAssignee: Gentoo Linux Installer <gli-bugs>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch against GLIArchitectureTemplate.py

Description Steven Mertens 2005-06-20 14:12:51 UTC
If a first install fails or gets interupted somewhere in the middle
the /tmp/compile_output.log gets not cleaned up. This leaves a
dead link on /tmp if the partitions on /mnt/gentoo aren't mounted.
A second install try will log nothing until the partitions are
mounted again.
The attached patch will check if there is a dead link and remove
it. Tested against installer-20050620 snapshot.

I'm not quite sure if it's the right place to do this but it works.
A future enhancement could be calling a method like finishing_cleanup
when a fatal exception occures during install.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Steven Mertens 2005-06-20 14:13:36 UTC
Created attachment 61594 [details, diff]
patch against GLIArchitectureTemplate.py

patch against GLIArchitectureTemplate.py
Comment 2 Preston Cody (RETIRED) gentoo-dev 2005-08-14 11:04:30 UTC
patch has been finally committed to CVS.
Comment 3 Jeffrey Forman (RETIRED) gentoo-dev 2006-03-24 13:46:30 UTC
Moving to Release Media/Installer.