Bug 13742

Summary: inetd leaks filedescriptors to children +FIX
Product: Base System Reporter: operator <operator>
Component: binAssignee: Dag-Erling Smørgrav <des>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.2-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description operator 1999-09-14 00:50:00 UTC
inetd fails to close signalpipe[0,1] before exec.

How-To-Repeat: 
use lsof to track pipes of inetd children.
Comment 1 ru freebsd_committer freebsd_triage 1999-09-14 00:55:42 UTC
Responsible Changed
From-To: freebsd-bugs->des

Over to the maintainer. 

Comment 2 Sheldon Hearn 1999-09-14 08:04:31 UTC
On 08 Sep 1999 09:20:16 GMT, operator@technorama.net wrote:

> inetd fails to close signalpipe[0,1] before exec.

I must admit, I thought we'd already fixed that in rev 1.66 of inetd.c
(and rev 1.46.2.7 for RELENG_3).

Do this:

	ident /usr/sbin/inetd

You'll get a line like this:

	$Id: inetd.c,v 1.70 1999/07/26 06:39:46 sheldonh Exp $

If you have a revision number lower than 1.46.2.7 after inetd.c,v then
it's time for you to upgrade. :-)

Your feedback will be appreciated.
Ciao,
Sheldon.
Comment 3 Dag-Erling Smørgrav freebsd_committer freebsd_triage 1999-09-14 08:30:05 UTC
State Changed
From-To: open->closed

Already fixed in rev. 1.66 of src/usr.sbin/inetd/inetd.c