]> git.ipfire.org Git - thirdparty/libvirt.git/commit
AppArmor: allow virt-aa-helper read access to Nova's qcow backing files.
authorintrigeri <intrigeri+libvirt@boum.org>
Sat, 9 Jun 2018 19:26:26 +0000 (19:26 +0000)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 12 Jun 2018 08:43:37 +0000 (10:43 +0200)
commit1fff379ff6e778ce7d235ef499858983eb411213
treedd4e89596344954687870ac2d872e6b5c849c4dc
parente6be524508d55580903e2c561b8e05a25efbaa47
AppArmor: allow virt-aa-helper read access to Nova's qcow backing files.

As reported on https://bugs.debian.org/892431, without this rule, when launching
a QEMU KVM instance, an error occurs immediately upon launching the QEMU
process such as:

  Could not open backing file: Could not open
  '/var/lib/nova/instances/_base/affe96668a4c64ef380ff1c71b4caec17039080e':
  Permission denied

The other instance disk images are already covered by the existing rule:

  /**/disk{,.*} r

Signed-off-by: intrigeri <intrigeri@boum.org>
examples/apparmor/usr.lib.libvirt.virt-aa-helper