BIND 10 #714: cfgmgr crash on auth configuration failure
BIND 10 Development
do-not-reply at isc.org
Fri Mar 18 12:44:01 UTC 2011
#714: cfgmgr crash on auth configuration failure
-------------------------------------+---------------------------------
Reporter: jreed | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: configuration | Keywords:
Sensitive: 0 | Estimated Number of Hours: 0
Add Hours to Ticket: 0 | Billable?: 1
Total Hours: 0 | Internal?: 0
-------------------------------------+---------------------------------
Using memory datasource, I loaded a root zone (AXFR'd from b.root-
servers.net and manually removed trailing SOA). (On related note, I think
a new dig has option to remove that SOA for me.)
{{{
> config set Auth/datasources/ [{"type": "memory", "zones":[{"file":
"/Local/Users/jreed/J", "origin":"."}]}]
> config commit
Error:
>
}}}
That is a problem where cfgmgr/bindctl doesn't tell me the error.
b10-auth said the following and cfgmgr crashed (see traceback):
{{{
[b10-auth] error: Server configuration failed: Duplicate rrset: . 172800
IN RRSIG DNSKEY 8 0 172800 20110326235959 20110312000000 19036 .
DBtUpYvH4F0MFi97znkJ04IWRRvkzI9lbD/vFiIylQlhsLho2iGqguWolly4P6pTSZw4rE10zd5g26wO4F2ckQafZiajmSAb4hZTYEOrgGVx/+Chs4XMXD9z4rXZUGFZsIMi1xYHJr16u9NbcxysB5DtXzKzpnzQ35n5L8TrKy7i3JWd3sedUv13K3+VA4J8cbgDaO3eW1KHsO7zBTliHPQVQhnxCOsh0WcvsQM0zxdF7SfRyzbe/K8/nK0rb+OYlU/f4CarwQy7wb0Uugo67nBI1+zCo3ENn5tDeaRikuL9j/vHz8LOL1KWr4WqtPa12sQ5zyA7pwPRGyazAb2Rzg==
Traceback (most recent call last):
File "/Local/Users/jreed/opt/bind10/libexec/bind10-devel/b10-cfgmgr",
line 90, in <module>
sys.exit(main())
File "/Local/Users/jreed/opt/bind10/libexec/bind10-devel/b10-cfgmgr",
line 77, in main
cm.run()
File "/Local/Users/jreed/opt/bind10/lib/python3.1/site-
packages/isc/config/cfgmgr.py", line 431, in run
answer = self.handle_msg(msg);
File "/Local/Users/jreed/opt/bind10/lib/python3.1/site-
packages/isc/config/cfgmgr.py", line 400, in handle_msg
answer = self._handle_set_config(arg)
File "/Local/Users/jreed/opt/bind10/lib/python3.1/site-
packages/isc/config/cfgmgr.py", line 365, in _handle_set_config
answer = self._handle_set_config_all(cmd[0])
File "/Local/Users/jreed/opt/bind10/lib/python3.1/site-
packages/isc/config/cfgmgr.py", line 339, in _handle_set_config_all
answer = self._handle_set_config_module(module, cmd[module])
File "/Local/Users/jreed/opt/bind10/lib/python3.1/site-
packages/isc/config/cfgmgr.py", line 308, in _handle_set_config_module
answer, env = self.cc.group_recvmsg(False, seq)
File "/Local/Users/jreed/opt/bind10/lib/python3.1/site-
packages/isc/cc/session.py", line 247, in group_recvmsg
env, msg = self.recvmsg(nonblock, seq)
File "/Local/Users/jreed/opt/bind10/lib/python3.1/site-
packages/isc/cc/session.py", line 114, in recvmsg
msg = isc.cc.message.from_wire(data[header_length + 2:])
File "/Local/Users/jreed/opt/bind10/lib/python3.1/site-
packages/isc/cc/message.py", line 38, in from_wire
return json.loads(data.decode('utf8'))
File "/Local/Users/jreed/opt/pkg/lib/python3.1/json/__init__.py", line
305, in loads
return _default_decoder.decode(s)
File "/Local/Users/jreed/opt/pkg/lib/python3.1/json/decoder.py", line
339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Local/Users/jreed/opt/pkg/lib/python3.1/json/decoder.py", line
355, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Invalid control character at: line 1 column 482 (char 482)
[b10-msgq] Closing socket fd 5
[b10-msgq] Receive error: EOF
[bind10] Process b10-cfgmgr (PID 94276) terminated, exit status = 256
[bind10] Resurrecting dead b10-cfgmgr process...
}}}
I am not sure if this is three different problems (maybe needs different
tickets). I will start with assigning this to configuration component
since it should not crash whether or not b10-auth can't use the zone.
--
Ticket URL: <https://bind10.isc.org/ticket/714>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list