The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/1767

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
After we just made that change in LXC, lets replicate it in the LXD
default config too.

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 7d5c49e1f322983ec2f3c1e49c577898ceaddc01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Wed, 16 Mar 2016 21:34:43 -0400
Subject: [PATCH] Block sys_rawio in LXD too
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

After we just made that change in LXC, lets replicate it in the LXD
default config too.

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 lxd/container_lxc.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/container_lxc.go b/lxd/container_lxc.go
index 5eec978..d081a81 100644
--- a/lxd/container_lxc.go
+++ b/lxd/container_lxc.go
@@ -284,7 +284,7 @@ func (c *containerLXC) initLXC() error {
        }
 
        // Base config
-       err = lxcSetConfigItem(cc, "lxc.cap.drop", "mac_admin mac_override 
sys_time sys_module")
+       err = lxcSetConfigItem(cc, "lxc.cap.drop", "mac_admin mac_override 
sys_time sys_module sys_rawio")
        if err != nil {
                return err
        }
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to