Discussion:
[Aide] Change root for scan.
Paul Hessels
2015-04-24 15:18:36 UTC
Permalink
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?

Also, I have a couple bug reports to make, how should I go about doing that?
Hannes von Haugwitz
2015-04-24 19:40:42 UTC
Permalink
Hi Paul,
Post by Paul Hessels
I want to scan a bunch of full system backups but what I thought would work
does not work.
@@define ROOTPREFIX (/u/backup/client/1.1.1.1|/u/backup/client/
1.1.1.1/var/lib/vservers/www)
"/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.
Post by Paul Hessels
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
Paul Hessels
2015-04-25 13:09:37 UTC
Permalink
I am running 0.16~a2.git20130520-3 from debian wheezy-backports that you
uploaded for me Hannes.

Would that be the latest?
Post by Hannes von Haugwitz
Hi Paul,
Post by Paul Hessels
I want to scan a bunch of full system backups but what I thought would
work
Post by Paul Hessels
does not work.
@@define ROOTPREFIX (/u/backup/client/1.1.1.1|/u/backup/client/
1.1.1.1/var/lib/vservers/www)
"/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.
Post by Paul Hessels
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
_______________________________________________
Aide mailing list
https://mailman.cs.tut.fi/mailman/listinfo/aide
Hannes von Haugwitz
2015-04-25 13:59:54 UTC
Permalink
Hi,
Post by Paul Hessels
I am running 0.16~a2.git20130520-3 from debian wheezy-backports that you
uploaded for me Hannes.
Would that be the latest?
This version is recent enough for bug reporting.

Best regards

Hannes

Loading...