Red Hat Bugzilla – Bug 136154
[PATCH] --log and --logfile in %post of kickstart crash anaconda
Last modified: 2007-11-30 17:10:52 EST
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:
TypeError: bad argument --logfile unknown
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Create a kickstart file that has
%post --logfile /var/log/kickstart.log
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.
Created attachment 105373 [details]
Patch that adds --logfile and --log to argList so that they will be parsed by anaconda
Thanks for the patch, fixed in CVS
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)
Just hasnt been marked closed. Doing that now.