Description of problem: Can't set permanent rule with firewall-config Version-Release number of selected component (if applicable): 0.2.9 How reproducible: Try to set a permanent action with firewall-config firewall-cmd --permanent --zone=public --add-port=5555/tcp Actual results: The permanent rule is not set and it displays an error: "Error: org.freedesktop.DBus.Python.dbus.exceptions.DBusException: IO_Object_XMLGenerator instance has no attribute '_write'" Expected results: Permanent rule is set Additional info: According to twoerner on the #firewalld channel, it could be linked to PyXML (0.8.4-28 installed) which overloads standard library's xml module
Fixed in GIT: http://git.fedorahosted.org/cgit/firewalld.git/commit/?id=1bbb7e0415b1f107ae2df186fba5877f131117a0
This is an other PyXML vs. Python xml compability problem.
I confirm that the following patch does fix the issue when PyXML is installed. If you don't have PyXML installed, it should work fine (i also tried by removing PyXML and restarting firewalld daemon). From my point of view, it could be safely pushed into F18 repositories.
Discussed at 2012-11-21 NTH review meeting. Agreed this is something that can be fixed with an update, no need to be in the shipped images, so rejected NTH.
See also https://bugzilla.redhat.com/show_bug.cgi?id=843176 -- we need to burn PyXML with fire.