BIND 10 #2447: User-friendly feedback when not running as root

BIND 10 Development do-not-reply at isc.org
Fri Nov 2 18:37:03 UTC 2012


#2447: User-friendly feedback when not running as root
-------------------------------------+-------------------------------------
                   Reporter:  shane  |                 Owner:
                       Type:         |                Status:  new
  enhancement                        |             Milestone:  Next-Sprint-
                   Priority:         |  Proposed
  medium                             |            Resolution:
                  Component:  Boss   |             Sensitive:  0
  of BIND                            |           Sub-Project:  Core
                   Keywords:         |  Estimated Difficulty:  0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
  alpha2                             |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by jinmei):

 Replying to [comment:4 jreed]:

 > > Specifically which log messages are these?
 >
 > {{{
 > 2012-11-02 10:45:24.839 ERROR [b10-auth.server_common]
 SRVCOMM_ADDRESS_FAIL failed to listen on addresses ("Error creating socket
 on bind")
 > }}}
 >
 > Actually above is multiple problems. The problem for this ticket is
 SRVCOMM_ADDRESS_FAIL

 In that case I think the "solution" is to make the message "friendly",
 rather than considering prohibiting the "non root" mode.

 BTW, I don't know in which sense it's unfriendly.  Would it become
 "friendly" if it says something like this?
 {{{#!cpp
 2012-11-02 10:45:24.839 ERROR [b10-auth.server_common]
 SRVCOMM_ADDRESS_FAIL failed to listen on addresses ("Error creating socket
 on bind: Operation not permitted")
 }}}

 I'd also note that we have this description for this log message:
 {{{
 The server failed to bind to one of the address/port pair it should
 according
 to configuration, for reason listed in the message (usually because that
 pair
 is already used by other service or missing privileges). The server will
 try
 to recover and bind the address/port pairs it was listening to before (if
 any).
 }}}
 note the "missing privileges".

 Although, admittedly people never (are willing to) read this and do
 just complain - the sad reality is that such detailed description is
 often for developer's self satisfaction.

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


More information about the bind10-tickets mailing list