[Bug 1708665] Re: prerotate.sh fails due to no shell for www-data user
Andreas Hasenack
andreas at canonical.com
Fri Jan 12 11:43:36 UTC 2018
Verification for xenial:
Confirming the bug in the old version:
*** 7.4+dfsg-1ubuntu0.2 500
500 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
$ sudo /etc/logrotate.d/httpd-prerotate/awstats/prerotate.sh
No directory, logging in with HOME=/
This account is currently not available.
Updating:
$ sudo apt install awstats
(...)
Get:1 http://br.archive.ubuntu.com/ubuntu xenial-proposed/main amd64 awstats all 7.4+dfsg-1ubuntu0.3 [1,835 kB]
Fetched 1,835 kB in 0s (19.0 MB/s)
(...)
Setting up awstats (7.4+dfsg-1ubuntu0.3) ...
Installing new version of config file /etc/logrotate.d/httpd-prerotate/awstats/prerotate.sh ...
Script now runs and complains about the expected things:
$ sudo /etc/logrotate.d/httpd-prerotate/awstats/prerotate.sh
No directory, logging in with HOME=/
Error while processing /etc/awstats/awstats.conf
Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats.
Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
Xenial verification completed.
** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1708665
Title:
prerotate.sh fails due to no shell for www-data user
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/awstats/+bug/1708665/+subscriptions
More information about the Ubuntu-server-bugs
mailing list