Bug 124370

Summary: Copy logfiles to system after installation completion
Product: [Fedora] Fedora Reporter: James Olin Oden <james.oden>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: herrold
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-15 16:39:09 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 James Olin Oden 2004-05-26 00:55:19 UTC
Description of problem:
Some log files are copied to the system after completion of install, 
but the log files containing the output of the kickstart scriptlets 
is not.  I believe there are a few others also.  It would be very 
nice if these were copied to the system (perhaps to some place like
/var/log/anaconda).   Also, if I recall correctly it, the log files
for the scriplets gets overwritten by each new scriptlet (multiple %
posts leave only the last one's output).  It would be handy if this 
log was appended to or seperate logs created.

Other than general debuging of kickstarts going bad, this is quite 
handy in a manufacturing scenario where certain logs are commonly 
archived for each machine after installation and initial setup.  

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


How reproducible:
N/A

Steps to Reproduce:
N/A
  
Actual results:
N/A

Expected results:
N/A

Comment 1 Jeremy Katz 2004-10-04 17:08:16 UTC
This is a little complicated as some people will probably want to be
able to remove the log files in their %post.

So, I did something in the middle.  I now will copy /tmp/anaconda.log
-> /var/log/anaconda.log and /tmp/syslog -> /var/log/anaconda.syslog
right before %post runs.  I've also implemented --log for scriptlets
so that you can log them if you'd like (note that if run with
--nochroot, the log file won't go under /mnt/sysimage unless you
specifically specify that as part of the path)

Comment 2 Rahul Sundaram 2005-08-15 16:22:49 UTC
Any futher updates going on?