[Pkg-aide-maintainers] Bug#868749: aide-common: aideinit fails with syntax errors when /etc/debian_version contains spaces

Raphaël Hertzog hertzog at debian.org
Tue Jul 18 09:04:54 UTC 2017


Package: aide-common
Version: 0.16-1
Severity: normal
User: devel at kali.org
Usertags: origin-kali

In Kali, we used to have "Kali Linux Rolling" in /etc/debian_version and
this broke the syntax of the generated aide.conf.

root at kali:~# aideinit 
Running aide --init...
77:syntax error:Rolling
77:Error while reading configuration:Rolling
Configuration error
AIDE --init return code 17


You should fix /etc/aide/aide.conf.d/10_aide_distribution to replace
spaces with underscores in the content read from /etc/debian_version.

This will make it more resilient for Debian derivatives that are putting
long release names in that file.

Cheers,



More information about the Pkg-aide-maintainers mailing list