From nobody@FreeBSD.ORG Fri Jul 16 07:30:19 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 40DCF15137; Fri, 16 Jul 1999 07:30:19 -0700 (PDT)
Message-Id: <19990716143019.40DCF15137@hub.freebsd.org>
Date: Fri, 16 Jul 1999 07:30:19 -0700 (PDT)
From: rich@math.missouri.edu
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: inetd doesn't HUP properly
X-Send-Pr-Version: www-1.0

>Number:         12667
>Category:       bin
>Synopsis:       inetd doesn't HUP properly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    sheldonh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 16 07:40:00 PDT 1999
>Closed-Date:    Wed Jul 21 12:43:29 PDT 1999
>Last-Modified:  Wed Jul 21 12:45:01 PDT 1999
>Originator:     Richard Winkel
>Release:        3.2-stable as of 7/14/99
>Organization:
University of Missouri
>Environment:
FreeBSD crayon.math.missouri.edu 3.2-STABLE FreeBSD 3.2-STABLE #0: Thu Jul 15 12:29:40 CDT 1999     root@crayon.math.missouri.edu:/usr/src/sys/compile/g6_da0_crayon  i386

>Description:

>How-To-Repeat:
With hosts.allow allowing "ALL: localhost : allow" only,
and everything commented out in inetd.conf except comsat, ntalk and
rstatd, start inetd.  Then edit inetd.conf and remove comment from
ftp.  killall -1 inetd and try to ftp from a REMOTE host to localhost.
syslog'd error message is "inetd[2125]: write: Bad file descriptor"

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: sheldonh 
State-Changed-When: Mon Jul 19 03:24:51 PDT 1999 
State-Changed-Why:  
The problem you are seeing has been fixed in CURRNT. See PR 11860 for 
a patch if you don't want to wait for a merge from current. 


Responsible-Changed-From-To: freebsd-bugs->sheldonh 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Mon Jul 19 03:24:51 PDT 1999 
Responsible-Changed-Why:  
I'll close this PR when I MFC the numerous fixes outstanding from 
the STABLE branch. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: sheldonh 
State-Changed-When: Wed Jul 21 12:43:29 PDT 1999 
State-Changed-Why:  
This was not related to PR 11860, but rather to PR 12731. Fixed today 
in CURRENT and STABLE. 
>Unformatted:
