BIND 10 #264: bindctl should recognize if has a tty or not, and wrong error message

BIND 10 Development do-not-reply at isc.org
Wed Jun 30 14:06:45 UTC 2010


#264: bindctl should recognize if has a tty or not, and wrong error message
----------------------+-----------------------------------------------------
 Reporter:  jreed     |       Owner:     
     Type:  defect    |      Status:  new
 Priority:  major     |   Milestone:     
Component:  bind-ctl  |    Keywords:     
Sensitive:  0         |  
----------------------+-----------------------------------------------------
 when piped into bindctl, but no ~/.bind10/default_user.csv, it will read
 for username, but error before it reads for password (at least it appears
 that way).

 {{{
 [TEMP MESSAGE]: username :root  password :bind10
 Username:Password:
 ["user doesn't exist"]
 Username:EOF when reading a line
 Failed to connect with b10-cmdctl module, is it running?
 }}}

 It should check if not a tty (like in a pipe) and if no default_user.csv
 file, then it should not prompt for a username and password and should
 report the problem clearly.

 It should not give error message saying "is it running?" -- that is
 misleading (it is running!).

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


More information about the bind10-tickets mailing list