Bug 467005 - no such option: --service
Summary: no such option: --service
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pykickstart
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-15 03:10 UTC by David Cantrell
Modified: 2008-10-16 19:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-16 15:21:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Cantrell 2008-10-15 03:10:22 UTC
Did an interactive install of rawhide, then did a kickstart install using the anaconda-ks.cfg file that was written to /root.

I got this error once anaconda started (get ready for fancy graphics):

+---------------------------------------------------------------------------+
|                     Error Parsing Kickstart Config                        |
+---------------------------------------------------------------------------+
| The following error was found while parsing your kickstart configuration: |
|                                                                           |
| The following problem occurred on line 0 of the kickstart file:           |
|                                                                           |
| no such option: --service                                                 |
|                                                                           |
|                                                                           |
|                                           +----------------+  +-------+   |
|                                           | Exit Installer |  | Debug |   |
|                                           +----------------+  +-------+   |
+---------------------------------------------------------------------------+

Mind you, that's from the PyGTK+ interface, which means that kickstartNetworkUp() is doing stuff again.

The offending line in the kickstart file is:

    firewall --service=ssh

Comment 1 Chris Lumens 2008-10-16 15:21:08 UTC
Well, we still need --port to open arbitrary ports that don't have a "service" (whatever lokkit takes that to mean).  But I've added --service to pykickstart as well.

Nice graphic.

Comment 2 David Cantrell 2008-10-16 19:56:46 UTC
I remember where this came from now.  Thomas Woerner talked to me about it while at FUDCon.  Check out commit 879fd8d494345887c14ae6ec62a5daf5482db2ad

He said that we should be using --service with lokkit now rather than using the --port option.  Changed in anaconda, but I guess it also needs to change in pykickstart.


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