apparmor does not allow to run qemu-dm executable
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
libvirt (Ubuntu) | ||||||
Trusty |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
In a Ubuntu 14.04.1 LTS with Xen 4.4.2
libvirt returns a "permission denied" error when trying to run qemu-dm executable.
-> /var/log/
libxl: cannot execute /usr/lib/
-> /var/log/kern.log
audit: type=1400 audit(145578761
Including the executable in apparmor configuration (under /etc/apparmor.
/usr/
+ /usr/lib/
# lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
libvirt-bin 1.2.12-
libvirt0 1.2.12-
apparmor 2.8.95~
libapparmor-perl 2.8.95~
libapparmor1:amd64 2.8.95~
xen-utils-4.4 4.4.2-0ubuntu0.
Changed in libvirt (Ubuntu): | |
assignee: | nobody → Stefan Bader (smb) |
assignee: | Stefan Bader (smb) → nobody |
Changed in libvirt (Ubuntu): | |
assignee: | nobody → James Page (james-page) |
importance: | Undecided → Medium |
no longer affects: | libvirt (Ubuntu) |
There is a typo in the line to be added to /etc/apparmor. d/usr.sbin. libvirtd:
/usr/ lib/xen- */bin/pygrub PUx, xen-*/bin/ qemu-dm PUx,
+ /usr/lib/