Hi, On Mon, Sep 14, 2015 at 05:39:40PM +0200, intrig...@debian.org wrote: > 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.
I'm having a VM which also has these elements but starts nicely. Could that be related to a newer QEMU? I'm running 1:2.1+dfsg-12+deb8u2 here with apparmor here. This needs a fix nevertheless but it might make sense to dig out _when_ it broke so we know if we have to backport to Jessie. Cheers, -- Guido