[lxc-devel] [lxd/master] lxd/apparmor: Fix typo in nesting profile

stgraber on Github lxc-bot at linuxcontainers.org
Tue Jul 17 20:13:39 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 354 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180717/375d234f/attachment.bin>
-------------- next part --------------
From 01b54f60a66c21532670a3d7586e85c4de5c7dcb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Tue, 17 Jul 2018 16:13:04 -0400
Subject: [PATCH] lxd/apparmor: Fix typo in nesting profile
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 lxd/apparmor.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lxd/apparmor.go b/lxd/apparmor.go
index 7834f73bd..f981495ee 100644
--- a/lxd/apparmor.go
+++ b/lxd/apparmor.go
@@ -247,8 +247,8 @@ const AA_PROFILE_NESTING = `
   ptrace,
   signal,
 
-  deny /dev/.lxd/proc/** rw,
-  deny /dev/.lxd/sys/** rw,
+  deny /dev/.lxc/proc/** rw,
+  deny /dev/.lxc/sys/** rw,
 
   mount /var/lib/lxd/shmounts/ -> /var/lib/lxd/shmounts/,
   mount none -> /var/lib/lxd/shmounts/,


More information about the lxc-devel mailing list