[Aide] Change root for scan.

Hannes von Haugwitz hannes at vonhaugwitz.com
Fri Apr 24 22:40:42 EEST 2015


Hi Paul,

On Fri, Apr 24, 2015 at 11:18:36AM -0400, Paul Hessels wrote:
> I want to scan a bunch of full system backups but what I thought would work
> does not work.
> 
> I added an entry:
> @@define ROOTPREFIX (/u/backup/client/1.1.1.1|/u/backup/client/
> 1.1.1.1/var/lib/vservers/www)
> 
> Which gets appended like:
> !/@@{ROOTPREFIX}sys
> 
> But AIDE isn't going past the top directory level:
> 
> "/u" doesn't match rule from line #695: ^/(/u/backup/client/1.1.1.1
> |/u/backup/client/1.1.1.1/var/lib/vservers/2.2.2.2)run/pm
> 
> What am I doing wrong?

I'm not 100% sure, but if I quite remember this is a known bug.

Alternatively you could use the 'root_prefix' option (introduced in aide
0.16a2) to run aide separately on each system backup.

> Also, I have a couple bug reports to make, how should I go about doing
> that?

Please check if the bugs are still present in the latest git version of
aide[0]. If yes, please report bugs to sf.net[0] or if you use
Debian alternatively to the Debian BTS[2] (via reportbug).

Best regards

Hannes

[0] http://sourceforge.net/p/aide/code/ci/master/tree/
[1] http://sourceforge.net/p/aide/bugs/
[2] https://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&data=aide


More information about the Aide mailing list