Date: Wed, 30 Nov 2011 22:03:27 +0100 From: Jilles Tjoelker <jilles@stack.nl> To: Warner Losh <imp@bsdimp.com> Cc: freebsd-x11@freebsd.org, rc@freebsd.org, Chris Rees <utisoft@gmail.com> Subject: Re: xdm does not work junder BETA3 Message-ID: <20111130210327.GA21283@stack.nl> In-Reply-To: <00701089-9A0A-4309-8A6B-D6AF34CDEBF0@bsdimp.com> References: <CAGBxaXnPHgYNJ4cxKbKgiaChu3%2BCuHDheGPAX7fkU0_BumtG9g@mail.gmail.com> <CAF6rxgkgipSRakreBjMAn5KZKr4KEsfQVj3fyU_N7VAoU7x3oQ@mail.gmail.com> <CAGBxaXmWS7vDtJa00ES6VL8BBpTmg1P2d3Sv=g-zub6noJ=Piw@mail.gmail.com> <CAF6rxg=DCk-ERpMtmDs2xyG5-noOztjgBMguZ_Xp_x=iRp5SOw@mail.gmail.com> <CAGBxaXmnckNWx=aGUzsbonUbJh0is8N%2BtxRA2NhmoZuFwZub-A@mail.gmail.com> <CADLo839qvbmbwAsai7sGFjnx0TT8ABDMDEftVUzi7mBytJsQNQ@mail.gmail.com> <CAGBxaX=sHEcvhM6_jMCCC3jcHn2RVESpW_ujFGi_pJkYGT_EUg@mail.gmail.com> <00701089-9A0A-4309-8A6B-D6AF34CDEBF0@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111130210327.GA21283>