apache2 and aide

On each reboot aide reports the below files as having changed Mtime and Ctime stamps.

changed: /etc/apache2/sysconfig.d/global.conf
changed: /etc/apache2/sysconfig.d/include.conf
changed: /etc/apache2/sysconfig.d/loadmodule.conf

I have not noticed a variable in /etc/sysconfig/apache2 that stops this behavior and leaves those as static files, until I want to change them myself.

Any suggestions?

In case anyone else wants to monitor their web server configs using aide for changes here was my solution.

In /etc/aide.conf I added these lines:


## Removes mtime and ctime
TimeFiles       = p+i+n+u+g+s+b+sha256+sha512

/etc/apache2/sysconfig.d                TimeFiles

I am not using virtual hosts since this is just a development server. My assumption is that in a production environment with virtual hosts those files will also have their mtime and ctime modified every time the apache2.service (httpd) is called and would need to be added to the aide.conf file.