Bug 21740

Summary: date server leave connections open
Product: [Retired] Red Hat Linux Reporter: Need Real Name <imachin>
Component: inetdAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
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: 2001-01-19 21:16:53 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 Need Real Name 2000-12-05 14:58:29 UTC
I have been using a RH 6.2 as a time server and it does not close the 
connections, this is a line of a netstat :
tcp        1      0 192.168.0.1:37          192.168.0.69:1044       
CLOSE_WAIT

I have to restart the server periodically because of this

Comment 1 Need Real Name 2000-12-24 00:50:38 UTC
inetd is not closing the socket on builtins.

--- inetd.c	Sat Dec 23 16:49:10 2000
+++ inetd.c.orig	Tue Nov 23 11:31:53 1999
@@ -490,7 +490,6 @@
 	}
 	else {
 		sep->se_bi->bi_fn(ctrl, sep);
-		close(ctrl);
 	}
 }


Comment 2 Trond Eivind Glomsrxd 2001-01-25 18:38:41 UTC

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