Hi,
it would be great for the Debian packaging if it were
possible to @include entire directories like
/etc/aide/aide.conf.d/.
aide would have to take precautions to avoid including
backup files and other disabled files. In Debian, for
example, it is common to exclude files ending in
.dpkg-*. There are multiple approaches:
* Insist on a certain extension (.conf, for example)
* Having a regexp of allowed file names (settable at
compile time is acceptable, run time of course preferred)
* Having a regexp of file names to be ignored
This would allow packages to bring their own aide
configuration snippet and to have it enabled
automatically. The Debian aide packages currently
implement this behavior by having aide wrapped and the
real configuration file built just before aide is
invoked, but that's a fragile hack. Would be better to
have that functionality in aide proper.
Thanks for considering.
This functionality is very useful for other systems as well, not just Debian. Please consider this as a general feature request, not only applying to Debian. This kind of feature is very useful for anyone trying to modularize their configuration, such as when using config management tools (puppet, chef, etc...)
This issues is now tracked at https://github.com/aide/aide/issues/4 .