Bug 70906

Summary: traceback on save and exit
Product: [Retired] Red Hat Public Beta Reporter: Tammy Fox <tammy.c.fox>
Component: redhat-config-bindAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: limbo   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-08-07 15:05:14 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: 67217    

Description Tammy Fox 2002-08-06 19:33:41 UTC
If I open the app, select Quit, and select Save and Exit, I get this:

Traceback (most recent call last):
  File "/usr/sbin/redhat-config-bind-gui", line 384, in on_exit_activate
    on_apply_and_save_activate()
  File "/usr/sbin/redhat-config-bind-gui", line 330, in on_apply_and_save_activate
    on_apply_activate()
  File "/usr/sbin/redhat-config-bind-gui", line 324, in on_apply_activate
    cfg.saveBind()
  File "/usr/share/redhat-config-bind/dnsdata.py", line 566, in saveBind
    self.zone_box.write(self.ctx)
  File "/usr/lib/python2.2/site-packages/ForgeBlackBox.py", line 101, in write
    fd = os.open(match.group("filename"), os.O_WRONLY | os.O_CREAT | os.O_TRUNC,
self.mode)
OSError: [Errno 13] Permission denied: '/var/named/0.0.127.in-addr.arpa.zone'
Traceback (most recent call last):
  File "/usr/sbin/redhat-config-bind-gui", line 391, in on_bindconf_delete_event
    on_exit_activate(args)
  File "/usr/sbin/redhat-config-bind-gui", line 381, in on_exit_activate
    dialog.set_transient_for (xml.get_widget ('bindconf'))
AttributeError: 'NoneType' object has no attribute 'set_transient_for'

Comment 1 Daniel Walsh 2002-08-07 15:05:09 UTC
This was caused by a prior bad version of redhat-config-bind that set ownership of
its files to root instead of named.named.   Change the ownership to named.named
and run with 1.7.1-9 or newer.

Comment 2 Jay Turner 2002-08-09 13:06:24 UTC
No longer seeing this problem with redhat-config-bind-1.7.1-12.