Seems like apparmor can be fixed without disabling it, at least in
12.10;

Add these lines to /etc/apparmor.d/abstractions/libvirt-qemu:

  ####
    /{dev,run}/shm/pulse-shm* r,
    /{dev,run}/shm/pulse-shm* rwk,
    /usr/bin/pulseaudio Ux,
    @{HOME}/.pulse/ rwk,
  ####

  /etc/init.d/apparmor restart

Now, one need to fix /etc/libvirt/qemu.conf:

  vnc_allow_host_audio = 1
  user = "yourusernamehere"
  group = "yourusernamehere"

  /etc/init.d/apparmor restart

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/591489

Title:
  QEMU_AUDIO_DRV set to none by libvirtd in Lucid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/591489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to