Red Hat Bugzilla – Bug 836806
cleanup fails because The directory "/var/log/ovirt-engine" is not owned by user "ovirt", but by "root" - which is caused by rhevm-cleanup
Last modified: 2013-07-03 22:47:20 EDT
Description of problem:
On a relatively clean machine (hand-cleaned), rhevm-cleanup creates /var/log/ovirt-engine with ownership of root:root.
This causes rhevm-setup to fail:
2012-07-01 17:49:42::DEBUG::common_utils::335::root:: output = The directory "/var/log/ovirt-engine" is not owned by user "ovirt", but by "root".
2012-07-01 17:49:42::DEBUG::common_utils::336::root:: stderr =
2012-07-01 17:49:42::DEBUG::common_utils::337::root:: retcode = 1
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run rhevm-cleanup
2. Run rhevm-setup
Fix posted for review; http://gerrit.ovirt.org/#/c/6363/
The new rpms installation handle the creation of the log path with correct ownership.
Please allow QE to test the fix, unless you feel it's not needed.
verified on si13:
executed engine-cleanup && engine-setup:
[root@hateya-rhevm ~]# ls -ld /var/log/ovirt-engine/
drwxr-xr-x. 3 ovirt ovirt 4096 Aug 7 12:52 /var/log/ovirt-engine/