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

Mathew Hodson mathew.hodson at gmail.com
Thu Mar 2 05:30:41 UTC 2017


** Changed in: libvirt (Ubuntu)
   Importance: Undecided => Medium

-- 
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