Patch for rc.d/devd on FreeBSD 9-current
M. Warner Losh
imp at bsdimp.com
Mon Jun 28 14:21:01 UTC 2010
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
More information about the freebsd-current