Bug 949686

Summary: vdsm.log ownership is root:root when log rotate run at the same time as supervdsm writes to the same log file
Product: Red Hat Enterprise Virtualization Manager Reporter: Idith Tal-Kohen <italkohe>
Component: vdsmAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED ERRATA QA Contact: Elad <ebenahar>
Severity: high Docs Contact:
Priority: high    
Version: 3.2.0CC: alonbl, bazulay, chetan, cpelland, danken, dron, dyasny, eedri, hateya, iheim, knesenko, lpeer, mgoldboi, oramraz, rcyriac, rhodain, sgrinber, smizrahi, ykaul
Target Milestone: ---Keywords: Regression, TestBlocker, ZStream
Target Release: 3.1.4   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When the vdsm.log file is removed, either manually or by logrotate, the supervdsm user can create the log file and set its ownership to root:root. When this happens, the vdsmd service is stopped until the user resets the vdsm.log ownership to vdsm:kvm, and restarts the service. This update separates supervdsm log to a supervdsm.log file, so after vdsm.log is rotated it remains owned by vdsm:kvm.
Story Points: ---
Clone Of: 912308 Environment:
Last Closed: 2013-05-01 18:25:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 912308    
Bug Blocks: 891843, 917401    

Comment 3 Elad 2013-04-29 15:04:37 UTC
Checked on RHEVM - 3.1 - SI28.1

vdsm-4.10.2-1.13.el6ev.x86_64


After rotate of vdsm.log during writing of supervdsm, the log file ownership remains vdsm kvm

Comment 5 errata-xmlrpc 2013-05-01 18:25:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0774.html