BIND 10 #2195: sysinfo leaks 'Broken pipe' exception
BIND 10 Development
do-not-reply at isc.org
Thu Aug 16 23:46:48 UTC 2012
#2195: sysinfo leaks 'Broken pipe' exception
--------------------------------+-----------------------------------------
Reporter: jinmei | Owner:
Type: defect | Status: new
Priority: medium | Milestone: New Tasks
Component: sysinfo | Keywords:
Sensitive: 0 | Defect Severity: N/A
Sub-Project: Core | Feature Depending on Ticket:
Estimated Difficulty: 0 | Add Hours to Ticket: 0
Total Hours: 0 | Internal?: 0
--------------------------------+-----------------------------------------
If I pass the output of isc-sysinfo to another process via a pipe
and that process doesn't consume all input from sysinfo, sysinfo
itself dies with an uncaught exception of IOError (Broken pipe):
{{{
% isc-sysinfo|head -1
ISC Sysinfo tool
Traceback (most recent call last):
File "/home/jinmei/opt/bin/isc-sysinfo", line 136, in <module>
main()
File "/home/jinmei/opt/bin/isc-sysinfo", line 121, in main
write_value(f, '%s', s.get_net_connections)
File "/home/jinmei/opt/bin/isc-sysinfo", line 42, in write_value
out.write(fmt % value)
IOError: [Errno 32] Broken pipe
}}}
This is not really grace.
--
Ticket URL: <http://bind10.isc.org/ticket/2195>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list