[Pkg-aide-maintainers] Bug#641810: /var/lib/aide/aide.db.new not copied

Raf Czlonka rafal.czlonka at gmail.com
Thu Jun 13 23:24:11 UTC 2013


On Wed, Jun 12, 2013 at 06:42:42PM BST, Hannes von Haugwitz wrote:

> > When debconf asks you whether you want to copy /var/lib/aide/aide.db.new
> > to /var/lib/aide/aide.db and you answer "Yes" it is still not happening,
> > as you can see from the error generated below.
> [cut]
> > Fatal error: The AIDE database '/var/lib/aide/aide.db' does not exist!
> > This may mean you haven't created it, or it may mean that someone has removed it.
> > End of script errors
> [cut]
> This situation can occur if the cron job is started while the
> initialization process of the installation is still running.

I don't think you understand. As I've written above, when choosing 'Yes'
to debconf's question whether to copy the '.new' database and replace
existing one, it's not being done - '/var/lib/aide/aide.db.new' is not
being copied to '/var/lib/aide/aide.db' [0].

With a new installation there's obviously no 'existing one', but that's
beside the point.

The easiest way to test it is if you purge all the aide packages and
reinstall 'aide' and 'aide-common'.

[0]
------------------------------------------------------------------------
Before AIDE can be used, you will have to initialize a database. You
can immediately do this here, or run the '/usr/sbin/aideinit' script
from a shell later.

Initialize AIDE database

It is advisable for you to first look over /var/lib/aide/aide.db.new
file before replacing the existing db. You can have the package replace
the database anyway here.

If you do not choose this option, you will need to copy the file
/var/lib/aide/aide.db.new to /var/lib/aide/aide.db before AIDE can
use it.

Copy aide.db.new to aide.db?
------------------------------------------------------------------------

Regards,

Raf



More information about the Pkg-aide-maintainers mailing list