Bug 269601 - traceback running lokkit
Summary: traceback running lokkit
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-firewall
Version: rawhide
Hardware: All
OS: All
medium
high
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F8Test3
TreeView+ depends on / blocked
 
Reported: 2007-08-30 21:43 UTC by Jeremy Katz
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-08-31 16:24:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
/etc/selinux/config from the livecd (501 bytes, text/plain)
2007-08-31 13:17 UTC, Jeremy Katz
no flags Details

Description Jeremy Katz 2007-08-30 21:43:48 UTC
Running lokkit when doing a live install gives
Traceback (most recent call last):
  File "/usr/sbin/lokkit", line 53, in <module>
    old_config = parseSELinuxArgs(selinux_args, options=old_config)
  File "/usr/share/system-config-firewall/fw_parser.py", line 167, in
parseSELinuxArgs
    return _parse_args(parser, args, options)
  File "/usr/share/system-config-firewall/fw_parser.py", line 148, in _parse_args
    (_options, _args) = parser.parse_args(args, options)
  File "/usr/lib/python2.5/optparse.py", line 1378, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "/usr/lib/python2.5/optparse.py", line 1418, in _process_args
    self._process_long_opt(rargs, values)
  File "/usr/lib/python2.5/optparse.py", line 1493, in _process_long_opt
    option.process(opt, value, values, self)
  File "/usr/lib/python2.5/optparse.py", line 782, in process
    self.action, self.dest, opt, value, values, parser)
  File "/usr/lib/python2.5/optparse.py", line 786, in take_action
    setattr(values, dest, value)
AttributeError: 'list' object has no attribute 'selinux'

Comment 1 Thomas Woerner 2007-08-31 08:55:44 UTC
Please attach your selinux config file and the command line for lokkit, you were
using.

Comment 2 Jeremy Katz 2007-08-31 13:17:15 UTC
Created attachment 183301 [details]
/etc/selinux/config from the livecd

Pretty standard config; things would have been initially generated with
  /usr/sbin/lokkit -f --quiet --nostart --enabled
  /usr/sbin/lokkit -f --quiet --nostart --selinux=enabled

Then, running lokkit --help from the image gives the traceback.  There may have
also been a traceback on running one of the above commands when creating the
image, but I don't have a log of that handy; I'll check as I do another image
in a little bit.

Comment 3 Jeremy Katz 2007-08-31 14:08:38 UTC
Also happens during the install when we run lokkit

Comment 4 Thomas Woerner 2007-08-31 15:14:55 UTC
I can not reproduce the problem here. Do you have an image of the latest live CD
for me?

BTW: --selinux=enabled is not valid in the old and new lokkit:

  --selinux=<mode>      Configure SELinux mode: enforcing, permissive or
                        disabled


Comment 5 Jeremy Katz 2007-08-31 15:28:43 UTC
Ugh, I meant enforcing.  I just can't type what I read.  

I sent you a link to an image via IRC

Comment 6 Thomas Woerner 2007-08-31 16:24:18 UTC
Fixed in rawhide in package system-config-firewall-1.0.5-2.fc8.


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