missing apparmor rule to read /sys/module/vhost/parameters/max_mem_regions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Wily |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
With QEMU 2.5, I noticed this error when starting a VM:
apparmor="DENIED" operation="open" profile=
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libvirt-bin 1.2.21-2ubuntu4
ProcVersionSign
Uname: Linux 4.3.0-5-generic x86_64
ApportVersion: 2.19.3-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Jan 6 12:05:42 2016
KernLog:
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
Adding "/sys/module/ vhost/parameter s/max_mem_ regions r," to /etc/apparmor. d/abstractions/ libvirt- qemu fixes the problem for me.