Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 10786

Summary: Daytime-tcp server is broken
Product: [Retired] Red Hat Linux Reporter: David Lawrence <dkl>
Component: inetdAssignee: Jeff Johnson <jbj>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: redhat
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: 2000-07-16 19:46:24 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:
Bug Depends On:    
Bug Blocks: 11545    

Description Derek Tattersall 2000-04-13 11:09:32 UTC
Using a sample c program from Stevens' "Unix Network Programming"
inetd-0.16-4 does not terminate and leaves tcp session in CLOSE-WAIT
forever.  Replacing inetd with inetd from netkit-base-0.10-29 (RHL 6.0)
the daytime server works properly, and no seessions are left in CLOSE-WAIT.

Comment 1 Derek Tattersall 2000-04-24 12:17:59 UTC
Adding a close(s); after line 266 of builtins.c causes the daytime server to go
to TIME-WAIT state as expected.

Comment 2 Pekka Savola 2000-07-22 21:43:12 UTC

*** This bug has been marked as a duplicate of 11548 ***