From owner-freebsd-x11@FreeBSD.ORG Wed Nov 30 21:03:28 2011 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8611A1065670; Wed, 30 Nov 2011 21:03:28 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id 1C6F68FC0C; Wed, 30 Nov 2011 21:03:28 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 7727A359B8C; Wed, 30 Nov 2011 22:03:27 +0100 (CET) Received: by snail.stack.nl (Postfix, from userid 1677) id 5F32328468; Wed, 30 Nov 2011 22:03:27 +0100 (CET) Date: Wed, 30 Nov 2011 22:03:27 +0100 From: Jilles Tjoelker To: Warner Losh Message-ID: <20111130210327.GA21283@stack.nl> References: <00701089-9A0A-4309-8A6B-D6AF34CDEBF0@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00701089-9A0A-4309-8A6B-D6AF34CDEBF0@bsdimp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-x11@freebsd.org, rc@freebsd.org, Chris Rees Subject: Re: xdm does not work junder BETA3 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2011 21:03:28 -0000 On Wed, Nov 30, 2011 at 10:16:06AM -0700, Warner Losh wrote: > /var/run isn't ever cleared on boot. The script /etc/rc.d/cleanvar, enabled by default, does this. > Programs are supposed to cope with with stale .pid files, since they > might have died w/o deleting it... Without cleanvar, after an unclean reboot we would likely end up with some pidfiles that look valid (because the process exists) but are not. Checking the executable of the running process may help but is not always done and not fully reliable either (for example if you run many instances of the same daemon executable). -- Jilles Tjoelker