Comment 25 for bug 632696

Revision history for this message
Thomas Schweikle (tps) wrote : Re: libvirt won't start a VM with serial or console when apparmor is enabled

I see this error since today. Even stopping apparmor, then tearing down all profiles, trying to start a kvm host gives:

root@vh01:~# service apparmor stop
 * Clearing AppArmor profiles cache [ OK ]
All profile caches have been cleared, but no profiles have been unloaded.
Unloading profiles will leave already running processes permanently
unconfined, which can lead to unexpected situations.

To set a process to complain mode, use the command line tool
'aa-complain'. To really tear down all profiles, run the init script
with the 'teardown' option."
root@vh01:~# service apparmor teardown
 * Unloading AppArmor profiles [ OK ]
root@vh01:~# virsh start ns1
error: Failed to start domain ns1
error: internal error Process exited while reading console log output: chardev: opening backend "pty" failed

Looks like this is related to latest apparmor updates, but these do not fix the error.