Ubuntu 12.04LTS awstat installs its own schedulers that give permissions errors and interfer with those from Virtualmin

Every 10 minutes: owner www-data [ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh

Every day: owner www-data [ -x /usr/share/awstats/tools/buildstatic.sh ] && /usr/share/awstats/tools/buildstatic.sh

Those try to access in write mode the virtual servers' awstats folder but using www-data user they get a permission error, and that results in looots of mails to root user on the system.

Virtualmin should disable those 2 cron jobs on install imho, as it enables its own ones and enforces good user separation.

Not urgent for here, will do it manually.

Status: 
Closed (fixed)

Comments

Actually, our installer should disable those cron jobs already.

Unless perhaps you re-installed AWstats after Virtualmin?

No, it's Virtualmin which installed AWstats during its install.sh installation script.

I didn't reinstall it. I guess you can see the same issue on our test-system. :-)

BTW: UNRELATED: Don't want to open yet another ticket, as it's very minor: Webmin SSL by default allows only PCI-DSS compliant ciphers, which is great, but Usermin still doesn't have that by default and still allows unsecure ciphers. ;-) . You can see that also on the test-system. I also seen several threads on internet search about that issue.

Ok, I see the issue now .. there was a bug in the regexp that matches those cron lines. I will fix it in the next release of the Virtualmin installer package (and also that Usermin SSL bug).

Automatically closed -- issue fixed for 2 weeks with no activity.