From owner-cvs-etc Mon Jun 2 09:41:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA27703 for cvs-etc-outgoing; Mon, 2 Jun 1997 09:41:26 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA27470; Mon, 2 Jun 1997 09:37:49 -0700 (PDT) Received: from veda.is (ubiq.veda.is [193.4.230.60]) by agora.rdrop.com (8.8.5/8.8.5) with ESMTP id JAA15709; Mon, 2 Jun 1997 09:37:36 -0700 (PDT) Received: (from adam@localhost) by veda.is (8.8.5/8.7.3) id RAA10191; Mon, 2 Jun 1997 17:02:37 GMT From: Adam David Message-Id: <199706021702.RAA10191@veda.is> Subject: Re: cvs commit: src/etc rc In-Reply-To: <199706012333.QAA05955@freefall.freebsd.org> from "Andrey A. Chernov" at "Jun 1, 97 04:33:01 pm" To: ache@FreeBSD.ORG (Andrey A. Chernov) Date: Mon, 2 Jun 1997 17:02:35 +0000 (GMT) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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