Re: [lxc-devel] [PATCH] define list container api

2013-10-09 Thread Stéphane Graber
On Wed, Oct 09, 2013 at 07:17:43AM -0500, Serge Hallyn wrote: > Two new commands are defined: list_defined_containers() and > list_active_containers(). Both take an lxcpath (NULL means > use the default lxcpath) and return the number of containers > found. If a lxc_container ** is passed in, then

[lxc-devel] [lxc/lxc] cab791: template: Add Plamo Linux template

2013-10-09 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: cab79123082bef9ba265c9c8b9176b8b8afedd64 https://github.com/lxc/lxc/commit/cab79123082bef9ba265c9c8b9176b8b8afedd64 Author: KATOH Yasufumi Date: 2013-10-09 (Wed, 09 Oct 2013) Changed paths: M .gitignore

[lxc-devel] [lxc/lxc] e63b2d: Add lxc-test-ubuntu to the dist tarball

2013-10-09 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: e63b2dbc3434424ebc3c3dd288582846f011b32a https://github.com/lxc/lxc/commit/e63b2dbc3434424ebc3c3dd288582846f011b32a Author: Stéphane Graber Date: 2013-10-09 (Wed, 09 Oct 2013) Changed paths: M src/tests/M

[lxc-devel] [lxc/lxc] 1e0f62: ubuntu-cloud-prep hook: fix debug helper to not in...

2013-10-09 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 1e0f62acaacb4e7639d6203a9f008c66be712026 https://github.com/lxc/lxc/commit/1e0f62acaacb4e7639d6203a9f008c66be712026 Author: Serge Hallyn Date: 2013-10-09 (Wed, 09 Oct 2013) Changed paths: M hooks/ubuntu-c

Re: [lxc-devel] [PATCH 1/1] templates/lxc-fedora Rework for distro independence.

2013-10-09 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > On Fri, 2013-10-04 at 10:56 -0500, Serge Hallyn wrote: > > Quoting Michael H. Warfield (m...@wittsend.com): > > > Hey Serge, > > > > > > On Wed, 2013-10-02 at 23:39 -0500, Serge Hallyn wrote: > > > > Quoting Michael H. Warfield (m...@wittsend.co

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > On Wed, 2013-10-09 at 10:10 -0500, Serge Hallyn wrote: > > Quoting Michael H. Warfield (m...@wittsend.com): > > > On Wed, 2013-10-09 at 09:50 -0500, Serge Hallyn wrote: > > > > > lxc-create -n Ubuntu-test -t ubuntu > > > > > > > > > > Bingo... >

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Michael H. Warfield
On Wed, 2013-10-09 at 09:50 -0500, Serge Hallyn wrote: > > lxc-create -n Ubuntu-test -t ubuntu > > > > Bingo... > > > > /dev/mapper/fedora-root on /usr/lib64/lxc/rootfs type ext4 > > (rw,relatime,seclabel,data=ordered) > > > > Why is lxc-create even creating that mount? I don't see any reason

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Michael H. Warfield
On Wed, 2013-10-09 at 10:10 -0500, Serge Hallyn wrote: > Quoting Michael H. Warfield (m...@wittsend.com): > > On Wed, 2013-10-09 at 09:50 -0500, Serge Hallyn wrote: > > > > lxc-create -n Ubuntu-test -t ubuntu > > > > > > > > Bingo... > > > > > > > > /dev/mapper/fedora-root on /usr/lib64/lxc/roo

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > On Wed, 2013-10-09 at 09:50 -0500, Serge Hallyn wrote: > > > lxc-create -n Ubuntu-test -t ubuntu > > > > > > Bingo... > > > > > > /dev/mapper/fedora-root on /usr/lib64/lxc/rootfs type ext4 > > > (rw,relatime,seclabel,data=ordered) > > > > > >

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Michael H. Warfield
On Wed, 2013-10-09 at 09:50 -0500, Serge Hallyn wrote: > > lxc-create -n Ubuntu-test -t ubuntu > > > > Bingo... > > > > /dev/mapper/fedora-root on /usr/lib64/lxc/rootfs type ext4 > > (rw,relatime,seclabel,data=ordered) > > > > Why is lxc-create even creating that mount? I don't see any reason

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Serge Hallyn
> lxc-create -n Ubuntu-test -t ubuntu > > Bingo... > > /dev/mapper/fedora-root on /usr/lib64/lxc/rootfs type ext4 > (rw,relatime,seclabel,data=ordered) > > Why is lxc-create even creating that mount? I don't see any reason for Check lxccontainer.c:785 and line 805. We call bdev_mount() in ca

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Michael H. Warfield
On Wed, 2013-10-09 at 09:19 -0500, Serge Hallyn wrote: > Quoting Michael H. Warfield (m...@wittsend.com): > > Hey all, > > > > Since I'm working on testing a bunch of things, including the Fedora > > templates, I've been creating and destroying a LOT of containers. Every > > once in a while I ge

Re: [lxc-devel] Strange problem (stray mounts) with lxc-create...

2013-10-09 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > Hey all, > > Since I'm working on testing a bunch of things, including the Fedora > templates, I've been creating and destroying a LOT of containers. Every > once in a while I get a failure due to failure to mount on... What I > find are a large

[lxc-devel] [PATCH] define list container api

2013-10-09 Thread Serge Hallyn
Two new commands are defined: list_defined_containers() and list_active_containers(). Both take an lxcpath (NULL means use the default lxcpath) and return the number of containers found. If a lxc_container ** is passed in, then an array of lxc_container's is returned, one for each container found