Adam Funk wrote:
> Does Full+I correctly handle the rotation of mainlog.2.gz to
> mainlog.3.gz?  And is that because the inode is the same, or the
> hashes of the contents are the same?  (I thought --- but I could be
> wrong again! --- that logrotate changed the inode as well as the
> filename.)

Aide handles rotation because the inode stays the same. Log rotation
generally uses a rename, so the inode does not change. The inode of the
mainlog file might change though depending on how mailog is moved to
mainlog.1 (rename and touch or copy and truncate).

Sincerely,

Richard van den Berg
_______________________________________________
Aide mailing list
Aide@cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide

Reply via email to