AIDE.WRAPPER(8) | System Manager's Manual | AIDE.WRAPPER(8) |
aide.wrapper - call aide binary for Debian mechanisms
aide.wrapper [options]
aide.wrapper calls the aide binary with --config appropriate for the mechanisms automatically used in the Debian package. To prevent damage to the database, aide.wrapper takes out a lock and will refuse to run a second aide process when there is still another one running.
If no --config option explicitly given, aide.wrapper will set --config to /var/lib/aide/aide.conf.autogenerated, invoke update-aide.conf, and use aide --config-check to verify correctness of the configuration prior to invoking the aide binary.
aide.wrapper hands down all options down to the aide binary verbatim and only detects the presence of --config to determine whether to call update-aide.conf or not.
Normally, the exit status is 0 if no errors occurred. An exit status below 100 is the exit status from the actual aide binary, as documented in its own man page. The wrapper's own exit codes are defined as:
The environment variable DBAGE can be used to control the aide run respective to the age of the aide databases in /var/lib/aide/aide.db(.new). This is useful when the local admin manually recreates the database, preventing an automated aide run (for example from cron) from clobbering the database the local admin might be inspecting at the moment. If DBAGE is set to a non-zero value (for example from the crontab), and one of the databases is younger than DBAGE seconds, the wrapper will print a warning, terminate without running aide and return an exit status of 0. The default value of DBAGE is 0.
This manual page was written by Marc Haber <mh+debian-packages@zugschlus.de> for the Debian GNU/Linux system (but may be used by others).
aide's command line options and exit statuses are documented in its own man page, aide(1).
June 20, 2018 |