Bug 629089 - [abrt] policycoreutils-gui-2.0.83-20.fc13: polgen.py:84:get_all_ports:AttributeError: 'module' object has no attribute 'PORT'
Summary: [abrt] policycoreutils-gui-2.0.83-20.fc13: polgen.py:84:get_all_ports:Attribu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 13
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e6216687
: 635446 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-31 21:32 UTC by Yorvyk
Modified: 2010-09-21 12:45 UTC (History)
6 users (show)

Fixed In Version: setools-3.3.7-7.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-11 09:04:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (658 bytes, text/plain)
2010-08-31 21:32 UTC, Yorvyk
no flags Details

Description Yorvyk 2010-08-31 21:32:44 UTC
abrt version: 1.1.13
architecture: i686
cmdline: /usr/bin/python -Es /usr/bin/selinux-polgengui
component: policycoreutils
executable: /usr/bin/selinux-polgengui
kernel: 2.6.34.6-47.fc13.i686
package: policycoreutils-gui-2.0.83-20.fc13
reason: polgen.py:84:get_all_ports:AttributeError: 'module' object has no attribute 'PORT'
release: Fedora release 13 (Goddard)
time: 1283290149
uid: 500

backtrace
-----
polgen.py:84:get_all_ports:AttributeError: 'module' object has no attribute 'PORT'

Traceback (most recent call last):
  File "/usr/bin/selinux-polgengui", line 258, in forward
    if self.on_name_page_next():
  File "/usr/bin/selinux-polgengui", line 615, in on_name_page_next
    policy=polgen.policy(name, self.get_type())
  File "/usr/share/system-config-selinux/polgen.py", line 197, in __init__
    self.ports = get_all_ports()
  File "/usr/share/system-config-selinux/polgen.py", line 84, in get_all_ports
    for p in setools.seinfo(setools.PORT):
AttributeError: 'module' object has no attribute 'PORT'

Local variables in innermost frame:
dict: {}

How to reproduce
-----
1. Start program
2. Fill in Name & Executable
3. Click Forward

Comment 1 Yorvyk 2010-08-31 21:32:46 UTC
Created an attachment (id=442282)
File: backtrace

Comment 2 Christoph Maser 2010-09-01 07:34:44 UTC
Package: policycoreutils-gui-2.0.83-20.fc13
Architecture: x86_64
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1. start selinux-polgengui
2. click forward
3. choose Applications -> Web Application/Script (CGI)
4. click forward
5. enter name + exectuable
6. click forward

Comment 3 Luigi Cardeles 2010-09-01 14:37:28 UTC
Package: policycoreutils-gui-2.0.83-20.fc13
Architecture: x86_64
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1.start the program
2.create a policy to httpd
3.select name and bin and crash.

Comment 4 Fedora Update System 2010-09-01 14:51:46 UTC
setools-3.3.7-7.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/setools-3.3.7-7.fc13

Comment 5 Daniel Walsh 2010-09-01 14:53:07 UTC
Fixed in setools-3.3.7-7.fc13

Comment 6 Fedora Update System 2010-09-02 20:38:24 UTC
setools-3.3.7-7.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update setools'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/setools-3.3.7-7.fc13

Comment 7 Yorvyk 2010-09-03 19:19:01 UTC
The update appears to have solved the problem

Comment 8 Daniel Walsh 2010-09-03 19:40:11 UTC
Please update karma.

Comment 9 Fedora Update System 2010-09-11 09:04:33 UTC
setools-3.3.7-7.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Miroslav Grepl 2010-09-20 12:34:56 UTC
*** Bug 635446 has been marked as a duplicate of this bug. ***

Comment 11 tlhackque 2010-09-21 12:45:22 UTC
*** Bug 635446 has been marked as a duplicate of this bug. ***


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