Bug 662045

Summary: bogus permissions on /var/lib/libvirt in libvirt spec file
Product: Red Hat Enterprise Linux 6 Reporter: RHEL Program Management <pm-rhel>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: berrange, clalance, crobinso, dallan, eblake, itamar, jdenemar, jforbes, laine, llim, mcermak, myllynen, plyons, pm-eus, veillard, virt-maint, xen-maint, yimwang
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-0.8.1-27.el6_0.2 Doc Type: Bug Fix
Doc Text:
A specification file bug caused permissions on the /var/lib/libvirt directory to change when upgrading a system. With this update, correct permissions are assigned to the aforementioned directory.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-14 16:19:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 649523    
Bug Blocks:    

Description RHEL Program Management 2010-12-10 12:26:15 UTC
This bug has been copied from bug #649523 and has been proposed
to be backported to 6.0 z-stream (EUS).

Comment 3 Jiri Denemark 2010-12-10 13:52:42 UTC
Fixed in libvirt-0.8.1-27.el6_0.2

Comment 4 wangyimiao 2010-12-21 07:16:48 UTC
Verified it PASSED on build:
libvirt-0.8.1-27.el6_0.2.x86_64
libvirt-client-0.8.1-27.el6_0.2.x86_64
kernel-2.6.32-71.13.1.el6.x86_64
qemu-img-0.12.1.2-2.113.el6_0.5.x86_64
qemu-kvm-0.12.1.2-2.113.el6_0.5.x86_64

Steps:
1.
# rpm -q libvirt{,-client}
libvirt-0.8.1-27.el6_0.2.x86_64
libvirt-client-0.8.1-27.el6_0.2.x86_64

2.Check "/var/lib/libvirt" permission

# ls -ld /var/lib/libvirt/
drwxr-xr-x. 8 root root 4096 Dec 10 08:46 /var/lib/libvirt/

3.Reinstall "libvirt-client" package

# rpm -ivh --replacepkgs libvirt-client-0.8.1-27.el6_0.2.x86_64.rpm 

4.Check "/var/lib/libvirt" permission
ls -ld /var/lib/libvirt/
drwxr-xr-x. 8 root root 4096 Dec 10 08:46 /var/lib/libvirt/

5.Reinstall "libvirt-client" package again
# rpm -ivh --replacepkgs libvirt-client-0.8.1-27.el6_0.2.x86_64.rpm 

6.Check "/var/lib/libvirt" permission again.

ls -ld /var/lib/libvirt/
drwxr-xr-x. 8 root root 4096 Dec 10 08:46 /var/lib/libvirt/

Comment 6 wangyimiao 2011-02-09 03:40:02 UTC
verified it PASSED on build :
libvirt-0.8.1-27.el6_0.3.x86_64
qemu-img-0.12.1.2-2.113.el6_0.6.x86_64
qemu-kvm-0.12.1.2-2.113.el6_0.6.x86_64
kernel-2.6.32-71.18.1.el6.x86_64

Steps:

1.
# rpm -q libvirt{,-client}
libvirt-0.8.1-27.el6_0.3.x86_64
libvirt-client-0.8.1-27.el6_0.3.x86_64

2.Check "/var/lib/libvirt" permission
# ls -ld /var/lib/libvirt/
drwxr-xr-x. 8 root root 4096 Feb  9 02:46 /var/lib/libvirt/

3.Reinstall "libvirt-client" package
# rpm -ivh --replacepkgs libvirt-client-0.8.1-27.el6_0.3.x86_64.rpm 

4.Check "/var/lib/libvirt" permission
# ls -ld /var/lib/libvirt/
drwxr-xr-x. 8 root root 4096 Jan 26 15:49 /var/lib/libvirt/

5.Reinstall "libvirt-client" package again
# rpm -ivh --replacepkgs libvirt-client-0.8.1-27.el6_0.3.x86_64.rpm 

6.Check "/var/lib/libvirt" permission
# ls -ld /var/lib/libvirt/
drwxr-xr-x. 8 root root 4096 Jan 26 15:49 /var/lib/libvirt/

Comment 7 errata-xmlrpc 2011-04-14 16:19:20 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0446.html

Comment 8 Martin Prpič 2011-04-15 14:22:08 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
A specification file bug caused permissions on the /var/lib/libvirt directory to change when upgrading a system. With this update, correct permissions are assigned to the aforementioned directory.