Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1438921

Summary: After installing ovirt-imageio-daemon var/log/ovirt-imageio-daemon is incorrectly owned by root:root
Product: Red Hat Enterprise Virtualization Manager Reporter: Pawan kumar Vilayatkar <pvilayat>
Component: ovirt-imageio-daemonAssignee: Daniel Erez <derez>
Status: CLOSED NEXTRELEASE QA Contact: Raz Tamir <ratamir>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0.3CC: amureini, pvilayat, tjelinek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-06 11:38:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1401901    
Bug Blocks:    

Description Pawan kumar Vilayatkar 2017-04-04 18:43:26 UTC
Description of problem:
After installing  ovirt-imageio-daemon the log directory /var/log/ovirt-imageio-daemon is owned by by root:root, it should be by-default vdsm:kvm


Version-Release number of selected component (if applicable):
rhevm-4.0.3


Actual results:

The /var/log/ovirt-imageio-daemon is incorrectly owned by root:root, this needs to be vdsm:kvm 


Expected results:
The /var/log/ovirt-imageio-daemon should be owned by vdsm:kvm 




Additional info:
ovirt-imageio-daemon service fails to start with error message

IOError: [Errno 13] Permission denied: '/var/log/ovirt-imageio-daemon/daemon.log'
ovirt-imageio-daemon.service: main process exited, code=exited, status=1/FAILURE
 Failed to start oVirt ImageIO Daemon.


To start the ovirt-imageio-daemon service  chnaged the ownership to  vdsm:kvm :
 # chmod 700 /var/log/ovirt-imageio-daemon
 # chown vdsm.kvm /var/log/ovirt-imageio-daemon
 # systemctl restart ovirt-imageio-daemon

Comment 3 Red Hat Bugzilla 2023-09-14 03:55:58 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days