BIND 10 #434: [kean] running cfgmgr when already running overwrites configuration
BIND 10 Development
do-not-reply at isc.org
Mon Nov 18 05:33:18 UTC 2013
#434: [kean] running cfgmgr when already running overwrites configuration
-------------------------------------+-------------------------------------
Reporter: jreed | Owner:
Type: defect | UnAssigned
Priority: medium | Status:
Component: Unclassified | reviewing
Keywords: | Milestone:
Sensitive: 0 | Sprint-20131015
Sub-Project: DNS | Resolution:
Estimated Difficulty: 0.0 | CVSS Scoring:
Total Hours: 0 | Defect Severity: N/A
| Feature Depending on Ticket:
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Changes (by kean):
* owner: kean => UnAssigned
* status: accepted => reviewing
Comment:
I cannot reproduce this. First, bind10 now detects that another copy is
running and will refuse to start a second copy:
{{{
$ ../sbin/bind10
INFO [b10-init.init]: BIND10_STARTING starting BIND10: bind10 20110223
(BIND 10 20130529)
DEBUG [b10-init.init]: BIND10_CHECK_MSGQ_ALREADY_RUNNING checking if msgq
is already running
DEBUG [b10-init.pycc]: PYCC_LNAME_RECEIVED received local name:
5289a5cb_a at hyperion
FATAL [b10-init.init]: BIND10_MSGQ_ALREADY_RUNNING msgq daemon already
running, cannot start
FATAL [b10-init.init]: BIND10_STARTUP_ERROR error during startup: b10-msgq
already running, or default socket file not cleaned - cannot start
}}}
Second, if I manually start the config manager again and exit it, it does
not seem to overwrite anything:
{{{
$ cat b10-config.db
{"Init": {"components": {"b10-auth": {"kind": "needed", "special":
"auth"}, "b10-stats": {"kind": "dispensable", "address": "Stats"},
"b10-cmdctl": {"kind": "needed", "special": "cmdctl"}}}, "version": 3}
$ ../../libexec/bind10/b10-cfgmgr
2013-11-18 07:31:28.969 INFO [b10-cfgmgr.cfgmgr/32297] CFGMGR_CONFIG_FILE
Configuration manager starting with configuration file:
/home/kean/isc/B10/var/bind10/b10-config.db
2013-11-18 07:31:33.194 INFO [b10-cfgmgr.cfgmgr/32297]
CFGMGR_STOPPED_BY_COMMAND received shutdown command, shutting down
$ cat b10-config.db
{"Init": {"components": {"b10-auth": {"kind": "needed", "special":
"auth"}, "b10-stats": {"kind": "dispensable", "address": "Stats"},
"b10-cmdctl": {"kind": "needed", "special": "cmdctl"}}}, "version": 3}
--
Ticket URL: <http://bind10.isc.org/ticket/434#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list