Forgot to include details about my system. SL 6.2 x64, extra repos: epel Thanks. On Mon, 23 Jul 2012 12:03:29 +0200 Andras Horvath <[log in to unmask]> wrote: > Hi, > > Does anyone use aide from SL repo? It has version 0.14 and creates > corrupt initial database. > > To reproduce the problem: > # yum install aide > # aide -i > # cd /var/lib/aide > # mv aide.db.new.gz aide.db.gz > # aide > > Output is: > Error reading gzipped file: <fd:5>: buffer error > > # gzip -t /var/lib/aide/aide.db.gz > > gzip: /var/lib/aide/aide.db.gz: unexpected end of file > > Relevant TUV bug report: > https://bugzilla.redhat.com/show_bug.cgi?id=574764 > > Solution: > - update to version 14-2 (fc14) > > My workaround with this version: > - disable compression in /etc/aide.conf > > --------------------------------------------------------- > diff -u /etc/aide.conf.orig /etc/aide.conf > --- /etc/aide.conf.orig 2012-07-23 11:54:02.951061516 +0200 > +++ /etc/aide.conf 2012-07-23 11:53:40.855027455 +0200 > @@ -4,15 +4,17 @@ > @@define LOGDIR /var/log/aide > > # The location of the database to be read. > -database=file:@@{DBDIR}/aide.db.gz > +#database=file:@@{DBDIR}/aide.db.gz > +database=file:@@{DBDIR}/aide.db > > # The location of the database to be written. > #database_out=sql:host:port:database:login_name:passwd:table > #database_out=file:aide.db.new > -database_out=file:@@{DBDIR}/aide.db.new.gz > +#database_out=file:@@{DBDIR}/aide.db.new.gz > +database_out=file:@@{DBDIR}/aide.db.new > > # Whether to gzip the output to database > -gzip_dbout=yes > +#gzip_dbout=yes > > # Default. > verbose=5 > --------------------------------------------------------- > > Could anyone confirm that the official version from SL repo is buggy > at you too? > > @devs: is it in plan to update the pkg? > > > Thanks! > > Andras