- Allow execution of libvirt hook scripts in /etc/libvirt/hooks/
in libvirtd AppArmor profile OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=330
This commit is contained in:
parent
a58c0b5ccc
commit
c521110742
@ -203,7 +203,7 @@ Index: libvirt-1.1.4/examples/apparmor/usr.sbin.libvirtd.in
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ libvirt-1.1.4/examples/apparmor/usr.sbin.libvirtd.in
|
+++ libvirt-1.1.4/examples/apparmor/usr.sbin.libvirtd.in
|
||||||
@@ -0,0 +1,60 @@
|
@@ -0,0 +1,61 @@
|
||||||
+# Last Modified: Fri Aug 19 11:20:36 2011
|
+# Last Modified: Fri Aug 19 11:20:36 2011
|
||||||
+#include <tunables/global>
|
+#include <tunables/global>
|
||||||
+@{LIBVIRT}="libvirt"
|
+@{LIBVIRT}="libvirt"
|
||||||
@ -255,6 +255,7 @@ Index: libvirt-1.1.4/examples/apparmor/usr.sbin.libvirtd.in
|
|||||||
+ audit deny /sys/kernel/security/apparmor/matching rwxl,
|
+ audit deny /sys/kernel/security/apparmor/matching rwxl,
|
||||||
+ audit deny /sys/kernel/security/apparmor/.* rwxl,
|
+ audit deny /sys/kernel/security/apparmor/.* rwxl,
|
||||||
+ /sys/kernel/security/apparmor/profiles r,
|
+ /sys/kernel/security/apparmor/profiles r,
|
||||||
|
+ /etc/libvirt/hooks/* rix,
|
||||||
+ /etc/xen/scripts/* rix,
|
+ /etc/xen/scripts/* rix,
|
||||||
+ @libdir@/libvirt/* Pxr,
|
+ @libdir@/libvirt/* Pxr,
|
||||||
+ @libdir@/libvirt/libvirt_parthelper Ux,
|
+ @libdir@/libvirt/libvirt_parthelper Ux,
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 26 14:51:44 MST 2013 - jfehlig@suse.com
|
||||||
|
|
||||||
|
- Allow execution of libvirt hook scripts in /etc/libvirt/hooks/
|
||||||
|
in libvirtd AppArmor profile
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 20 10:57:57 MST 2013 - jfehlig@suse.com
|
Wed Nov 20 10:57:57 MST 2013 - jfehlig@suse.com
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user