On Thu, Jun 22, 2006 at 03:53:38PM +0200, Marc Haber wrote: > On Fri, Jun 16, 2006 at 04:06:31PM +0200, [EMAIL PROTECTED] wrote: > > Experimentally, the corruption happens randomly when writing the > > database. When I get a corrupted db, regenerating the database with the > > same underlying filesystem lead to a non-corrupted db. > > OTOH, trying to read a corrupted db never succeed. > > You mean that one aide --update generates a corrupt database while the > next aide --update, called immediately afterwards without touching any > aide-related files, generates a correct one?
Yes, I do aide --update mv /var/lib/aide/aide.db.new /var/lib/aide/aide.db aide --check If that reports a lot of missing files, I restart the process and it works. This is the way I work around the bug. I wonder if aide does not work better if the files are already in the ernel cache. (The box has 1Gb of RAM, and the amount of file data processed by aide is much smaller than that.) cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

