Bug 496017

Summary: system-config-bind always gets TypeError: cannot concatenate 'str' and 'dict' objects
Product: [Fedora] Fedora Reporter: Tom Horsley <horsley1953>
Component: system-config-bindAssignee: Jaroslav Reznik <jreznik>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 11CC: atkac, jreznik, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-28 11:51:12 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 Tom Horsley 2009-04-16 01:26:31 UTC
Description of problem:

I picked up the new system-config-bind-4.0.12-1.fc11.noarch and it no
longer crashes at startup, but unfortunately, it can't actually
change anything. For instance if I try to change the allowed systems
to add Local Networks, I get this when I click on Apply:

Traceback (most recent call last):
  File "/usr/share/system-config-bind/EditDialog.py", line 133, in response
    s.currentOptionWidget.save()
  File "/usr/share/system-config-bind/RRGUI.py", line 1574, in save
    s.attr.nmdc.update()
  File "/usr/share/system-config-bind/NamedConf.py", line 498, in update
    f['contents']=self.out()
  File "/usr/share/system-config-bind/NamedConf.py", line 443, in out
    output+=obj[li]
TypeError: cannot concatenate 'str' and 'dict' objects

Version-Release number of selected component (if applicable):
system-config-bind-4.0.12-1.fc11.noarch
python-2.6-7.fc11.x86_64

How reproducible:
Every time for anything I've tried to change.

Steps to Reproduce:
1. see above
2.
3.
  
Actual results:
pythin errors

Expected results:
changes in bind config files

Additional info:

Comment 1 Jaroslav Reznik 2009-04-20 11:47:51 UTC
Ok,
sorry for this :-( It's caused by preconfigured default Bind configuration with DNSSec enabled so it didn't appear on my old testing configuration (and system-config-bind default configuration). First I have to check all possible places where DNSSec defaults could cause problems and fix it. 

For now you can remove dnssec keys includes from named.conf and it should work.

Comment 2 Tom Horsley 2009-04-20 12:01:53 UTC
Except for the fact that the /etc/init.d/named script dynamically edits
named.conf and puts back the dnssec stuff all the time :-). (Though I did
finally figure out I could make that stop if I made sure named.conf
was newer than /etc/sysconfig/dnssec).

Comment 3 Adam Tkac 2009-04-20 12:31:27 UTC
If you would like to disable DNSSEC you should edit /etc/sysconfig/dnssec. If you don't edit it and you update dnssec-conf package then /etc/sysconfig/dnssec will become newer than your named.conf and DNSSEC will be enabled again.

Comment 4 Tom Horsley 2009-04-20 13:34:56 UTC
I eventually figured that out: What I was doing was trying to
replicate my old dns setup by untarring an archive of /var/named
from my old system which, naturally, had a timestamp older than
/etc/sysconfig/dnssec, so it kept getting mysteriously changed out
from under me till I figured out what was going on :-).

What I really don't understand is why dnssec is so special it needs
this bizarre extra layer of confusing scripts. If you want it enabled
by default, why not just ship a named.conf that has it enabled by
default? What is with all the weird /etc/init.d/named time editing
of your config out from under you? Makes no sense at all to me,
and I doubt anything like this is mentioned anywhere in the 640
pages of the O'Reilly book on DNS :-).

Comment 5 Adam Tkac 2009-04-20 15:44:45 UTC
Well, this is probably not the best place to start discussions about DNSSEC but main reason why we are updating configuration in init script is that DNSSEC keys need to be up2dated automatically. We haven't find nicer approach yet.

It is unfortunate side-effect that DNSSEC feature has triggered bug s-c-bind tool.

Comment 6 Bug Zapper 2009-06-09 13:53:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 Bug Zapper 2010-04-27 13:41:51 UTC
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Bug Zapper 2010-06-28 11:51:12 UTC
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.