Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 1997 17:02:35 +0000 (GMT)
From:      Adam David <adam@veda.is>
To:        ache@FreeBSD.ORG (Andrey A. Chernov)
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG
Subject:   Re: cvs commit: src/etc rc
Message-ID:  <199706021702.RAA10191@veda.is>
In-Reply-To: <199706012333.QAA05955@freefall.freebsd.org> from "Andrey A. Chernov" at "Jun 1, 97 04:33:01 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> ache        1997/06/01 16:33:01 PDT
> 
>   Modified files:
>     etc                  rc 
>   Log:
>   Add rm -f /var/run/*.pid to prevent random process killing due to
>   picking old .pid file
>   
>   Revision  Changes    Path
>   1.125     +2 -1      src/etc/rc
> 

PIDs gathered from /var/run should always be checked for validity before
killing anyway. The old process could have left a stale pidfile without a
new process being started. This can happen at any time, not only at reboot.

--
Adam David <adam@veda.is>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706021702.RAA10191>