Bug 711231

Summary: [abrt] system-config-firewall-1.2.27-3.el6_0.2: shutil.py:50:copyfile:IOError: [Errno 13] Permission denied: '/etc/sysconfig/iptables-config'
Product: Red Hat Enterprise Linux 6 Reporter: Red Hat Case Diagnostics <case-diagnostics>
Component: system-config-firewallAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact: Tomas Dolezal <todoleza>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0CC: cww, ddumas, psklenar, tlavigne, todoleza
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:ad65c90a
Fixed In Version: system-config-firewall-1.2.27-7.1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-07 08:06:33 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:
Bug Depends On:    
Bug Blocks: 782183, 836160, 947782, 994246    
Attachments:
Description Flags
File: backtrace none

Description Red Hat Case Diagnostics 2011-06-06 22:05:12 UTC
This description generated by Andreas from an ABRT report
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/system-config-firewall
comment: So sick of this beta bullshit. Offer a non-beta release of 6.0 as an option. I'm going back to CentOS for the time being.
component: system-config-firewall
executable: /usr/bin/system-config-firewall
kernel: 2.6.32-122.el6.x86_64
package: system-config-firewall-1.2.27-3.el6_0.2
reason: shutil.py:50:copyfile:IOError: [Errno 13] Permission denied: '/etc/sysconfig/iptables-config'
release: Red Hat Enterprise Linux Workstation release 6.1 Beta (Santiago)
reproduce: 1. Installed RHEL 6.1 BETA
2. Ran RHN to apply
3. Ran Software Updater to update YUM packages
4. Applied 3 patches (Root auth kept looping back)
5. Logged out & back in as root.
6. Ran Software Updater to update YUM packages
7. Applied 3 patches 
8. Rebooted. 
9. Issue appears before login prompt.

time: 1307395003
uid: 500
backtrace: shutil.py:50:copyfile:IOError: [Errno 13] Permission denied: '/etc/sysconfig/iptables-config'

Traceback (most recent call last):
  File "/usr/share/system-config-firewall/fw_gui.py", line 2069, in settings
    ip4tables_conf.write()
  File "/usr/share/system-config-firewall/fw_iptables.py", line 152, in write
    shutil.copy2(self.filename, "%s.old" % self.filename)
  File "/usr/lib64/python2.6/shutil.py", line 95, in copy2
    copyfile(src, dst)
  File "/usr/lib64/python2.6/shutil.py", line 50, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 13] Permission denied: '/etc/sysconfig/iptables-config'

Local variables in innermost frame:
src: '/etc/sysconfig/iptables-config'
dst: '/etc/sysconfig/iptables-config.old'

Comment 2 Red Hat Case Diagnostics 2011-06-06 22:05:46 UTC
Created attachment 503339 [details]
File: backtrace

Comment 5 RHEL Program Management 2011-07-06 00:33:54 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 15 Tom Lavigne 2012-09-18 15:23:56 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
    
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 28 errata-xmlrpc 2014-07-07 08:06:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0837.html