Subject: lfs_cleanerd couldn't init: error code -4
To: None <current-users@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 08/05/2006 22:37:58
Hi,
after the last round of changes to fhopen & Co lfs_cleanerd doesn't do it's
job anymore. From /var/log/messages:
Aug 5 22:08:31 ipaddi-bsd lfs_cleanerd[505]: /home: couldn't init: error code -4
Aug 5 22:08:31 ipaddi-bsd lfs_cleanerd[505]: : detaching cleaner
Aug 5 22:08:38 ipaddi-bsd lfs_cleanerd[534]: /u: couldn't init: error code -4
Aug 5 22:08:38 ipaddi-bsd lfs_cleanerd[534]: : detaching cleaner
The problem seems to come from fhopen in line 236 of
libexec/lfs_cleanerd/lfs_cleanerd.c
1 /* $NetBSD: lfs_cleanerd.c,v 1.10 2006/07/31 16:34:42 martin Exp $ */
...
236 if ((fs->clfs_ifilefd = fhopen(&fs->clfs_ifilefh,
237 sizeof(fs->clfs_ifilefh), O_RDONLY)) < 0)
238 return -4;
...
But I've no idea how to fix this (- w/o causing more breakage ;-)
Kurt