Bug 31977

Summary: Crashs on start with bind and caching-nameserver loaded
Product: [Retired] Red Hat Linux Reporter: Anthony Rumble <ox23fgu02>
Component: apacheconfAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: ox23fgu02, sopwith
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: 2001-03-18 11:40: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 Anthony Rumble 2001-03-16 12:49:56 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.1-0.1.9 i686; en-US; 0.7)
Gecko/20010203


bindconf crashed with a bog standard install with bind and caching-nameserver

Reproducible: Always
Steps to Reproduce:
1.Install bind, bindconf and caching-nameserver RPM's
2.Run bindconf
3.Crash!
	

Actual Results:  Crashed out with python traceback

[root@localhost /etc]# bindconf
Traceback (innermost last):
  File "/usr/sbin/bindconf-gui", line 951, in ?
    main ()
  File "/usr/sbin/bindconf-gui", line 946, in main
    gtk.mainloop()
  File "/usr/sbin/bindconf-gui", line 777, in setup_main_tree
    zone = zlist.getMForwardZone(i)
  File "/usr/share/bindconf/dnsdata_base.py", line 1559, in getMForwardZone
    return dnsdata.MForwardZone(self.__list.getChildByIndex(pos), self)
  File "/usr/share/bindconf/dnsdata.py", line 460, in __init__
    MForwardZone_base.__init__(self, list, parent)		
  File "/usr/share/bindconf/dnsdata_base.py", line 1389, in __init__
    self.__SOA = dnsdata.SOA(child, self)
  File "/usr/share/bindconf/dnsdata.py", line 125, in __init__
    if not self.getContact(): self.setContact("root")
  File "/usr/share/bindconf/dnsdata.py", line 186, in getContact
    l = len(value)
TypeError: len() of unsized object

Comment 1 Glen Foster 2001-03-16 21:40:09 UTC
We (Red Hat) should really try to fix this before next release.

Comment 2 Harald Hoyer 2001-03-19 15:37:48 UTC
fixed since bindconf-1.0