Created attachment 367611 [details]
Run the script only if /var/lock/subsys/moodle exists
The /etc/init.d/moodle script is intended to enable/disable moodle-cron, but the script itself does not check /var/lock/subsys/moodle so the scrip is running all the time (every 5 minutes and is really noisy).
Please apply the patch attached to this bug.
How about this, which is in FC?
[ -f /var/lock/subsys/httpd ] || exit 1
+[ -f /var/lock/subsys/moodle ] && /usr/bin/php /var/www/moodle/web/admin/cron.php
[ -f /var/lock/subsys/moodle ] && [ -f /var/lock/subsys/httpd ] && /usr/bin/php /var/www/moodle/web/admin/cron.php
It does not matter :-)
moodle-1.8.8-4.el5 has been submitted as an update for Fedora EPEL 5.
moodle-1.8.8-4.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update moodle'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-5/FEDORA-EPEL-2009-0802
moodle-1.8.8-4.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.