[Pkg-libvirt-maintainers] Bug#908341: libvirt-daemon-system: apparmor prevents VM start with kernel 4.18

Steven Monai steve at monai.ca
Sat Sep 8 19:50:16 BST 2018


On Sat, 8 Sep 2018 13:04:57 -0400 Austin Roach <ahroach at gmail.com> wrote:
...

> After the kernel upgrade to 4.18 in unstable, attempts to start a VM
> fail with messages like:
...

I am also affected by this bug.

Attempting to start a VM via the virsh tool results in the following:

steve at sid:~$ virsh start jessierescuelive
error: Failed to start domain jessierescuelive
error: internal error: child reported: Kernel does not provide mount
namespace: Permission denied


I found a work-around that restores the ability to start VMs.
Specifically, I added the following line to /etc/libvirt/qemu.conf :

namespaces = []


Finally, I also noticed that uncommenting the following line in the same
config file does NOT work:

namespaces = [ "mount" ]


S.M.



More information about the Pkg-libvirt-maintainers mailing list