BIND 10 #970: noisy traceback when piping into bindctl without login
BIND 10 Development
do-not-reply at isc.org
Wed May 25 16:22:11 UTC 2011
#970: noisy traceback when piping into bindctl without login
---------------------------------+-----------------------------------------
Reporter: jreed | Owner:
Type: defect | Status: new
Priority: major | Milestone: New Tasks
Component: bind-ctl | Keywords:
Sensitive: 0 | Defect Severity: N/A
Sub-Project: DNS | Feature Depending on Ticket:
Estimated Difficulty: 0 | Add Hours to Ticket: 0
Total Hours: 0 | Internal?: 0
---------------------------------+-----------------------------------------
I often just pipe commands into bindctl.
But one from a different login I didn't have ~/.bind10 readable. This
caused bindctl to have noisy traceback output. It prompted me multiple
times on same line and when I pressed enter:
{{{
(11:09:57) jreed: Username:Traceback (most recent call last):
File "/home/jreed/opt/bind10/bin/bindctl", line 138, in <module>
tool.run()
File "/var/users/jreed/opt/bind10/lib/python3.1/site-
packages/bindctl/bindcmd.py", line 125, in run
if not self.login_to_cmdctl():
File "/var/users/jreed/opt/bind10/lib/python3.1/site-
packages/bindctl/bindcmd.py", line 213, in login_to_cmdctl
username = input("Username:")
EOFError: EOF when reading a line
}}}
The initial problem is that the ~/.bind10 directory was created in the
wrong users home. I earlier ran as root and so root shouldn't have created
it in regular user's home. (Maybe this should be two different tickets.)
--
Ticket URL: <http://bind10.isc.org/ticket/970>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list