forked from pool/libvirt
43a3b335a6
- lxc AppArmor profile now only restricting potentially dangerous accesses. fdo#886460 - added patches: * 9265f8ab-apparmor-lxc-rework.patch * 9b1e4cd5-skip-useless-apparmor-files.patch - virt-lxc-convert: force free to output values in bytes - added patches: * dba3432b-virt-lxc-convert-fix.patch - lxc: allow setting a custom name for container NICs as LXC is is able to do it. lxc-net-target-name.patch, lxc-net-target-name-conversion.patch, lxc-net-target-name-doc.patch OBS-URL: https://build.opensuse.org/request/show/241206 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=390
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
commit 9b1e4cd5034225c7f750b38968b576c966c51d75
|
|
Author: Cédric Bosdonnat <cbosdonnat@suse.com>
|
|
Date: Wed Jul 9 16:15:02 2014 +0200
|
|
|
|
Don't output libvirt-UUID.files for LXC apparmor profiles
|
|
|
|
---
|
|
src/security/virt-aa-helper.c | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
|
|
index b5f66f3..c8f17f9 100644
|
|
--- a/src/security/virt-aa-helper.c
|
|
+++ b/src/security/virt-aa-helper.c
|
|
@@ -1342,10 +1342,13 @@ main(int argc, char **argv)
|
|
vah_info(include_file);
|
|
vah_info(included_files);
|
|
rc = 0;
|
|
+ } else if (ctl->def->virtType == VIR_DOMAIN_VIRT_LXC) {
|
|
+ rc = 0;
|
|
} else if ((rc = update_include_file(include_file,
|
|
included_files,
|
|
- ctl->append)) != 0)
|
|
+ ctl->append)) != 0) {
|
|
goto cleanup;
|
|
+ }
|
|
|
|
|
|
/* create the profile from TEMPLATE */
|