BIND 10 #1520: bindctl config show all errors about optional parameter
BIND 10 Development
do-not-reply at isc.org
Wed May 2 02:49:15 UTC 2012
#1520: bindctl config show all errors about optional parameter
-------------------------------------+-------------------------------------
Reporter: jreed | Owner:
Type: | Status: new
defect | Milestone: Year 3 Task
Priority: low | Backlog
Component: bind- | Resolution:
ctl | Sensitive: 0
Keywords: | Sub-Project: Core
Defect Severity: N/A | Estimated Difficulty: 0
Feature Depending on Ticket: | Total Hours: 0
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by jaspain):
As shown in the `bindctl` session output below, this problem does still
exist in `bind10-devel-20120329` and is more general than suggested by the
above. It appears that most or all of the Boss components have
configuration objects named `Boss/components/b10-<module>/params` and that
these are all of type `list`. None of these can be displayed by `config
show all`. The error message `Error: Boss/components/b10-<module>/params
not found` is produced. The commands `config show all
Boss/components/b10-<module>` and `config show
Boss/components/b10-<module>/params` also fail with the same error. Note
that in my installation the varioius `bind10` modules are running as user
`bind`. I have not yet tested this running them as `root`. I started this
test using a clean installation of `bind10-devel-20120329` with no
configuration changes made beforehand.
{{{
root at ns0:~# bindctl
["login success "] login as root
> config show all
Error: Boss/components/b10-xfrin/params not found
> config show Boss/components/b10-xfrin
Boss/components/b10-xfrin/special null string
Boss/components/b10-xfrin/process null string
Boss/components/b10-xfrin/kind "dispensable" string (default)
Boss/components/b10-xfrin/address "Xfrin" string (default)
Boss/components/b10-xfrin/params/ list
Boss/components/b10-xfrin/priority null integer
> config show Boss/components/b10-xfrin/params
Error: Boss/components/b10-xfrin/params not found
> config remove Boss/components b10-xfrin
> config remove Boss/components b10-zonemgr
> config commit
> config show all
Error: Boss/components/b10-xfrout/params not found
> config show Boss/components/b10-xfrout
Boss/components/b10-xfrout/special null string
Boss/components/b10-xfrout/process null string
Boss/components/b10-xfrout/kind "dispensable" string
Boss/components/b10-xfrout/address "Xfrout" string
Boss/components/b10-xfrout/params/ list
Boss/components/b10-xfrout/priority null integer
> config show Boss/components/b10-xfrout/params
Error: Boss/components/b10-xfrout/params not found
> config remove Boss/components b10-xfrout
> config commit
> config show all
Error: Boss/components/b10-stats-httpd/params not found
> config show Boss/components/b10-stats-httpd
Boss/components/b10-stats-httpd/special null string
Boss/components/b10-stats-httpd/process null string
Boss/components/b10-stats-httpd/kind "dispensable" string
Boss/components/b10-stats-httpd/address "StatsHttpd" string
Boss/components/b10-stats-httpd/params/ list
Boss/components/b10-stats-httpd/priority null integer
> config show Boss/components/b10-stats-httpd/params
Error: Boss/components/b10-stats-httpd/params not found
> config remove Boss/components b10-stats-httpd
> config commit
> config show all
Error: Boss/components/b10-auth/params not found
> config show Boss/components/b10-auth
Boss/components/b10-auth/special "auth" string
Boss/components/b10-auth/process null string
Boss/components/b10-auth/kind "needed" string
Boss/components/b10-auth/address null string
Boss/components/b10-auth/params/ list
Boss/components/b10-auth/priority null integer
> config show Boss/components/b10-auth/params
Error: Boss/components/b10-auth/params not found
> config remove Boss/components b10-auth
> config commit
> config show all
Error: Boss/components/b10-stats/params not found
> config show Boss/components/b10-stats
Boss/components/b10-stats/special null string
Boss/components/b10-stats/process null string
Boss/components/b10-stats/kind "dispensable" string
Boss/components/b10-stats/address "Stats" string
Boss/components/b10-stats/params/ list
Boss/components/b10-stats/priority null integer
> config show Boss/components/b10-stats/params
Error: Boss/components/b10-stats/params not found
> config remove Boss/components b10-stats
> config commit
> config show all
Error: Boss/components/b10-cmdctl/params not found
> config show Boss/components/b10-cmdctl
Boss/components/b10-cmdctl/special "cmdctl" string
Boss/components/b10-cmdctl/process null string
Boss/components/b10-cmdctl/kind "needed" string
Boss/components/b10-cmdctl/address null string
Boss/components/b10-cmdctl/params/ list
Boss/components/b10-cmdctl/priority null integer
> config show Boss/components/b10-cmddtl/params
Error: Boss/components/b10-cmddtl/params not found
> config remove Boss/components b10-cmdctl
> config commit
> config show all
Failed to send request, the connection is closed
root at ns0:~# ps -aef | egrep 'b10|bind'
bind 1018 1 0 22:18 ? 00:00:00 /usr/bin/python3
/usr/sbin/bind10 --user=bind
root 1544 1018 0 22:18 ? 00:00:00 b10-sockcreator
bind 1552 1018 0 22:18 ? 00:00:00 /usr/bin/python3
/usr/libexec/bind10-devel/b10-msgq
bind 1571 1018 0 22:18 ? 00:00:00 /usr/bin/python3
/usr/libexec/bind10-devel/b10-cfgmgr
root 2113 1972 0 22:34 pts/1 00:00:00 egrep --color=auto
b10|bind
}}}
--
Ticket URL: <http://bind10.isc.org/ticket/1520#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list