bin/119203: [patch] inetd(8) missing wait/nowait requirement on ONC entries

Peter Jeremy peterjeremy at optushome.com.au
Mon Dec 31 13:10:02 PST 2007


>Number:         119203
>Category:       bin
>Synopsis:       [patch] inetd(8) missing wait/nowait requirement on ONC entries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 31 21:10:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Peter Jeremy
>Release:        FreeBSD 6.3-PRERELEASE amd64
>Organization:
n/a
>Environment:
System: FreeBSD turion.vk2pj.dyndns.org 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #31: Wed Dec 26 09:23:54 EST 2007 root at turion.vk2pj.dyndns.org:/usr/obj/usr/src/sys/turion amd64

>Description:
	The inetd man page does not mention the requirement for a
	wait/nowait column in ONC entries.  The code does require
	this and the sample inetd.conf file includes it.

>How-To-Repeat:
	Code inspection.
	Create inetd.conf entry for ONC service without wait/nowait
	column and [re]start inetd.  This will create a syslog message like:
Jan  1 08:01:46 turion inetd[3795]: /etc/inetd.conf: bad wait/nowait for service rstatd

>Fix:

Index: usr.sbin/inetd/inetd.8
===================================================================
RCS file: /usr/ncvs/src/usr.sbin/inetd/inetd.8,v
retrieving revision 1.81.2.2
diff -u -r1.81.2.2 inetd.8
--- usr.sbin/inetd/inetd.8	29 Apr 2007 19:22:12 -0000	1.81.2.2
+++ usr.sbin/inetd/inetd.8	21 Jun 2007 19:23:57 -0000
@@ -177,6 +177,7 @@
 service-name/version
 socket-type
 rpc/protocol
+{wait|nowait}[/max-child[/max-connections-per-ip-per-minute]]
 user[:group][/login-class]
 server-program
 server-program-arguments
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list