Bug#858461: logrotate call in debian/README.Debian no more working

2018-09-18 Thread Helmar Gerloni
In addition to the advices in debian/README.Debian * change line in /etc/logrotate.d/apache2 to: "create 644 root adm" * change permissions of existing files: chmod 644 /var/log/apache2/*.log you also need "chmod 755 /var/log/apache2" to allow www-data to access the logs.

Bug#858461: logrotate call in debian/README.Debian no more working

2018-01-24 Thread Paul Boekholt
The patch in #10 fixes the login shell problem but www-data does not have access to the logs so it still doesn't work. There's also an open bug #745620 to run the cronjob as adm.

Bug#858461: logrotate call in debian/README.Debian no more working

2018-01-08 Thread Andreas Hasenack
In addition to the README change, here is a change to the actual script, so it works out of the box. Attached a diff that includes Christian's fix. diff -uNr awstats-7.6+dfsg.orig/debian/prerotate.sh awstats-7.6+dfsg/debian/prerotate.sh --- awstats-7.6+dfsg.orig/debian/prerotate.sh 2016-12-12

Bug#858461: logrotate call in debian/README.Debian no more working

2017-03-22 Thread Christian Ehrhardt
Package: awstats Version: 7.6+dfsg-1 Severity: low Hi, we got a Ubuntu bug, but this shall be fixed in both of our distributions - therefore filing it here. There is an issue in debian/README.Debian since the change of www-data to /usr/sbin/nologin You can try with: $ sudo su -l -c /bin/true