Re: [lxc-devel] [PATCH 1/1] clone_paths: use 'rootfs' for destination directory

2015-01-29 Thread Stéphane Graber
On Thu, Jan 29, 2015 at 04:09:45PM +, Serge Hallyn wrote: We were trying to be smart and use whatever the last part of the container's rootfs path was. However for block devices that doesn't make much sense. I.e. if lxc.rootfs = /dev/md-1, chances are that /var/lib/lxc/c1/md-1 does not

[lxc-devel] [lxc/lxc] 730e3f: clone_paths: use 'rootfs' for destination director...

2015-01-29 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 730e3f9e2ffcc7e34c4236a37215f6be8c8cc7f3 https://github.com/lxc/lxc/commit/730e3f9e2ffcc7e34c4236a37215f6be8c8cc7f3 Author: Serge Hallyn serge.hal...@ubuntu.com Date: 2015-01-29 (Thu, 29 Jan 2015) Changed

[lxc-devel] [PATCH] Use consistent /proc, /sys and /sys/fs/cgroup (v2)

2015-01-29 Thread Stéphane Graber
- Implements mixed mode for /sys where it's mounted read-only but with /sys/devices/virtual/net/ writable. - Sets lxc.mount.auto to cgroup:mixed proc:mixed sys:mixed for all templates. - Drop any template-specific mount for /proc, /sys or /sys/fs/cgroup. - Get rid of the fstab file by

Re: [lxc-devel] [PATCH] create lxc.tty ptys from container process

2015-01-29 Thread Stéphane Graber
On Thu, Jan 29, 2015 at 10:13:36AM +, Serge Hallyn wrote: Lxc has always created the ptys for use by console and ttys early on from the monitor process. This has some advantages, but also has disadvantages, namely (1) container ptys counting against the max ptys for the host, and (2) not

[lxc-devel] [PATCH] create lxc.tty ptys from container process

2015-01-29 Thread Serge Hallyn
Lxc has always created the ptys for use by console and ttys early on from the monitor process. This has some advantages, but also has disadvantages, namely (1) container ptys counting against the max ptys for the host, and (2) not having a /dev/pts/N in the container to pass to getty. (2) was

Re: [lxc-devel] [PATCH] Use consistent /proc, /sys and /sys/fs/cgroup (v2)

2015-01-29 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): - Implements mixed mode for /sys where it's mounted read-only but with /sys/devices/virtual/net/ writable. - Sets lxc.mount.auto to cgroup:mixed proc:mixed sys:mixed for all templates. - Drop any template-specific mount for /proc,

[lxc-devel] [lxc/lxc] f24a52: Use consistent /proc, /sys and /sys/fs/cgroup (v2)

2015-01-29 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: f24a52d5f588ff4e4575046903fb9498c376d833 https://github.com/lxc/lxc/commit/f24a52d5f588ff4e4575046903fb9498c376d833 Author: Stéphane Graber stgra...@ubuntu.com Date: 2015-01-29 (Thu, 29 Jan 2015) Changed

[lxc-devel] [PATCH 1/1] clone_paths: use 'rootfs' for destination directory

2015-01-29 Thread Serge Hallyn
We were trying to be smart and use whatever the last part of the container's rootfs path was. However for block devices that doesn't make much sense. I.e. if lxc.rootfs = /dev/md-1, chances are that /var/lib/lxc/c1/md-1 does not exist. So always use the $lxcpath/$lxcname/rootfs, and if it does

[lxc-devel] [PATCH 2/2] oracle: Fix /dev/shm

2015-01-29 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- templates/.lxc-ubuntu.in.swp | Bin 0 - 16384 bytes templates/lxc-oracle.in | 8 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 templates/.lxc-ubuntu.in.swp diff --git a/templates/.lxc-ubuntu.in.swp

[lxc-devel] [PATCH 1/2] centos: Fix booting a Centos 6 container

2015-01-29 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- templates/lxc-centos.in | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/lxc-centos.in b/templates/lxc-centos.in index 4696ce3..dd9b254 100644 --- a/templates/lxc-centos.in +++

[lxc-devel] [PATCH] ubuntu: Drop lucid support and refresh releaess list

2015-01-29 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- templates/lxc-ubuntu-cloud.in | 2 +- templates/lxc-ubuntu.in | 22 -- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/templates/lxc-ubuntu-cloud.in b/templates/lxc-ubuntu-cloud.in index

[lxc-devel] [lxc/lxc]

2015-01-29 Thread GitHub
Branch: refs/tags/lxc-1.1.0.rc4 Home: https://github.com/lxc/lxc ___ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel

[lxc-devel] [lxc/lxc] 1b0c17: apparmor: support lxc.ttydir when bind-mounting pt...

2015-01-29 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 1b0c17462ad4f9a05ea6e5ced5e444152ec7a193 https://github.com/lxc/lxc/commit/1b0c17462ad4f9a05ea6e5ced5e444152ec7a193 Author: Serge Hallyn serge.hal...@ubuntu.com Date: 2015-01-30 (Fri, 30 Jan 2015) Changed

Re: [lxc-devel] [PATCH 1/1] apparmor: support lxc.ttydir when bind-mounting ptys

2015-01-29 Thread Stéphane Graber
On Thu, Jan 29, 2015 at 11:50:41PM +, Serge Hallyn wrote: Because we now create the ttys from inside the container, we had to add an apparmor rule for start-container to bind-mount /dev/pts/** - /dev/tty*/. However that's not sufficient if the container sets lxc.ttydir, in which case we

[lxc-devel] [lxc/lxc] 03cbef: change version to 1.1.0.rc4 in configure.ac

2015-01-29 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 03cbefb8148c681a70601ce43577e9e2f697971c https://github.com/lxc/lxc/commit/03cbefb8148c681a70601ce43577e9e2f697971c Author: Stéphane Graber stgra...@ubuntu.com Date: 2015-01-29 (Thu, 29 Jan 2015) Changed

Re: [lxc-devel] lxd ppa

2015-01-29 Thread Stéphane Graber
On Fri, Jan 30, 2015 at 12:04:56AM +0100, Tamas Papp wrote: hi All, lxd daily ppa misses lxd package (there are others like criu, golang). Is is intentional/temporary behaviour? 10x tamas Hi, Yes, it's intentional as we are still working on the packaging, they should appear in the

[lxc-devel] lxd ppa

2015-01-29 Thread Tamas Papp
hi All, lxd daily ppa misses lxd package (there are others like criu, golang). Is is intentional/temporary behaviour? 10x tamas ___ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel

Re: [lxc-devel] [PATCH 1/2] centos: Fix booting a Centos 6 container

2015-01-29 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): Signed-off-by: Stéphane Graber stgra...@ubuntu.com Acked-by: Serge E. Hallyn serge.hal...@ubuntu.com --- templates/lxc-centos.in | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/lxc-centos.in

[lxc-devel] [lxc/lxc] a79df2: centos: Fix booting a Centos 6 container

2015-01-29 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: a79df22733c48898aaeb600cc073278236d4b489 https://github.com/lxc/lxc/commit/a79df22733c48898aaeb600cc073278236d4b489 Author: Stéphane Graber stgra...@ubuntu.com Date: 2015-01-30 (Fri, 30 Jan 2015) Changed

[lxc-devel] [PATCH 1/1] apparmor: support lxc.ttydir when bind-mounting ptys

2015-01-29 Thread Serge Hallyn
Because we now create the ttys from inside the container, we had to add an apparmor rule for start-container to bind-mount /dev/pts/** - /dev/tty*/. However that's not sufficient if the container sets lxc.ttydir, in which case we need to support mounting onto files in subdirs of /dev.

[lxc-devel] LXC 1.1 expected to be released later today

2015-01-29 Thread Stéphane Graber
Hello, After those last few minute patches and RCs, it looks like we're finally ready to release LXC 1.1 I'll now start to prepare the release paperwork for it and expect to do the final tagging and send out the announcement in 3-4 hours time. So that's basically your last chance for sending

Re: [lxc-devel] [PATCH] ubuntu: Drop lucid support and refresh releaess list

2015-01-29 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): Signed-off-by: Stéphane Graber stgra...@ubuntu.com Acked-by: Serge E. Hallyn serge.hal...@ubuntu.com --- templates/lxc-ubuntu-cloud.in | 2 +- templates/lxc-ubuntu.in | 22 -- 2 files changed, 1 insertion(+), 23

[lxc-devel] Passed: lxc/lxc#841 (lxc-1.1.0.rc4 - 03cbefb)

2015-01-29 Thread Travis CI
Build Update for lxc/lxc - Build: #841 Status: Passed Duration: 55 seconds Commit: 03cbefb (lxc-1.1.0.rc4) Author: Stéphane Graber Message: change version to 1.1.0.rc4 in configure.ac Signed-off-by: Stéphane Graber stgra...@ubuntu.com View the changeset:

[lxc-devel] [lxc/lxc] dd93ef: doc: Add the description of sys:mixed in Japanese ...

2015-01-29 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: dd93ef87b2cdf5683c805396b9b36a519db4d0a3 https://github.com/lxc/lxc/commit/dd93ef87b2cdf5683c805396b9b36a519db4d0a3 Author: KATOH Yasufumi ka...@jazz.email.ne.jp Date: 2015-01-30 (Fri, 30 Jan 2015) Changed