Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96642 - compile_output.log gets not cleaned up and leaves dead link
Summary: compile_output.log gets not cleaned up and leaves dead link
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-20 14:12 UTC by Steven Mertens
Modified: 2006-03-24 13:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch against GLIArchitectureTemplate.py (GLIArchitectureTemplate.py.diff,741 bytes, patch)
2005-06-20 14:13 UTC, Steven Mertens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.