Bug 136154

Summary: [PATCH] --log and --logfile in %post of kickstart crash anaconda
Product: [Fedora] Fedora Reporter: Gijs Hollestelle <gijs>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: nobody+pnasrat
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-15 16:35:34 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:
Attachments:
Description Flags
Patch that adds --logfile and --log to argList so that they will be parsed by anaconda none

Description Gijs Hollestelle 2004-10-18 12:17:48 UTC
Description of problem:
When I the new --log(file) option to %post in kickstart anaconda exits
with a backtrace stating that:

File "/usr/lib/anaconda/isys.py" Line 482, in getopt:
  return apply(_isys.getopt,args)
TypeError: bad argument --logfile unknown


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

How reproducible:
Always

Steps to Reproduce:
Create a kickstart file that has 
%post --logfile /var/log/kickstart.log

Additional info:

Seems to be a very easy fix, justt append logfile= and log= to the
argList value in kickstart.py on line 763, attaching a patch.

Comment 1 Gijs Hollestelle 2004-10-18 12:19:11 UTC
Created attachment 105373 [details]
Patch that adds --logfile and --log to argList so that they will be parsed by anaconda

Comment 2 Jeremy Katz 2004-10-18 13:18:49 UTC
Thanks for the patch, fixed in CVS

Comment 3 Gijs Hollestelle 2005-07-05 20:03:45 UTC
Is there any reason this bug is still open 10 months after it has been fixed? 

(Sorry if I should have done something to close this)

Comment 4 Rahul Sundaram 2005-08-15 16:35:34 UTC
Just hasnt been marked closed. Doing that now.