From owner-freebsd-ports Wed Aug 29 4:40: 8 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CA9CB37B405 for ; Wed, 29 Aug 2001 04:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7TBe1r91836; Wed, 29 Aug 2001 04:40:01 -0700 (PDT) (envelope-from gnats) Received: from soleil.uvsq.fr (soleil.uvsq.fr [193.51.24.1]) by hub.freebsd.org (Postfix) with ESMTP id D760E37B403 for ; Wed, 29 Aug 2001 04:31:17 -0700 (PDT) (envelope-from card@uvsq.fr) Received: from (card@localhost) by soleil.uvsq.fr (8.11.3/jtpda-5.3.3) id f7TBVFb69132 ; Wed, 29 Aug 2001 13:31:15 +0200 (CEST) Message-Id: <200108291131.f7TBVFb69132@soleil.uvsq.fr> Date: Wed, 29 Aug 2001 13:31:15 +0200 (CEST) From: card@csi.uvsq.fr Reply-To: card@csi.uvsq.fr To: FreeBSD-gnats-submit@freebsd.org Cc: sysadm@csi.uvsq.fr X-Send-Pr-Version: 3.113 Subject: ports/30188: Wrong option (-pid) used in the script xinetd.sh Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30188 >Category: ports >Synopsis: xinetd started with -pid instead of -pidfile >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 29 04:40:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Remy Card >Release: FreeBSD 4.3-RELEASE-p14 i386 >Organization: Université de Versailles St-Quentin-en-Yvelines >Environment: System: FreeBSD soleil.uvsq.fr 4.3-RELEASE-p14 FreeBSD 4.3-RELEASE-p14 #0: Tue Aug 28 13:24:25 CEST 2001 root@soleil.uvsq.fr:/usr/src/sys/compile/SOLEIL i386 >Description: The script xinetd.sh included in the xinetd port incorrectly starts xinetd with the -pid option. It should start it with the -pidfile option to store xinetd's PID into /var/run/xinetd.pid. >How-To-Repeat: Install the xinetd port :-) >Fix: Change xinetd.sh to use the -pidfile option: --- xinetd.sh.orig Wed Aug 29 13:26:49 2001 +++ xinetd.sh Wed Aug 29 13:27:04 2001 @@ -8,7 +8,7 @@ case "$1" in start) [ -x ${PREFIX}/sbin/xinetd ] && \ - ${PREFIX}/sbin/xinetd -pid 2> /var/run/xinetd.pid && \ + ${PREFIX}/sbin/xinetd -pidfile /var/run/xinetd.pid && \ echo -n ' xinetd' ;; stop) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message