Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2000 21:12:58 +0200 (CEST)
From:      Jimmy Olgeni <olgeni@uli.it>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19953: [PATCH] cyrus-sasl-1.5.21: pwcheck.sh stop doesn't stop
Message-ID:  <Pine.BSF.4.21.0007152110410.54422-100000@olgeni.localdomain.net>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007152110410.54422-100000>