Package: apache2-common Version: 2.0.55-3 Severity: normal The lines Include /etc/apache2/conf.d/[^.#]* Include /etc/apache2/sites-enabled/[^.#]* work perfectly well for apache but /etc/init.d/apache2 uses the glob patterns provided by them in a /bin/sh script context. And POSIX specifies only the exclamation mark as the exclude list specifier. So this is in effect a bashism resulting in not grepping the correct files in conf.d and sites-enabled when /bin/sh is eg. dash.
And because I have no files starting with '^', '.' or '#' in these directories every day cron says: /etc/cron.daily/logrotate: grep: /etc/apache2/conf.d/[^.#]*: No such file or directory grep: /etc/apache2/sites-enabled/[^.#]*: No such file or directory Changing the '^' to '!' in the Include directives helps. -- System Information: Shell: /bin/sh linked to /bin/dash -- MichaĆ Politowski Talking has been known to lead to communication if practiced carelessly.
signature.asc
Description: Digital signature