Red Hat Bugzilla – Bug 829712
[ovirt-engine-core] Engine start script should check log permissions
Last modified: 2014-07-10 20:08:59 EDT
Description of problem:
It might be a sittuation that the old installation logs are owned by jboss.jboss.
The engine start script should check that the /var/log/ovirt-engine/server.log either doesn't exist or is owned by the ovirt user
Version-Release number of selected component (if applicable):
Steps to Reproduce:
The following change includes a fix for this issue:
If any of the log files (boot.log, console.log, server.log and engine.log) exists and is not owned by the ovirt user the service will fail to start and will send the messages like this to the system log (/var/log/messages):
Jun 14 15:17:59 f17 ovirt-engine: The file "/var/log/ovirt-engine/server.log" is not owned by user "ovirt", but by "root".
This change has been merged: