Bug 54442

Summary: broken pipe when starting with rsh
Product: [Retired] Red Hat Linux Reporter: Gerd Niemetz <gniemetz>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-15 20:56:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gerd Niemetz 2001-10-08 15:12:20 UTC
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):
ucd-snmp-4.1.1-3

How reproducible:
Always

Steps to Reproduce:
1. insert "localhost" in /root/.rhosts
2. rsh localhost "/etc/rc.d/init.d/snmpd restart"
3.
	

Actual Results:  see description

Expected Results:  rsh should exit normally

Additional info:

this problem occurs only with rsh

Comment 1 Phil Knirsch 2002-01-29 14:40:28 UTC
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

Comment 2 Bill Nottingham 2005-02-15 20:56:06 UTC
Closing out bugs on older, no longer supported, releases. Please reopen if this
persists on current releases.