Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 224619 - anaconda dies if "langsupport" is in kickstart file
anaconda dies if "langsupport" is in kickstart file
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Depends On:
  Show dependency treegraph
Reported: 2007-01-26 13:35 EST by Doug Chapman
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-01-26 13:40:42 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Doug Chapman 2007-01-26 13:35:02 EST
Description of problem:
Using an older kickstart file that has a "langsupport" line in it causes
anaconda to die.  It should handle this with a warning.

Traceback (most recent call last):
  File "/usr/bin/anaconda", line 710, in <module>
    vncksdata = setVNCFromKickstart(opts)
  File "/usr/bin/anaconda", line 279, in setVNCFromKickstart
  File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 488, in
    self._stateMachine (lambda: fh.readline())
  File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 401, in
    self.handleCommand(lineno, args)
  File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 257, in
    self.handler.dispatcher(args[0], args[1:], lineno)
  File "/usr/lib/python2.5/site-packages/pykickstart/commands/base.py", line
247, in dispatcher
    raise KickstartParseError, formatErrorMsg(lineno, msg=_("Unknown command:
%s" % cmd))
pykickstart.errors.KickstartParseError: The following problem occurred on line 6
of the kickstart file:

Unknown command: langsupport

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

How reproducible:

Steps to Reproduce:
1. do a kickstart install that has the following line in the kickstart file:
langsupport --default=en_US.UTF-8 en_US.UTF-8

Actual results:

Expected results:
warning about the langsupport line

Additional info:
Comment 1 Chris Lumens 2007-01-26 13:40:42 EST
I marked this command as deprecated in FC5, and since it's now two releases and
people have had plenty of time to see the warning, I have removed it.  If you
need to process kickstart files for pre-F7 releases, pykickstart does provide a
mechanism for that.

Note You need to log in before you can comment on or make changes to this bug.