From nobody@FreeBSD.org  Thu Dec 15 14:41:42 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 22AA016A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Dec 2005 14:41:42 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DD33043D53
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Dec 2005 14:41:41 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jBFEffco095156
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Dec 2005 14:41:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jBFEffZM095155;
	Thu, 15 Dec 2005 14:41:41 GMT
	(envelope-from nobody)
Message-Id: <200512151441.jBFEffZM095155@www.freebsd.org>
Date: Thu, 15 Dec 2005 14:41:41 GMT
From: Dmitry Kazarov <kazarov@mcm.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Missed in manual page: inetd daemon does not start without file /etc/netconfig
X-Send-Pr-Version: www-2.3

>Number:         90435
>Category:       docs
>Synopsis:       Missed in inetd(8): daemon does not start without file /etc/netconfig
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ceri
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 15 14:50:02 GMT 2005
>Closed-Date:    Sat Jan 07 13:58:30 GMT 2006
>Last-Modified:  Sat Jan 07 13:58:30 GMT 2006
>Originator:     Dmitry Kazarov
>Release:        FreeBSD 6.0-STABLE
>Organization:
Multicom
>Environment:
FreeBSD CE.multicom.ru 6.0-STABLE FreeBSD 6.0-STABLE #0: Wed Dec 14 10:30:17 MSK 2005     root@CE.multicom.ru:/var/tmp/obj/usr/src/sys/CE  i386
>Description:
Section FILES of inetd(8) lists only
     /etc/inetd.conf     configuration file
     /etc/rpc            translation of service names to RPC program numbers
     /etc/services       translation of service names to port numbers
     /var/run/inetd.pid  the pid of the currently running inetd
Trying to start inetd in jail I've found that without /etc/netconfig it dies with a cryptic message. Only digging in the sources solved the problem.
>How-To-Repeat:
              
>Fix:
              
>Release-Note:
>Audit-Trail:

From: Daniel Gerzo <danger@rulez.sk>
To: bug-followup@FreeBSD.org, kazarov@mcm.ru
Cc:  
Subject: Re: docs/90435: Missed in inetd(8): daemon does not start without file /etc/netconfig
Date: Fri, 30 Dec 2005 00:38:35 +0100

 --EVF5PPMfhYS0aIcm
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Hello,
    
    included patch should be sufficient.
 
 -- 
 Sincerely,
    Daniel Gerzo
 
 --EVF5PPMfhYS0aIcm
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="inetd.8.diff"
 
 --- inetd.8.orig	Fri Dec 30 00:34:45 2005
 +++ inetd.8	Fri Dec 30 00:36:02 2005
 @@ -786,6 +786,8 @@
  .Bl -tag -width /var/run/inetd.pid -compact
  .It Pa /etc/inetd.conf
  configuration file
 +.It Pa /etc/netconfig
 +network configuration data base
  .It Pa /etc/rpc
  translation of service names to RPC program numbers
  .It Pa /etc/services
 
 --EVF5PPMfhYS0aIcm--
State-Changed-From-To: open->patched 
State-Changed-By: ceri 
State-Changed-When: Fri Dec 30 13:16:23 UTC 2005 
State-Changed-Why:  
Patched in head. 


Responsible-Changed-From-To: freebsd-doc->ceri 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Fri Dec 30 13:16:23 UTC 2005 
Responsible-Changed-Why:  
My MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90435 
State-Changed-From-To: patched->closed 
State-Changed-By: ceri 
State-Changed-When: Sat Jan 7 13:58:06 UTC 2006 
State-Changed-Why:  
Pulled back to RELENG_5 and RELENG_6.  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90435 
>Unformatted:
