Re: Patch for rc.d/devd on FreeBSD 9-current

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Mon, 28 Jun 2010 08:18:10 -0600 (MDT)
In message: <86iq537egy.fsf_at_ds4.des.no>
            Dag-Erling Smørgrav <des_at_des.no> writes:
: "M. Warner Losh" <imp_at_bsdimp.com> writes:
: > Maybe the real problem is that devd locks the file, then dies.  The
: > file remains locked, so the flopen is failing with EWOULDBLOCK.
: 
: The lock is released when the process that holds it terminates.

So which process is that?  devd took it out, and is subsequently
killed.  When it restarts, it can't take out the lock.

The same code works perfectly in 8.0-stable from April.

The conclusion, I believe, is that somebody broke locking in
current...

<grump>

Warner
Received on Mon Jun 28 2010 - 12:21:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC