Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1049956

Summary: [abrt] firewall-config-0.3.4-1.fc19: firewall-config:1562:onChangeZone:TypeError: 'NoneType' object has no attribute '__getitem__'
Product: Red Hat Enterprise Linux 7 Reporter: Michal Toman <mtoman>
Component: firewalldAssignee: Thomas Woerner <twoerner>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Dolezal <todoleza>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: jscotka, pknirsch, rvokal, todoleza, twoerner
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: http://faf-report.itos.redhat.com/reports/97
Whiteboard: abrt_hash:6c06059304273d8babd1616f3379a6ef41b1609b
Fixed In Version: firewalld-0.3.9-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 995760 Environment:
Last Closed: 2014-06-13 09:53:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Toman 2014-01-08 14:30:50 UTC
+++ This bug was initially created as a clone of Bug #995760 +++

Version-Release number of selected component:
firewall-config-0.3.4-1.fc19

Additional info:
reporter:       libreport-2.1.6
cmdline:        /usr/bin/python /usr/bin/firewall-config
executable:     /usr/bin/firewall-config
kernel:         3.10.5-201.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
firewall-config:1562:onChangeZone:TypeError: 'NoneType' object has no attribute '__getitem__'

Traceback (most recent call last):
  File "/usr/bin/firewall-config", line 1562, in onChangeZone
    _services = services[:]
TypeError: 'NoneType' object has no attribute '__getitem__'

Local variables in innermost frame:
masquerade: False
default: False
interfaces: []
args: (<TreeSelection object at 0x23509b0 (GtkTreeSelection at 0x1ffa940)>,)
self: <__main__.FirewallConfig object at 0x1e8cf10>
sources: []
builtin: False
icmpblocks: []
rules: []
services: None
active_zone: 'public'
ports: []
forward_ports: []

--- Additional comment from todoleza on 20130810T21:22:29 ---

Created attachment 785274 [details]
File: backtrace

--- Additional comment from todoleza on 20130810T21:22:32 ---

Created attachment 785275 [details]
File: environ

--- Additional comment from jpopelka on 20130815T16:01:53 ---

*** Bug 962398 has been marked as a duplicate of this bug. ***

--- Additional comment from jpopelka on 20130815T16:02:05 ---

*** Bug 974219 has been marked as a duplicate of this bug. ***

--- Additional comment from jpopelka on 20130815T16:02:32 ---

*** Bug 993400 has been marked as a duplicate of this bug. ***

--- Additional comment from jpopelka on 20130816T15:48:38 ---

*** Bug 994446 has been marked as a duplicate of this bug. ***

--- Additional comment from jpopelka on 20131014T10:40:56 ---

*** Bug 1018484 has been marked as a duplicate of this bug. ***

--- Additional comment from jpopelka on 20131021T10:40:28 ---

*** Bug 1021073 has been marked as a duplicate of this bug. ***

--- Additional comment from jpopelka on 20131202T11:43:21 ---

*** Bug 1036290 has been marked as a duplicate of this bug. ***

--- Additional comment from jpopelka on 20131202T11:43:34 ---

*** Bug 1036373 has been marked as a duplicate of this bug. ***

--- Additional comment from jpopelka on 20131218T18:49:26 ---

*** Bug 1044643 has been marked as a duplicate of this bug. ***

Comment 1 Michal Toman 2014-01-08 14:30:53 UTC
The same problem has been detected in Red Hat Enterprise Linux 7. The following packages are affected:

firewall-config-0.3.8-1.el7.noarch

Comment 3 Jiri Popelka 2014-01-09 08:37:22 UTC
*** Bug 1049957 has been marked as a duplicate of this bug. ***

Comment 5 Tomas Dolezal 2014-01-29 14:53:22 UTC
QA:
This is hard to reproduce, let's wait some time if new abrt reports stop landing in bugzilla.

original bug 995760 is where to look

Comment 10 Thomas Woerner 2014-04-02 12:43:34 UTC
These have been the steps tp reproduce before:

1) Authenticate after start
2) Wait for some time (most likely more than 5 minutes)
3) Change something
4) Abort new auth request
5) Failure while selecting another zone

But now we have a while loop for the change till the auth request was granted or the app was stopped. Therefore this should no be possible anymore.

Comment 13 Ludek Smid 2014-06-13 09:53:43 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.