[Pkg-aide-maintainers] Bug#824036: integrate wrapper functionality in aide proper

Marc Haber mh+debian-packages at zugschlus.de
Wed May 11 15:31:05 UTC 2016


Package: aide-common
Severity: wishlist
Tags: upstream

Hi,

we should think about moving some of the Debian magic from the wrapper
to the aide binary. Here is a number of ideas:

(1)
aide should really care about locking the database to avoid two
concurrently running aide processes wrecking the database. In the
minimum, care should be taken that no two processes have the database
open for writing.

(2)
In Debian, we make sure that a --config-less aide call does not act on
the default database. This is rather unelegant. Any ideas how to
handle this more elegantly than pointing the compiled-in default to a
non-existent directory?

(3)
Maybe, some indirection could be implemented in aide proper, such as
/etc/aide/aide.conf:
config-generator=/usr/sbin/update-aide.conf --output /var/lib/aide/aide.conf.autogenerated
generated-config-file=/var/lib/aide/aide.conf.autogenerated

having aide --config=/etc/aide/aide.conf first call the binary given
as config-generator and then proceeding to read the newly-generated
configuration.

Greetings
Marc



More information about the Pkg-aide-maintainers mailing list