libvirt/4f20084-fix-apparmor-install-patch.patch
Cédric Bosdonnat 046a57aff2 libvirt apparmor template profile was installed in the wrong place
Fixed the path to be /etc/apparmor.d/libvirt/TEMPLATE again.

- Fix the path to libvirtd AppArmor template profile

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=350
2014-02-12 15:59:31 +00:00

30 lines
923 B
Diff

From f99c21d47fab54e98441e37d25c3f51c9e33fe47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdonnat@suse.com>
Date: Wed, 12 Feb 2014 10:37:53 +0100
Subject: [PATCH] AppArmor: Fix the place where the template should be
installed
The security driver expects /etc/apparmor.d/libvirt/TEMPLATE but we
installed it to /etc/apparmor.d/libvirtd/TEMPLATE. Move the template to
the expected place since that code was here long before.
---
examples/apparmor/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/apparmor/Makefile.am b/examples/apparmor/Makefile.am
index 6e69440..2630fef 100644
--- a/examples/apparmor/Makefile.am
+++ b/examples/apparmor/Makefile.am
@@ -32,7 +32,7 @@ abstractions_DATA = \
libvirt-qemu \
$(NULL)
-templatesdir = $(apparmordir)/libvirtd
+templatesdir = $(apparmordir)/libvirt
templates_DATA = \
TEMPLATE \
$(NULL)
--
1.8.5.2