lynis
lynis copied to clipboard
Lynis incorrectly reports AIDE database was not found
Describe the bug Lynis report: No AIDE database was found, needed for AIDE functionality [FINT-4316] But file is present on disk and is present in AIDE config file.
Version
- Debian 11
- Lynis version: 3.0.6
Expected behavior No error message
Output Lynis.log 2021-09-10 22:09:07 ==== 2021-09-10 22:09:07 Performing test ID FINT-4314 (AIDE availability) 2021-09-10 22:09:07 Test: Checking AIDE binary 2021-09-10 22:09:07 Result: AIDE is installed (/usr/bin/aide) 2021-09-10 22:09:07 ==== 2021-09-10 22:09:07 Performing test ID FINT-4315 (Check AIDE configuration file) 2021-09-10 22:09:07 Test: search for aide.conf in /etc /etc/aide /usr/local/etc 2021-09-10 22:09:07 Result: found aide.conf in directory /etc/aide 2021-09-10 22:09:07 Checking configuration file /etc/aide/aide.conf for errors 2021-09-10 22:09:07 ==== 2021-09-10 22:09:07 Performing test ID FINT-4316 (Presence of AIDE database and size check) 2021-09-10 22:09:07 Test: search for AIDE database on disk 2021-09-10 22:09:07 Result: AIDE database does not exist 2021-09-10 22:09:07 Warning: No AIDE database was found, needed for AIDE functionality [test:FINT-4316] [details:-] [solution:-]
/etc/aide/aide.conf database_in=file:/var/lib/aide/aide.db database_out=file:/var/lib/aide/aide.db.new database_new=file:/var/lib/aide/aide.db.new
Hi @l-t-k, I believe this was fix in PR https://github.com/CISOfy/lynis/pull/1142
I also noticed this. It would be great to have a release that includes #1142.
bumping this. It would be great if this would be included in a release