Bug 951747
Summary: | [abrt] firewall-config-0.2.12-4.fc18: connection.py:651:call_blocking:DBusException: org.freedesktop.DBus.Python.dbus.exceptions.DBusException: Backup of '/usr/lib/firewalld/zones/public.xml' failed: [Errno 13] Permission denied: '/usr/lib/firewalld/zo... | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nick H. <nck.s.hayes> | ||||||||||
Component: | firewalld | Assignee: | Thomas Woerner <twoerner> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | 18 | CC: | jpopelka, twoerner | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | x86_64 | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | abrt_hash:1f89e880aabad249d5d643c2f5da07f1b2e4ce27 | ||||||||||||
Fixed In Version: | firewalld-0.3.2-1.fc19 | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2013-05-22 03:21:20 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: | |||||||||||||
Attachments: |
|
Description
Nick H.
2013-04-13 00:32:42 UTC
Created attachment 735053 [details]
File: backtrace
Created attachment 735054 [details]
File: core_backtrace
Created attachment 735055 [details]
File: dso_list
Created attachment 735056 [details]
File: environ
So we have two problems here. First is that firewall-config crashed after obtaining an exception from firewalld, which is duplicate of bug 951850. Second is that firewalld tried to make a backup of public.xml zone file in /usr/lib/firewalld/zones/ instead of in /etc/firewalld/zones/ To myself: I see one possibility how this could happen: Lets imagine that /usr/lib/firewalld/zones/public.xml was loaded but for some reason marked (in FirewallConfig.add_zone()) as 'not default'. Then during updating (after user changes any zone setting) FirewallConfig.set_zone_config() checks whether the zone is default or not and if it's not marked as default the zone file gets overwritten (with backup). Problem is that I can't find a place where this de-sync (i.e. loading zone from /usr/ but marking it as not default) could happen. Nick, sorry for the delay. Are you able to reproduce the problem ? Do you by any chance remember what changes you had made prior to the steps to reproduce from your description ? I believe I added a port while I was in "Runtime Configuration", but then thinking that I wouldn't have to add the port every time I log in, I switched to "Persistent Configuration" and tried adding the same port. That's when it crashed and triggered ABRT. More notes: Zone: Public //All the time I was doing this, I didn't change the zone. I'll try to reproduce this as soon as I can. Hope this new info helps! (In reply to comment #6) > Problem is that I can't find a place where this de-sync (i.e. loading zone > from /usr/ but marking it as not default) could happen. I gave it another try today and rewrote [1] how/where we set the 'default(s)' flag. [1] https://git.fedorahosted.org/cgit/firewalld.git/commit/?id=003cc6babeb66271a60d3b5b0436d259040b2887 firewalld-0.3.2-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/firewalld-0.3.2-1.fc19 Package firewalld-0.3.2-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing firewalld-0.3.2-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-7044/firewalld-0.3.2-1.fc19 then log in and leave karma (feedback). firewalld-0.3.2-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |