BIND 10 #2595: cmdctl with chusr crashes due to permission issue

BIND 10 Development do-not-reply at isc.org
Thu Jan 24 10:44:16 UTC 2013


#2595: cmdctl with chusr crashes due to permission issue
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  defect        |  jinmei
            Priority:  medium        |                       Status:
           Component:  cmd-ctl       |  reviewing
            Keywords:                |                    Milestone:
           Sensitive:  0             |  Sprint-20130205
         Sub-Project:  Core          |                   Resolution:
Estimated Difficulty:  3             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Changes (by jelte):

 * owner:  jelte => jinmei


Comment:

 Hmz, it appears it depends on the specific python and internal libraries;
 I get ECONNRESET whether the socket is closed or left open (and closed by
 scope), and only rarely an ssl.SSLError (it does happen, but about 1 in
 100 times... I guess with my system it depends on when exactly it
 notices).

 So I guess the best we could do for now would be to do the 'helpful'
 message *both* for resets and SSLError.

 So I did that. I have tested with python 3.3 and .errno works, however the
 SSLError.__str__() has been changed as well, so we can't directly compare
 strings anymore. Added a small helper function to compare printed messages
 against a list of regexps.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2595#comment:14>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list