From owner-freebsd-ports Sat Jul 15 12:20: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6B43037B79D for ; Sat, 15 Jul 2000 12:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA77137; Sat, 15 Jul 2000 12:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from vega.uli.it (vega.uli.it [62.212.0.2]) by hub.freebsd.org (Postfix) with ESMTP id F3FC137B596 for ; Sat, 15 Jul 2000 12:12:02 -0700 (PDT) (envelope-from olgeni@uli.it) Received: from olgeni.uli.it (olgeni.uli.it [62.212.0.22]) by vega.uli.it (Postfix) with ESMTP id CF5583B005 for ; Sat, 15 Jul 2000 21:12:00 +0200 (CEST) Message-Id: Date: Sat, 15 Jul 2000 21:12:58 +0200 (CEST) From: Jimmy Olgeni To: FreeBSD-gnats-submit@freebsd.org Subject: ports/19953: [PATCH] cyrus-sasl-1.5.21: pwcheck.sh stop doesn't stop Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19953 >Category: ports >Synopsis: [PATCH] cyrus-sasl-1.5.21: pwcheck.sh stop doesn't stop >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 15 12:20:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Jimmy Olgeni >Release: FreeBSD 4.0-STABLE i386 >Organization: Colby >Environment: Standard cyrus-sasl-1.5.21 installation. >Description: /usr/local/etc/rc.d/pwcheck.sh stop does not stop pwcheck: the /var/run/pwcheck.pid does not exist. >How-To-Repeat: /root# ps ax|grep pwcheck 49426 v4 R+ 0:00.00 grep pwcheck /root# /usr/local/etc/rc.d/pwcheck.sh start pwcheck/root# /root# ls -la /var/run/ | grep pwcheck /root# /usr/local/etc/rc.d/pwcheck.sh stop /root# ps ax|grep pwcheck 49429 v4 I 0:00.00 /usr/local/sbin/pwcheck 49435 v4 R+ 0:00.00 grep pwcheck /root# killall pwcheck >Fix: Patch pwcheck.sh: *** pwcheck.sh.orig Sat Jul 15 21:02:09 2000 --- pwcheck.sh Sat Jul 15 21:02:36 2000 *************** *** 10,16 **** start) if [ -x ${PREFIX}/sbin/pwcheck ] then ! ${PREFIX}/sbin/pwcheck & && echo -n " pwcheck" fi ;; --- 10,16 ---- start) if [ -x ${PREFIX}/sbin/pwcheck ] then ! ${PREFIX}/sbin/pwcheck & (echo $! > /var/run/pwcheck.pid) && echo -n " pwcheck" fi ;; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message