NetBSD Problem Report #40343

From www@NetBSD.org  Thu Jan  8 16:44:16 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 1E81863B909
	for <gnats-bugs@gnats.netbsd.org>; Thu,  8 Jan 2009 16:44:16 +0000 (UTC)
Message-Id: <20090108164415.CD09C63B8BA@narn.NetBSD.org>
Date: Thu,  8 Jan 2009 16:44:15 +0000 (UTC)
From: eravin@panix.com
Reply-To: eravin@panix.com
To: gnats-bugs@NetBSD.org
Subject: inetd vanishes after syslogging "fcntl (F_SETFD, 0): Bad file descriptor" 
X-Send-Pr-Version: www-1.0

>Number:         40343
>Category:       bin
>Synopsis:       inetd vanishes after syslogging "fcntl (F_SETFD, 0): Bad file descriptor"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 08 16:45:00 +0000 2009
>Originator:     Ed Ravin
>Release:        5.0_BETA
>Organization:
PANIX Public Access Networks
>Environment:
NetBSD panix5.panix.com 5.0_BETA NetBSD 5.0_BETA (PANIX-XEN3U-USER-pae) #1: Thu Nov 13 17:26:16 EST 2008  root@juggler.panix.com:/misc1/obj/misc2/devel/netbsd/5-beta/src/sys/arch/i386/compile/PANIX-XEN3U-USER-pae i386
>Description:
also happens in NetBSD 4.0

seems to happen after inetd has either been repeatedly reloaded and/or inetd has had to suspend a port or two because of rapid respawning.

no core file found.

we notice inetd has gone away, and this is the last message in syslog:

  inetd[25724]: fcntl (F_SETFD, 0): Bad file descriptor

we restart inetd and all is well until the next time.
>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.