Discussion:
[Aide] ***SPAM*** help with root_prefix
p***@mailnull.com
2017-11-17 04:49:53 UTC
Permalink
Hello,

I'm trying to understand how to use root_prefix (in order to
save effort in off-line database initialization and checking).
I'm using aide-0.16 on Fedora 25.

To test, I do something like:

`mkdir /tmp/testroot`
`touch /tmp/testroot/{x,y}`

Create aide.conf with:

root_prefix = /tmp/testroot
/ R

And run `aide -c ./aide.conf --init`. What I get is:

get_file_status: lstat() failed for /y: No such file or directory
get_file_status: lstat() failed for /x: No such file or directory

The initialized database contains the one entry of "/" whose
attributes are those of the real "/" (not "/tmp/testroot" as I
expect).

If I change the rule to:

/tmp/testroot R

I get the same result, except that "/" is not added to the database.

Can anyone guide me to the correct setup? What is root_prefix
supposed to do?

Thank you,
John

----------
This message was sent from a MailNull anti-spam account. You can get
your free account and take control over your email by visiting the
following URL.

http://mailnull.com/
Hannes von Haugwitz
2017-11-17 22:05:18 UTC
Permalink
Hi,
Post by p***@mailnull.com
Can anyone guide me to the correct setup? What is root_prefix
supposed to do?
Your expectations regarding the root_prefix options are absolutely correct. The
current behaviour is simply a bug. I'll look into it and report back
when it is fixed.

Best regards

Hannes
Hannes von Haugwitz
2017-11-18 08:15:25 UTC
Permalink
Hallo,
Post by Hannes von Haugwitz
Post by p***@mailnull.com
Can anyone guide me to the correct setup? What is root_prefix
supposed to do?
Your expectations regarding the root_prefix options are absolutely correct. The
current behaviour is simply a bug. I'll look into it and report back
when it is fixed.
The issue should be fixed now in git master[0].

Best regards

Hannes

[0] https://sourceforge.net/p/aide/code/ci/11a2c982
p***@mailnull.com
2017-11-19 01:23:47 UTC
Permalink
Post by Hannes von Haugwitz
Hallo,
Post by Hannes von Haugwitz
Your expectations regarding the root_prefix options are absolutely correct. The
current behaviour is simply a bug. I'll look into it and report back
when it is fixed.
The issue should be fixed now in git master[0].
Best regards
Hannes
Thank you, Hannes.

Sincerely,
John



----------
This message was sent from a MailNull anti-spam account. You can get
your free account and take control over your email by visiting the
following URL.

http://mailnull.com/

Continue reading on narkive:
Loading...