Red Hat Bugzilla – Bug 496017
system-config-bind always gets TypeError: cannot concatenate 'str' and 'dict' objects
Last modified: 2010-06-28 07:51:12 EDT
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
File "/usr/share/system-config-bind/RRGUI.py", line 1574, in save
File "/usr/share/system-config-bind/NamedConf.py", line 498, in update
File "/usr/share/system-config-bind/NamedConf.py", line 443, in out
TypeError: cannot concatenate 'str' and 'dict' objects
Version-Release number of selected component (if applicable):
Every time for anything I've tried to change.
Steps to Reproduce:
1. see above
changes in bind config files
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.
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).
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.
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 :-).
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.
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:
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:
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.