[Pkg-libvirt-maintainers] Bug#798975: libvirt-daemon-system: AppArmor profile breaks startup of QEMU VM with type=pty serial port
intrigeri at debian.org
intrigeri at debian.org
Mon Sep 14 15:39:40 UTC 2015
Package: libvirt-daemon-system
Severity: normal
Version: 1.2.19-1
I have a VM with:
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
Trying to start it results in:
error: Failed to start domain tails-builder
error: internal error: process exited while connecting to monitor:
2015-09-14T15:34:09.219162Z qemu-system-x86_64: -chardev
pty,id=charserial0: Failed to create chardev
And my logs say:
apparmor="DENIED" operation="open" profile="libvirt-6da57234-587c-4119-3c3a-f064574cb3dc" name="/proc/30031/fd/" pid=30031 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=119 ouid=119
apparmor="DENIED" operation="exec" profile="libvirt-6da57234-587c-4119-3c3a-f064574cb3dc" name="/usr/lib/pt_chown" pid=30031 comm="qemu-system-x86" requested_mask="x" denied_mask="x" fsuid=119 ouid=0
If I remove the <serial> and <console> sections quoted above, that VM
starts just fine.
Cheers,
--
intrigeri
More information about the Pkg-libvirt-maintainers
mailing list