[Bug 453453] [NEW] libvirt sometimes hangs when using pulseaudio

Jamie Strandboge jamie at ubuntu.com
Fri Oct 16 21:25:44 BST 2009


Public bug reported:

Occasionally, a virtual machine will hang during boot when started from
virt-manager. This seems to be racy or related to some interaction with
pulseaudio. I saw this when using an 8.10 and 9.10 desktop livecd.
During the boot process, the VM would hang and all of libvirt would be
unresponsive (ie 'virsh list' would also hang). This happens here maybe
1 out of 10 times.

Until bug #453329 is fixed, you will have to disable apparmor for libvirt with:
$ sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.libvirtd
$ sudo /etc/init.d/libvirt-bin restart

This is because that bug masks the problem by denying access to
pulseaudio, and therefore audio is not available in the guest and the
boot proceeds like normal. I will try to obtain an 'strace -p' of the
kvm process when I see another hang. I have witnessed 4 hangs in maybe
20 boots (3 in a row, a couple successful boots and 1 outlier).

ProblemType: Bug
Architecture: amd64
Date: Fri Oct 16 15:07:59 2009
DistroRelease: Ubuntu 9.10
LiveMediaBuild: Ubuntu 9.04 "Jaunty Jackalope" - Release amd64 (20090420.1)
Package: libvirt-bin 0.7.0-1ubuntu11
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.47-generic
SourcePackage: libvirt
Uname: Linux 2.6.31-14-generic x86_64

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
libvirt sometimes hangs when using pulseaudio
https://bugs.launchpad.net/bugs/453453
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list