Bug 668694

Summary: do not start libvirt-guests on upgrade
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: urgent    
Version: 6.0CC: abaron, ajia, bsarathy, ccui, cpelland, dallan, danken, dyuan, eblake, gren, hateya, jdenemar, plyons, pm-eus, xen-maint
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-0.8.1-27.el6_0.3 Doc Type: Bug Fix
Doc Text:
The %post script (part of the libvirt-client package) started the libvirt-guests service even when the service was explicitly turned off. With this update, the libvirt-guests service is no longer started when explicitly turned off.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-14 16:18:52 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: 660706    
Bug Blocks:    

Description RHEL Program Management 2011-01-11 09:49:12 UTC
This bug has been copied from bug #660706 and has been proposed
to be backported to 6.0 z-stream (EUS).

Comment 4 Daniel Veillard 2011-01-27 05:48:18 UTC
This should be fixed with build libvirt-0.8.1-27.el6_0.3,

Daniel

Comment 5 Cui Chun 2011-01-27 07:35:42 UTC
Verified it. Passed. 

Test environment:
libvirt: libvirt-0.8.1-27.el6_0.3
kernel: kernel-2.6.32-71.16.1.el6
qemu-kvm: qemu-kvm-0.12.1.2-2.113.el6_0.6

1. Try to reproduce this bug with old libvirt version (libvirt-client-0.8.1-27.el6), it can be found.

  1.1 # service libvirt-guests status
        started
  1.2 # service libvirt-guests stop
        Running guests on default URI: no running guests.
  1.3 # chkconfig libvirt-guests off
  1.4 # chkconfig --list libvirt-guests
        libvirt-guests  0:off   1:off   2:off   3:off   4:off   5:off   6:off

  1.5 # rpm -ivh libvirt-client-0.8.1-27.el6.x86_64.rpm --force
        Preparing...                ########################################### [100%]
        1:libvirt-client         ########################################### [100%]

  1.6 # service libvirt-guests status
        started

2. Verified it with libvirt-client-0.8.1-27.el6_0.3. It is fixed.  
  
  2.1 # service libvirt-guests status
        started
  2.2 # service libvirt-guests stop
        Running guests on default URI: no running guests.
  2.3 # chkconfig libvirt-guests off
  2.4 # chkconfig --list libvirt-guests
        libvirt-guests  0:off   1:off   2:off   3:off   4:off   5:off   6:off

  2.5 # rpm -ivh libvirt-client-0.8.1-27.el6_0.3.x86_64.rpm --force
        Preparing...                ########################################### [100%]
        1:libvirt-client         ########################################### [100%]

  2.6 # service libvirt-guests status
        stopped, with saved guests

Comment 7 Cui Chun 2011-01-31 09:13:02 UTC
Verified, passed.

Comment 8 errata-xmlrpc 2011-04-14 16:18:52 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 9 Martin Prpič 2011-04-15 14:23:51 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:
The %post script (part of the libvirt-client package) started the libvirt-guests service even when the service was explicitly turned off. With this update, the libvirt-guests service is no longer started when explicitly turned off.