Public bug reported: When trying to use sound with libvirt, the following are logged:
[372004.849497] type=1400 audit(1285617016.764:107): apparmor="DENIED" operation="mknod" parent=1 profile="libvirt-de30315d-85ba-3088-4305-fcca82380e6e" name="/var/lib/libvirt/.pulse-cookie" pid=26092 comm="kvm" requested_mask="c" denied_mask="c" fsuid=118 ouid=118 [372004.863973] type=1400 audit(1285617016.784:108): apparmor="DENIED" operation="open" parent=26101 profile="libvirt-de30315d-85ba-3088-4305-fcca82380e6e" name="/proc/26102/fd/" pid=26102 comm="threaded-ml" requested_mask="r" denied_mask="r" fsuid=118 ouid=118 [372004.864240] type=1400 audit(1285617016.784:109): apparmor="DENIED" operation="exec" parent=26101 profile="libvirt-de30315d-85ba-3088-4305-fcca82380e6e" name="/usr/bin/pulseaudio" pid=26102 comm="threaded-ml" requested_mask="x" denied_mask="x" fsuid=118 ouid=0 Steps to reproduce: 1- Add "env QEMU_AUDIO_DRV=alsa" to the /etc/init/libvirt-bin.conf file (underneath "stop on" line) 2- Modify /etc/libvirt/qemu.conf to set "vnc_allow_host_audio = 1" 3- Start a VM with a sound card configured ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: libvirt-bin 0.8.3-1ubuntu14 ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4 Uname: Linux 2.6.35-22-generic x86_64 Architecture: amd64 Date: Mon Sep 27 16:03:00 2010 EcryptfsInUse: Yes ProcEnviron: PATH=(custom, user) LANG=en_CA.utf8 SHELL=/bin/bash SourcePackage: libvirt ** Affects: libvirt (Ubuntu) Importance: Medium Status: Confirmed ** Affects: libvirt (Fedora) Importance: Unknown Status: Unknown ** Tags: amd64 apparmor apport-bug maverick -- insufficient apparmor rights for sound https://bugs.launchpad.net/bugs/649259 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs