Thanks much for the fix and the verification!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1708665
Title:
prerotate.sh fails due to no shell for www-data user
To manage notifications about this
Public bug reported:
This was found in Ubuntu 16.04. I have not tested other versions.
The /etc/logrotate.d/httpd-prerotate/awstats/prerotate.sh script does
not run by default, because the 'www-data' user does not have a valid
shell by default.
root@www:~# bash -x