lynis icon indicating copy to clipboard operation
lynis copied to clipboard

Lynis incorrectly reports AIDE database was not found

Open l-t-k opened this issue 2 years ago • 3 comments

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

l-t-k avatar Sep 10 '21 20:09 l-t-k

Hi @l-t-k, I believe this was fix in PR https://github.com/CISOfy/lynis/pull/1142

konstruktoid avatar Sep 12 '21 19:09 konstruktoid

I also noticed this. It would be great to have a release that includes #1142.

antonv6 avatar Jan 16 '22 08:01 antonv6

bumping this. It would be great if this would be included in a release

ghost avatar Dec 04 '22 19:12 ghost