[Bug 1668681] Re: New virt-manager (1.4.0) needs unix (send recieve) in apparmor

ChristianEhrhardt 1668681 at bugs.launchpad.net
Mon Mar 6 07:38:14 UTC 2017


Hi Brian, thanks for your analysis and providing a patch already.
While I agree that the rule seems a bit open I trust Jamie's expertise and he doesn't call out a better way to do it.

I have added it to Ubuntu's libvirt git and lined that up for a zesty
upload together with another bug that shall be fixed in zesty before
fully freezing zesty.

=> https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/2536

It just started building and I'll throw a pile of tests at it before moving it forward to proposed.
Please let me know if you have any other plans.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1668681

Title:
  New virt-manager (1.4.0) needs unix (send recieve) in apparmor

Status in libvirt package in Ubuntu:
  New

Bug description:
  1) Ubuntu 17.04
  2) with me trying to merge virt-manager 1.4.0 (from bug https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1667114) 
  3) View the console of a running VM from virt-manager
  4) Instead we get the error:
  Error connecting to graphical console:
  internal error: unable to execute QEMU command 'getfd':
  No file descriptor supplied via SCM_RIGHTS

  Which is also described here - https://askubuntu.com/questions/833964
  /virt-manager-cant-connect-to-graphical-console/853381

  All it needs to work is to add:
    # allow connect with openGraphicsFD to work
    unix (send, receive) type=stream peer=(label=/usr/sbin/libvirtd),

  to abstractions/libvirt-qemu

  
  I traced the cause of the change to commit https://github.com/virt-manager/virt-manager/commit/5c451b6401a212192d0cada164d8c1a6c8127bce

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



More information about the Ubuntu-sponsors mailing list