Public bug reported: When creating machines using virt-install using the --vnc option, it misses the following line into the /etc/apparmor.d/libvirt/libvirt- xxxmachineuuid.files :
"/var/lib/libvirt/**/vm-fqdn.vnc" rw, The files are auto-generated from a template, but adding the mentioned line manually solved the issue. Not sure why but the VM did start without any manual intervention when I've created it for the first time with virt-install, but did not start after a reboot (exiting with permission denied in a bind call to the mentioned vnc socket file). Thanks root@Homeserver:/etc/libvirt# lsb_release -rd Description: Ubuntu 12.04.1 LTS Release: 12.04 root@Homeserver:/etc/libvirt# apt-cache policy libvirt-bin libvirt-bin: Installed: 0.9.8-2ubuntu17.4 Candidate: 0.9.8-2ubuntu17.4 Version table: *** 0.9.8-2ubuntu17.4 0 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 100 /var/lib/dpkg/status 0.9.8-2ubuntu17 0 500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1069534 Title: libvirt doesn't include *.vnc files with apparmor profiles To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1069534/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs