Red Hat Bugzilla – Bug 119054
LTC7037-kickstart not accepting firewall settings
Last modified: 2007-11-30 17:07:01 EST
The following has be reported by IBM LTC:
kickstart not accepting firewall settings
rhel3 u2 beta 1
Steps to Reproduce:
Traceback (most recent call last):
File "/usr/bin/anaconda", line 1042, in ?
File "/usr/lib/anaconda/kickstart.py", line 1218, in setInstallData
File "/usr/lib/anaconda/kickstart.py", line 677, in readKickstart
File "/usr/lib/anaconda/kickstart.py", line 100, in doFirewall
[ 'dhcp', 'ssh', 'telnet', 'smtp', 'http', 'ftp', 'enabled',
File "/usr/lib/anaconda/isys.py", line 443, in getopt
return apply(_isys.getopt, args)
TypeError: bad argument --port=smtp:tcp: unknown option
These settings were created by a successful install.
It was expected that we would not need to modify the statements in
this is from the kickstart file:
firewall --enabled --port=smtp:tcp --port=http:tcp --port=ftp:tcp
It looks like the format changed.
firewall --high --smtp --http --ftp --ssh --telnet
I tried this and it worked.
/root/anaconda-ks.cfg is still being created with the
Bill, Still broken ?
It's still broken as of U2 Beta 2.
*** This bug has been marked as a duplicate of 123867 ***
Still broken in U3 public beta
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.