Red Hat Bugzilla – Bug 54442
broken pipe when starting with rsh
Last modified: 2014-03-16 22:23:44 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Description of problem:
when trying to start the snmpd daemon with a rsh it hangs. i can only stop
it by pressing ctrl + c twice. then i receive an error message "broke pipe"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. insert "localhost" in /root/.rhosts
2. rsh localhost "/etc/rc.d/init.d/snmpd restart"
Actual Results: see description
Expected Results: rsh should exit normally
this problem occurs only with rsh
Just verified it. It is actually not a ucd-snmp only related problem but seems
to happen for any initscript you start.
A 'workaround' for now is to use "&" at the end of the command to put it in the
background. That will work, but it really should be fixed in the initscripts
somewhere (i guess somewhere in the functions, but thats only a guess).
Reassigning to initscripts.
Read ya, Phil
Closing out bugs on older, no longer supported, releases. Please reopen if this
persists on current releases.