Bug 31799

Summary: Small bug in sysvinit-2.78-notty.patch
Product: [Retired] Red Hat Raw Hide Reporter: dan
Component: SysVinitAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: rvokal
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: 2001-03-14 20:51:29 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:
Attachments:
Description Flags
Corrected version of sysvinit-2.78-notty.patch none

Description dan 2001-03-14 20:47:35 UTC
SysVinit-2.78-12 has bug in sysvinit-2.78-notty.patch patch that under some
artificial conditions can lead to not releasing newly open file handle for
tty. Incorrect statement in patch was '  if (fd>0) close(fd);' Correct
statement will be '  if (fd >= 0) close(fd);' . Attachment is a corrected
patch.

Comment 1 dan 2001-03-14 20:51:26 UTC
Created attachment 12664 [details]
Corrected version of sysvinit-2.78-notty.patch

Comment 2 Bill Nottingham 2001-03-15 17:55:36 UTC
Should be fixed in 2.78-13 - thanks!