BIND 10 #2710: b10-cmdctl needs restart when adding users

BIND 10 Development do-not-reply at isc.org
Tue Feb 12 09:45:15 UTC 2013


#2710: b10-cmdctl needs restart when adding users
-------------------------------------+-------------------------------------
                   Reporter:  jelte  |                 Owner:
                       Type:         |                Status:  new
  defect                             |             Milestone:  New Tasks
                   Priority:         |              Keywords:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  DNS
  Unclassified                       |  Estimated Difficulty:  0
               CVSS Scoring:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 When adding a user with b10-cmdctl-usermgr, b10-cmdctl needs to be
 restarted.

 It calls _create_user_info(), but that code then skips the reading if it
 has already read it:

 {{{
         if (self._accounts_file == accounts_file) and
 (len(self._user_infos) > 0):
             return
 }}}

 While I can appreciate the attempt to skip unnecessary re-reads, if we do
 so we should at the very least check whether the file has changed.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2710>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list