apparmor denied libvirt with TPM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I use libvirt 2.1.0 from ubuntu 16.10 x64 to run a Windows 10 VM. The VM runs fine if I do not add a TPM device. If I add a TPM device to the VM, I get the following errors when I try to start the VM:
Connecting to monitor: 2016-10-
Traceback (most recent call last):
File "/usr/share/
callback(
File "/usr/share/
callback(*args, **kwargs)
File "/usr/share/
ret = fn(self, *args, **kwargs)
File "/usr/share/
self.
File "/usr/lib/
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error: process exited while connecting to monitor: 2016-10-
And in dmesg, it has some apparmor denied messages:
[ 2187.750789] audit: type=1400 audit(147731787
[ 2187.750803] audit: type=1400 audit(147731787