Good catch!
Please open a bz for it.
As always- patches are welcomed ;)
On 20/05/12 05:08, Nicholas Kesick wrote:
I happened to catch this in my mail. Looks like a bug (do I file a
bugzilla and/or win a prize? :p).
#tail /var/spool/mail/root
Message-Id: <201205192145.q4JLj5Pb003812@oVirtManager
<mailto:201205192145.q4JLj5Pb003812@oVirtManager>>
From: Anacron <root@oVirtManager <mailto:root@oVirtManager>>
To: root@oVirtManager <mailto:root@oVirtManager>
Content-Type: text/plain; charset="ANSI_X3.4-1968"
Subject: Anacron job 'cron.daily' on oVirtManager
/etc/cron.daily/ovirt-cron:
/etc/cron.daily/ovirt-cron: line 4: /usr/share/ovirt/scripts/ovirtlogrot.sh: No such file
or directory
Looking at the file:
# cat /etc/cron.daily/ovirt-cron
#!/bin/sh
#compress log4j log files, delete old ones
/usr/share/ovirt/scripts/ovirtlogrot.sh /var/log/ovirt-engine 480 > /dev/null
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t rhevm "ALERT exited abnormally with [$EXITVALUE]"
fi
exit $EXITVALUE
We can see that it is looking for /usr/share/ovirt/scripts/ovirtlogrot.sh . However, that
file is located at /usr/share/ovirt*-engine*/scripts/ovirtlogrot.sh
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users