Subject: Re: lfs_cleanerd couldn't init: error code -4
To: Martin Husemann <martin@duskware.de>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 08/06/2006 15:42:24
On Sun, Aug 06, 2006 at 10:31:53AM +0200, Martin Husemann wrote:
> On Sat, Aug 05, 2006 at 11:48:02PM +0200, Kurt Schreiner wrote:
> > The problem showed up after I installed kernel and userland on August 4:
> > Aug  4 19:40:32 ipaddi-bsd lfs_cleanerd[474]: /home: couldn't init: error code -4
> > Aug  4 19:40:32 ipaddi-bsd lfs_cleanerd[474]: : detaching cleaner
> 
> I think backing out the
> 
>   - vfs_copyinfh_alloc_size: check fhsize strictly.
> 
> of rev. 1.265 of sys/kern/vfs_syscalls.c will work around this problem (see
> attached patch).
Yup! lfs_cleanerd is happy again:
Aug  6 15:38:11 ipaddi-bsd lfs_cleanerd[505]: /home: attaching cleaner
Aug  6 15:38:19 ipaddi-bsd lfs_cleanerd[534]: /u: attaching cleaner

I'll now cvs update my src tree to get the real fix ;-)

Thanks

Kurt