Date: Wed, 29 Aug 2001 13:31:15 +0200 (CEST) From: card@csi.uvsq.fr To: FreeBSD-gnats-submit@freebsd.org Cc: sysadm@csi.uvsq.fr Subject: ports/30188: Wrong option (-pid) used in the script xinetd.sh Message-ID: <200108291131.f7TBVFb69132@soleil.uvsq.fr>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108291131.f7TBVFb69132>