Date: Tue, 1 Jan 2008 08:07:57 +1100 (EST) From: Peter Jeremy <peterjeremy@optushome.com.au> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/119203: [patch] inetd(8) missing wait/nowait requirement on ONC entries Message-ID: <200712312107.lBVL7vMm003899@turion.vk2pj.dyndns.org> Resent-Message-ID: <200712312110.lBVLA1Um056854@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712312107.lBVL7vMm003899>