Re: [lxc-devel] [ACK for the set] [PATCH v2 lxc 2/2] Added lxc.monitor.unshare

2015-12-01 Thread Wolfgang Bumiller
> On November 30, 2015 at 5:41 PM Serge Hallyn wrote: > > > Quoting Wolfgang Bumiller (w.bumil...@proxmox.com): > > If manual mounting with elevated permissions is required > > this can currently only be done in pre-start hooks or before > > starting LXC. In both cases the mounts would appear in

[lxc-devel] [PATCH] lxc: let lxc-start support wlan phys

2015-12-01 Thread fupan.li
From: fli The commit: e5848d395cb only made netdev_move_by_name support wlan, instead of netdev_move_by_index. Given netdev_move_by_name is a wrapper of netdev_move_by_index, so here replacing all of the call to lxc_netdev_move_by_index with lxc_netdev_move_by_name to let lxc-start support wla

Re: [lxc-devel] [ACK for the set] [PATCH v2 lxc 2/2] Added lxc.monitor.unshare

2015-12-01 Thread Serge Hallyn
Quoting Wolfgang Bumiller (w.bumil...@proxmox.com): > > On November 30, 2015 at 5:41 PM Serge Hallyn > > wrote: > > > > > > Quoting Wolfgang Bumiller (w.bumil...@proxmox.com): > > > If manual mounting with elevated permissions is required > > > this can currently only be done in pre-start hooks

Re: [lxc-devel] [PATCH] lxc: let lxc-start support wlan phys

2015-12-01 Thread Serge Hallyn
Quoting fupan...@windriver.com (fupan...@windriver.com): > From: fli > > The commit: e5848d395cb only > made netdev_move_by_name support wlan, instead of netdev_move_by_index. > > Given netdev_move_by_name is a wrapper of netdev_move_by_index, so here > replacing all of the call to lxc_netdev_m

[lxc-devel] [PATCH] log: use the right size for timestamp formatting

2015-12-01 Thread Tycho Andersen
Signed-off-by: Tycho Andersen --- src/lxc/confile.c | 2 ++ src/lxc/criu.c| 7 ++- src/lxc/log.c | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/lxc/confile.c b/src/lxc/confile.c index c2eaaa6..9ed9e38 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @

Re: [lxc-devel] [PATCH] log: use the right size for timestamp formatting

2015-12-01 Thread Tycho Andersen
On Tue, Dec 01, 2015 at 08:58:26AM -0700, Tycho Andersen wrote: > Signed-off-by: Tycho Andersen Ah, derp. Some other random debug crap got in here. Here's a better patch. Tycho >From 0f65015bed38b2dc03d1245a4e82afff5a01c426 Mon Sep 17 00:00:00 2001 From: Tycho Andersen Date: Tue, 1 Dec 2015 08:

Re: [lxc-devel] [PATCH 7/8] cgroup: mount cgroupns-root when inside non-init cgroupns

2015-12-01 Thread Tejun Heo
Hey, Serge. On Mon, Nov 30, 2015 at 10:07:04PM -0600, Serge E. Hallyn wrote: > So actually the way the code is now, the first mount cannot > be done from a non-init user namespace; and kernfs_obtain_root() > is only called from non-init user namespace. So can we assume > that the root dentry will

Re: [lxc-devel] [PATCH] log: use the right size for timestamp formatting

2015-12-01 Thread Serge Hallyn
Quoting Tycho Andersen (tycho.ander...@canonical.com): > On Tue, Dec 01, 2015 at 08:58:26AM -0700, Tycho Andersen wrote: > > Signed-off-by: Tycho Andersen > > Ah, derp. Some other random debug crap got in here. Here's a better > patch. > > Tycho > From 0f65015bed38b2dc03d1245a4e82afff5a01c426 M

Re: [lxc-devel] [PATCH 7/8] cgroup: mount cgroupns-root when inside non-init cgroupns

2015-12-01 Thread Serge E. Hallyn
On Tue, Dec 01, 2015 at 11:46:49AM -0500, Tejun Heo wrote: > Hey, Serge. > > On Mon, Nov 30, 2015 at 10:07:04PM -0600, Serge E. Hallyn wrote: > > So actually the way the code is now, the first mount cannot > > be done from a non-init user namespace; and kernfs_obtain_root() > > is only called from

Re: [lxc-devel] [PATCH] lxc: let lxc-start support wlan phys

2015-12-01 Thread fupan
On 12/01/2015 11:18 PM, Serge Hallyn wrote: Quoting fupan...@windriver.com (fupan...@windriver.com): From: fli The commit: e5848d395cb only made netdev_move_by_name support wlan, instead of netdev_move_by_index. Given netdev_move_by_name is a wrapper of netdev_move_by_index, so here replacin

Re: [lxc-devel] Snappy Install Instructions

2015-12-01 Thread Stéphane Graber
Hi, I'd expect a mix of both. The CPU does get hammered for a while (shows 100% for LXD) but I'd also expect those dev boards running only a few tasks with limited input from the outside to also have very limited entropy available. On Wed, Nov 25, 2015 at 07:09:50AM +0100, Guido Jäkel wrote: > De