[lxc-devel] [lxc/lxc] 996c63: doc: Update lxc-monitor(1) man page

2013-10-02 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 996c63c73eb3859a99ab1e6acf22fc60ab553df9 https://github.com/lxc/lxc/commit/996c63c73eb3859a99ab1e6acf22fc60ab553df9 Author: KATOH Yasufumi Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M doc/ja/lxc-m

[lxc-devel] [lxc/lxc] cab158: doc: Remove unnecessary Diagnostic entry in lxc-st...

2013-10-02 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: cab158ed3c1a8eccd715f28d8a848e2c7c7f8ff6 https://github.com/lxc/lxc/commit/cab158ed3c1a8eccd715f28d8a848e2c7c7f8ff6 Author: KATOH Yasufumi Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M doc/ja/lxc-s

[lxc-devel] [lxc/lxc] 431fdc: Update lxc-fedora.in

2013-10-02 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 431fdc427247ab1a6189c46d0743e38f30f9e1e9 https://github.com/lxc/lxc/commit/431fdc427247ab1a6189c46d0743e38f30f9e1e9 Author: Renich Bon Ciric Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M templates/

[lxc-devel] [PATCH] fix lxc-info segv on stopped container

2013-10-02 Thread Dwight Engen
Signed-off-by: Dwight Engen --- src/lxc/lxc_info.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/lxc/lxc_info.c b/src/lxc/lxc_info.c index 23cf789..a4fa3e1 100644 --- a/src/lxc/lxc_info.c +++ b/src/lxc/lxc_info.c @@ -124,12 +124,14 @@ int main(int argc, ch

Re: [lxc-devel] [lxc/lxc] 431fdc: Update lxc-fedora.in

2013-10-02 Thread Michael H. Warfield
Ah Crap... Just when I'm almost done regression testing my updates to the lxc-fedora template... Stéphane, When did this come in? I thought I had already fixed that version gotcha for Fedora 19 (which is now up to -4 in updates) and that it had been committed to staging long before Linux Plumbe

Re: [lxc-devel] [lxc/lxc] 431fdc: Update lxc-fedora.in

2013-10-02 Thread Michael H. Warfield
On Wed, 2013-10-02 at 12:12 -0400, Michael H. Warfield wrote: > Ah Crap... Just when I'm almost done regression testing my updates to > the lxc-fedora template... > Stéphane, > When did this come in? I thought I had already fixed that version > gotcha for Fedora 19 (which is now up to -4 in up

Re: [lxc-devel] [lxc/lxc] 431fdc: Update lxc-fedora.in

2013-10-02 Thread Stéphane Graber
Oops, sorry if I caused a few conflicts with your upcoming patchset... We had the fedora 19 fix as a pull request on github for a while so I just applied it when going through the outstanding merge proposals this morning. Then git complained about a mixed tab/space in that patch, so I looked at t

Re: [lxc-devel] [PATCH] fix lxc-info segv on stopped container

2013-10-02 Thread Stéphane Graber
On Wed, Oct 02, 2013 at 12:14:58PM -0400, Dwight Engen wrote: > Signed-off-by: Dwight Engen Doh, not sure how I managed to miss that one! Thanks! Acked-by: Stéphane Graber > --- > src/lxc/lxc_info.c | 14 -- > 1 file changed, 8 insertions(+), 6 deletions(-) > > diff --git a/src/

[lxc-devel] [lxc/lxc] bd79cb: fix lxc-info segv on stopped container

2013-10-02 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: bd79cb223d32634d66254264096040e86f763588 https://github.com/lxc/lxc/commit/bd79cb223d32634d66254264096040e86f763588 Author: Dwight Engen Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M src/lxc/lxc_in

[lxc-devel] [lxc/lxc] 01660c: Avoid ldconfig due to cross-compilation problems.

2013-10-02 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 01660cccb99433ecb970c534d2c0077a7fe84299 https://github.com/lxc/lxc/commit/01660cccb99433ecb970c534d2c0077a7fe84299 Author: Andrey Mazo Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M src/lxc/Makefil

Re: [lxc-devel] [lxc/lxc] 431fdc: Update lxc-fedora.in

2013-10-02 Thread Michael H. Warfield
On Wed, 2013-10-02 at 12:19 -0400, Stéphane Graber wrote: > Oops, sorry if I caused a few conflicts with your upcoming patchset... > We had the fedora 19 fix as a pull request on github for a while so I > just applied it when going through the outstanding merge proposals this > morning. > Then g

[lxc-devel] [lxc/lxc] a8aa70: lxc_init: Use sig_atomic_t for was_interrupted

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

[lxc-devel] [lxc/lxc] c61eaa: lxc-fedora: Show usage when no name is passed

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

[lxc-devel] [PATCH 1/1] add basic lxc-test-ubuntu

2013-10-02 Thread Serge Hallyn
>From the file comments: """ Some features of lxc - networking and LSM configuration for instance - are generally configured by the distro packages. This program tests the Ubuntu configuration. These require the ubuntu lxc package to be installed. General lxc functionality testing does not belo

Re: [lxc-devel] [PATCH 1/1] add basic lxc-test-ubuntu

2013-10-02 Thread Stéphane Graber
On Wed, Oct 02, 2013 at 01:11:12PM -0500, Serge Hallyn wrote: > >From the file comments: > > """ > Some features of lxc - networking and LSM configuration for instance - > are generally configured by the distro packages. This program > tests the Ubuntu configuration. > > These require the ubuntu

Re: [lxc-devel] [PATCH 1/1] add basic lxc-test-ubuntu

2013-10-02 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > On Wed, Oct 02, 2013 at 01:11:12PM -0500, Serge Hallyn wrote: > > >From the file comments: > > > > """ > > Some features of lxc - networking and LSM configuration for instance - > > are generally configured by the distro packages. This program > >

Re: [lxc-devel] [lxc/lxc] 431fdc: Update lxc-fedora.in

2013-10-02 Thread Michael H. Warfield
On Wed, 2013-10-02 at 12:19 -0400, Stéphane Graber wrote: > Oops, sorry if I caused a few conflicts with your upcoming patchset... > We had the fedora 19 fix as a pull request on github for a while so I > just applied it when going through the outstanding merge proposals this > morning. > Then g

Re: [lxc-devel] [PATCH 1/1] add basic lxc-test-ubuntu

2013-10-02 Thread Stéphane Graber
On Wed, Oct 02, 2013 at 02:21:47PM -0500, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): > > On Wed, Oct 02, 2013 at 01:11:12PM -0500, Serge Hallyn wrote: > > > >From the file comments: > > > > > > """ > > > Some features of lxc - networking and LSM configuration for instance

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

2013-10-02 Thread Michael H. Warfield
This patch reworks the Fedora template to operate in the most "distro agnostic" manner possible. It should even run on distros where rpm and yum are not present and not available or may be incompatible. It depends on the most basic set of system facilities like rsync but does require squashfs sup

[lxc-devel] [lxc/lxc] 51e7a8: Check return value of ifa_get_local_ip

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

[lxc-devel] [lxc/lxc] 8111ad: lxc-checkconfig: suggest modprobe configs

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

[lxc-devel] Migration of bug tracker from sourceforge to github

2013-10-02 Thread Stéphane Graber
Hey everyone, Just wanted to let you know that I just finished going through the 80 or so bug reports we had on sourceforge, closing any that weren't affecting master anymore, moving a few to github and fixing another bunch. So as of now, the only two remaining sourceforge based services are: -

[lxc-devel] [PATCH 1/1] add basic lxc-test-ubuntu (v2)

2013-10-02 Thread Serge Hallyn
>From the file comments: """ Some features of lxc - networking and LSM configuration for instance - are generally configured by the distro packages. This program tests the Ubuntu configuration. These require the ubuntu lxc package to be installed. General lxc functionality testing does not belo

Re: [lxc-devel] [PATCH 1/1] add basic lxc-test-ubuntu (v2)

2013-10-02 Thread Stéphane Graber
On Wed, Oct 02, 2013 at 04:48:12PM -0500, Serge Hallyn wrote: > From the file comments: > > """ > Some features of lxc - networking and LSM configuration for instance - > are generally configured by the distro packages. This program > tests the Ubuntu configuration. > > These require the ubuntu

Re: [lxc-devel] [PATCH 1/1] add basic lxc-test-ubuntu (v2)

2013-10-02 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > On Wed, Oct 02, 2013 at 04:48:12PM -0500, Serge Hallyn wrote: > > From the file comments: > > > > """ > > Some features of lxc - networking and LSM configuration for instance - > > are generally configured by the distro packages. This program > > t

Re: [lxc-devel] [PATCH 1/1] add basic lxc-test-ubuntu (v2)

2013-10-02 Thread Stéphane Graber
On Wed, Oct 02, 2013 at 05:09:17PM -0500, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): > > On Wed, Oct 02, 2013 at 04:48:12PM -0500, Serge Hallyn wrote: > > > From the file comments: > > > > > > """ > > > Some features of lxc - networking and LSM configuration for instance

[lxc-devel] [PATCH] Improve behaviour for unprivileged users

2013-10-02 Thread Stéphane Graber
This mostly changes two things: - Only log to the container's logfile on start/stop/restart/execute - Call may_control() every time we use the API and return "Insufficient privileges" on failure. NOTE: I didn't test every single one of those but I'm fairly confident in my copy/paste abi

Re: [lxc-devel] Device Namespaces

2013-10-02 Thread Eric W. Biederman
I think libudev is a solution to a completely different problem. It is possible I am blind but I just don't see how libudev even attempts to solve the problem. The desire is to plop a distro install into a subdirectory. Fire up a container around it, and let the distro's userspace do it's thing

Re: [lxc-devel] Device Namespaces

2013-10-02 Thread Eric W. Biederman
Serge Hallyn writes: >> Glossing over the details. The general problem is some policy exists >> outside of the container that deciedes if an when a container gets a >> serial port and stuffs it in. >> >> The expectation is that system containers will then run the udev >> rules and send the libu

Re: [lxc-devel] Device Namespaces

2013-10-02 Thread Eric W. Biederman
Amir Goldstein writes: > What we really like to see is a setns() style API that can be used to > add a device in the context of a namespace in either a "shared" or > "private" mode. I think you mean an "ip link set dev FOO netns XXX" style API. Right now one of the best suggestions on the table

Re: [lxc-devel] Device Namespaces

2013-10-02 Thread Eric W. Biederman
ebied...@xmission.com (Eric W. Biederman) writes: >> This kind of API is a required building block for us to write device >> drivers that are namespace aware in a way that userspace will have >> enough flexibility for dynamic configuration. >> >> We are trying to come up with a proposal for that s

[lxc-devel] [PATCH 1/1] add basic lxc-test-ubuntu (v3)

2013-10-02 Thread Serge Hallyn
Some features of lxc - networking and LSM configuration for instance - are generally configured by the distro packages. This program tests the Ubuntu configuration. changelog v2: Switch to lxc-info -i to detect ip address as stgraber suggested Don't look for 'expect' as I'm not using it yet.

Re: [lxc-devel] [PATCH] Improve behaviour for unprivileged users

2013-10-02 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > This mostly changes two things: > - Only log to the container's logfile on start/stop/restart/execute > - Call may_control() every time we use the API and return >"Insufficient privileges" on failure. > > NOTE: I didn't test every single one o

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

2013-10-02 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > +mount -o loop ../LiveOS/squashfs.img squashfs Heh, this is unfortunate - since I test things inside containers, now I have to face the loop device in containers issue :) For now I just added b 7:0 to my devices whitelist and loosened the app