Bug 581166

Summary: libvirt: 'virsh dominfo' crashes libvirtd if security driver disabled
Product: [Fedora] Fedora Reporter: Mikko Tiihonen <mikko.tiihonen>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: berrange, clalance, crobinso, itamar, jforbes, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:be4965073fe79e6ea6804ec82c3d92d9119b27d4
Fixed In Version: libvirt-0.7.7-4.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-28 17:59:01 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:
Attachments:
Description Flags
File: backtrace none

Description Mikko Tiihonen 2010-04-10 18:26:44 UTC
abrt 1.0.9 detected a crash.

architecture: x86_64
Attached file: backtrace
cmdline: libvirtd --daemon
component: libvirt
executable: /usr/sbin/libvirtd
global_uuid: be4965073fe79e6ea6804ec82c3d92d9119b27d4
kernel: 2.6.33.1-24.fc13.x86_64
package: libvirt-0.7.7-1.fc13
rating: 4
reason: Process /usr/sbin/libvirtd was killed by signal 11 (SIGSEGV)
release: Fedora release 13 (Goddard)

comment
-----
Example run:

# /etc/init.d/libvirtd restart

# virsh
Welcome to virsh, the virtualization interactive terminal.

virsh # list
 Id Name                 State
----------------------------------
  1 PostgreSQL           running

virsh # dominfo 1
Id:             1
Name:           PostgreSQL
UUID:           f4cc0b7a-848b-af9f-a981-a6c09f3cd285
OS Type:        hvm
State:          running
CPU(s):         1
CPU time:       149.8s
Max memory:     2097152 kB
Used memory:    2097152 kB
Autostart:      disable
error: server closed connection: 

How to reproduce
-----
1. started a kvm virtual machine
2. start virsh
3. run virsh dominfo 1

Comment 1 Mikko Tiihonen 2010-04-10 18:26:46 UTC
Created attachment 405742 [details]
File: backtrace

Comment 2 Cole Robinson 2010-05-18 17:35:41 UTC
Caused by virsh dominfo when security driver is disabled in /etc/libvirt/qemu.conf. Fixed upstream here:

http://libvirt.org/git/?p=libvirt.git;a=commit;h=b7a7b3365145f6e9e434a3265a58666cd2e6d8dd

Comment 3 Fedora Update System 2010-05-18 19:02:55 UTC
libvirt-0.7.7-4.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/libvirt-0.7.7-4.fc13

Comment 4 Fedora Update System 2010-05-19 19:14:33 UTC
libvirt-0.7.7-4.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update libvirt'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/libvirt-0.7.7-4.fc13

Comment 5 Fedora Update System 2010-05-28 17:58:40 UTC
libvirt-0.7.7-4.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.