Bug 890691 - /etc/cron.daily/ovirt-cron calls a shell script that does not exist ( /usr/share/ovirt/scripts/ovirtlogrot.sh ) which causes cron to generate errors
Summary: /etc/cron.daily/ovirt-cron calls a shell script that does not exist ( /usr/sh...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ovirt-engine
Version: 17
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Juan Hernández
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-28 19:54 UTC by Egon Kastelijn
Modified: 2013-01-09 08:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-09 08:53:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Egon Kastelijn 2012-12-28 19:54:53 UTC
Description of problem:
/etc/cron.daily/ovirt-cron calls a shell script that does not exist.
Quote:
==========
#!/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
==========


Version-Release number of selected component (if applicable):
# rpm -qf /etc/cron.daily/ovirt-cron 
ovirt-engine-3.0.0.0001-13.fc17.noarch

How reproducible:
Always

Steps to Reproduce:
1. yum install ovirt-engine
  
Actual results:
Cron starts sending error messages via email

Expected results:
The script should contain:
/usr/share/ovirt-engine/scripts/ovirtlogrot.sh

Additional info:
-

Comment 1 Fedora Update System 2012-12-29 18:40:21 UTC
ovirt-engine-3.0.0.0001-15.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ovirt-engine-3.0.0.0001-15.fc17

Comment 2 Fedora Update System 2012-12-31 03:29:31 UTC
Package ovirt-engine-3.0.0.0001-15.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ovirt-engine-3.0.0.0001-15.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-21120/ovirt-engine-3.0.0.0001-15.fc17
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2013-01-09 08:53:02 UTC
ovirt-engine-3.0.0.0001-15.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.