Bug 1438921 - After installing ovirt-imageio-daemon var/log/ovirt-imageio-daemon is incorrectly owned by root:root
Summary: After installing ovirt-imageio-daemon var/log/ovirt-imageio-daemon is incorre...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-imageio-daemon
Version: 4.0.3
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: ---
Assignee: Daniel Erez
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On: 1401901
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-04 18:43 UTC by Pawan kumar Vilayatkar
Modified: 2023-09-14 03:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-06 11:38:51 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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