[lxc-devel] [lxd/master] Make the test suite use lxc.apparmor.profile instead of lxc.aa_profile

freeekanayaka on Github lxc-bot at linuxcontainers.org
Mon Feb 12 11:49:59 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 361 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180212/fc08cc61/attachment.bin>
-------------- next part --------------
From e3629486fdb29cc74b457de1390bf0064d3e478f Mon Sep 17 00:00:00 2001
From: Free Ekanayaka <free.ekanayaka at canonical.com>
Date: Mon, 12 Feb 2018 11:48:28 +0000
Subject: [PATCH] Make the test suite use lxc.apparmor.profile instead of
 lxc.aa_profile

Signed-off-by: Free Ekanayaka <free.ekanayaka at canonical.com>
---
 test/suites/config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/suites/config.sh b/test/suites/config.sh
index 1b284c4fc..4c97391a3 100644
--- a/test/suites/config.sh
+++ b/test/suites/config.sh
@@ -153,7 +153,7 @@ test_config_profiles() {
   lxc profile device add onenic eth0 nic nictype=p2p
   lxc profile assign foo onenic
   lxc profile create unconfined
-  lxc profile set unconfined raw.lxc "lxc.aa_profile=unconfined"
+  lxc profile set unconfined raw.lxc "lxc.apparmor.profile=unconfined"
   lxc profile assign foo onenic,unconfined
   # test profile rename
   lxc profile create foo


More information about the lxc-devel mailing list