Bug 208079

Summary: gpm keeps stdin/out/err file descriptors open after detaching from terminal
Product: Red Hat Enterprise Linux 5 Reporter: Milan Zázrivec <mzazrivec>
Component: gpmAssignee: Petr Rockai <prockai>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-26 12:11:26 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 Milan Zázrivec 2006-09-26 10:28:45 UTC
Description of problem:
gpm daemon keeps stdin/out/err open after detaching 
itself from terminal, causing eg. pipes from initscript
to hang for the lifetime of gpm.

Version-Release number of selected component (if applicable):
1.20.1-74.1

How reproducible:
Always

Steps to Reproduce:
/etc/init.d/gpm stop;
perl -e 'open F,"/etc/init.d/gpm start|"; my @out=<F>; close F;'

Comment 1 Petr Rockai 2006-09-26 10:55:04 UTC
Gpm currently fails to build in brew (!?), the fix is in cvs for now.

Comment 2 Petr Rockai 2006-09-26 12:11:26 UTC
Worked this time.