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

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) ===
Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From a70c0c9efe39b0e2d8596caf1a9e46e6bd4383b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Fri, 19 Feb 2016 17:58:40 -0500
Subject: [PATCH] Allow acces to /dev/zero
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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 4650ec8..c8ca8c4 100644
--- a/lxd/container_lxc.go
+++ b/lxd/container_lxc.go
@@ -321,7 +321,7 @@ func (c *containerLXC) initLXC() error {
                        return err
                }
 
-               for _, dev := range []string{"c *:* m", "b *:* m", "c 5:0 rwm", 
"c 5:1 rwm", "c 1:7 rwm", "c 1:3 rwm", "c 1:8 rwm", "c 1:9 rwm", "c 5:2 rwm", 
"c 136:* rwm"} {
+               for _, dev := range []string{"c *:* m", "b *:* m", "c 5:0 rwm", 
"c 5:1 rwm", "c 1:5 rwm", "c 1:7 rwm", "c 1:3 rwm", "c 1:8 rwm", "c 1:9 rwm", 
"c 5:2 rwm", "c 136:* rwm"} {
                        err = lxcSetConfigItem(cc, "lxc.cgroup.devices.allow", 
dev)
                        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