unprivileged containers uses lxc-user-nic to create the underlying
network. And because of that reason netdev struct misses some
information (like the name of the interface seen from the host side)
Find that information by parsing /proc/self/net/dev and return to
caller.
With this patch lxc-info
Signed-off-by: KATOH Yasufumi
---
doc/ja/lxc-usernsexec.sgml.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/ja/lxc-usernsexec.sgml.in b/doc/ja/lxc-usernsexec.sgml.in
index a3e496b..77587ce 100644
--- a/doc/ja/lxc-usernsexec.sgml.in
+++ b/doc/ja/lxc-usernsexec.sgml.in
@
Signed-off-by: S.Çağlar Onur
---
src/lxc/conf.c| 32
src/lxc/monitor.c | 25 -
src/lxc/utils.c | 26 +-
src/lxc/utils.h | 3 +++
4 files changed, 28 insertions(+), 58 deletions(-)
diff --git a/src/lxc/conf.
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: cc69660a576dab1268b909530ab075b0e8e00a51
https://github.com/lxc/lxc/commit/cc69660a576dab1268b909530ab075b0e8e00a51
Author: Serge Hallyn
Date: 2014-02-13 (Thu, 13 Feb 2014)
Changed paths:
M doc/lxc-userns
Serge,
Is this going to be another situation where we have to mount a devpts
file system somewhere else and bind mount it into the devtmpfs / tmpfs
file system as a non-priv user? I recall there have been other problems
(pivot_root) when dealing with tmpfs. Is this another one?
Regards,
Mike
O
Build Update for lxc/lxc
-
Build: #255
Status: Passed
Duration: 1 minute and 39 seconds
Commit: c213f40 (lxc-1.0.0.rc1)
Author: Stéphane Graber
Message: change version to 1.0.0.beta4 in configure.ac
Signed-off-by: Stéphane Graber
View the changeset: https://
Branch: refs/tags/lxc-1.0.0.rc1
Home: https://github.com/lxc/lxc
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: c213f406f9b7ff870fd73955bb2cf19a56dc5280
https://github.com/lxc/lxc/commit/c213f406f9b7ff870fd73955bb2cf19a56dc5280
Author: Stéphane Graber
Date: 2014-02-13 (Thu, 13 Feb 2014)
Changed paths:
M configure.a
On Thu, 2014-02-13 at 23:44 +0100, Stephan Sachse wrote:
> On Thu, Feb 13, 2014 at 9:19 PM, Michael H. Warfield
> wrote:
> > On Wed, 2014-02-12 at 20:18 +0100, Stephan Sachse wrote:
> >> i've lost my brain! i'm not a c programmer. someone who knows what
> >> he's doing, should have a look on it.
Build Update for lxc/lxc
-
Build: #253
Status: Fixed
Duration: 2 minutes and 26 seconds
Commit: e1579aa (master)
Author: Stéphane Graber
Message: Revert "move fnv_64a_buf to utils.c and remove mutliple copies"
Fix clang breakage.
This reverts commit 7cd32872b
On Thu, Feb 13, 2014 at 9:19 PM, Michael H. Warfield wrote:
> On Wed, 2014-02-12 at 20:18 +0100, Stephan Sachse wrote:
>> i've lost my brain! i'm not a c programmer. someone who knows what
>> he's doing, should have a look on it.
>
> > it errors out with:
>
> Crud... Looks like you started showin
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: e1579aaff65242d8aac4afd1ff42e005e394eaa4
https://github.com/lxc/lxc/commit/e1579aaff65242d8aac4afd1ff42e005e394eaa4
Author: Stéphane Graber
Date: 2014-02-13 (Thu, 13 Feb 2014)
Changed paths:
M src/lxc/con
Build Update for lxc/lxc
-
Build: #252
Status: Broken
Duration: 1 minute and 48 seconds
Commit: 7cd3287 (master)
Author: S.Çağlar Onur
Message: move fnv_64a_buf to utils.c and remove mutliple copies
Signed-off-by: S.Çağlar Onur
Acked-by: Stéphane Graber
Vie
On Thu, Feb 13, 2014 at 04:57:12PM -0500, S.Çağlar Onur wrote:
> Signed-off-by: S.Çağlar Onur
Acked-by: Stéphane Graber
> ---
> src/lxc/conf.c| 32
> src/lxc/monitor.c | 25 -
> src/lxc/utils.c | 26 +-
> sr
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 7cd32872b697e02a9a326e80d52ef0b934de530c
https://github.com/lxc/lxc/commit/7cd32872b697e02a9a326e80d52ef0b934de530c
Author: S.Çağlar Onur
Date: 2014-02-13 (Thu, 13 Feb 2014)
Changed paths:
M src/lxc/conf.
Signed-off-by: S.Çağlar Onur
---
src/lxc/conf.c| 32
src/lxc/monitor.c | 25 -
src/lxc/utils.c | 26 +-
src/lxc/utils.h | 3 +++
4 files changed, 28 insertions(+), 58 deletions(-)
diff --git a/src/lxc/conf.
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 604f0955b7acd0def0c704427ea43f2a598533be
https://github.com/lxc/lxc/commit/604f0955b7acd0def0c704427ea43f2a598533be
Author: S.Çağlar Onur
Date: 2014-02-13 (Thu, 13 Feb 2014)
Changed paths:
M src/lxc/af_un
On Thu, Feb 13, 2014 at 04:43:45PM -0500, S.Çağlar Onur wrote:
> Signed-off-by: S.Çağlar Onur
Acked-by: Stéphane Graber
> ---
> src/lxc/af_unix.c | 152
> +++---
> 1 file changed, 76 insertions(+), 76 deletions(-)
>
> diff --git a/src/lxc/af_un
Signed-off-by: S.Çağlar Onur
---
src/lxc/af_unix.c | 152 +++---
1 file changed, 76 insertions(+), 76 deletions(-)
diff --git a/src/lxc/af_unix.c b/src/lxc/af_unix.c
index c1ed2ba..a2de73e 100644
--- a/src/lxc/af_unix.c
+++ b/src/lxc/af_unix.c
@@ -
Hey Mike, I didn't add /dev/core since it wasn't in "Compulsory", but
if you think we should have it too feel free to add it :)
On Thu, 13 Feb 2014 16:26:59 -0500
"Michael H. Warfield" wrote:
> Nice job. Ya beat me too it.
>
> Acked-by: Michael H. Warfield
>
> On Thu, 2014-02-13 at 16:13 -05
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 69aa66552ff2a7a4cc0a06e7fe879635cf724259
https://github.com/lxc/lxc/commit/69aa66552ff2a7a4cc0a06e7fe879635cf724259
Author: Dwight Engen
Date: 2014-02-13 (Thu, 13 Feb 2014)
Changed paths:
M src/lxc/conf.c
On Thu, Feb 13, 2014 at 04:13:03PM -0500, Dwight Engen wrote:
> The kernel's Documentation/devices.txt says that these symlinks should
> exist in /dev (they are listed in the "Compulsory" section). I'm not
> currently adding nfsd and X0R since they are required for iBCS, but
> they can be easily ad
Nice job. Ya beat me too it.
Acked-by: Michael H. Warfield
On Thu, 2014-02-13 at 16:13 -0500, Dwight Engen wrote:
> The kernel's Documentation/devices.txt says that these symlinks should
> exist in /dev (they are listed in the "Compulsory" section). I'm not
> currently adding nfsd and X0R since
The kernel's Documentation/devices.txt says that these symlinks should
exist in /dev (they are listed in the "Compulsory" section). I'm not
currently adding nfsd and X0R since they are required for iBCS, but
they can be easily added to the array later if need be.
Signed-off-by: Dwight Engen
---
On Thu, 2014-02-13 at 15:22 -0500, Michael H. Warfield wrote:
> On Thu, 2014-02-13 at 14:44 -0500, Dwight Engen wrote:
> > On Thu, 13 Feb 2014 13:32:44 -0500
> > "Michael H. Warfield" wrote:
> >
> > > On Thu, 2014-02-13 at 12:18 -0500, Michael H. Warfield wrote:
> > > > On Thu, 2014-02-13 at 14:0
On Thu, 2014-02-13 at 14:44 -0500, Dwight Engen wrote:
> On Thu, 13 Feb 2014 13:32:44 -0500
> "Michael H. Warfield" wrote:
>
> > On Thu, 2014-02-13 at 12:18 -0500, Michael H. Warfield wrote:
> > > On Thu, 2014-02-13 at 14:02 +0100, Harald Dunkel wrote:
> > > > Hi folks,
> > >
> > > > Problem in
On Wed, 2014-02-12 at 20:18 +0100, Stephan Sachse wrote:
> i've lost my brain! i'm not a c programmer. someone who knows what
> he's doing, should have a look on it.
> it errors out with:
Crud... Looks like you started showing the info lines AFTER some of the
information I need would have been p
On Thu, 13 Feb 2014 13:32:44 -0500
"Michael H. Warfield" wrote:
> On Thu, 2014-02-13 at 12:18 -0500, Michael H. Warfield wrote:
> > On Thu, 2014-02-13 at 14:02 +0100, Harald Dunkel wrote:
> > > Hi folks,
> >
> > > Problem in LXC (beta4) running a Centos 6.5 client:
> >
> > > # cat <(echo hell
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 8158c057dc25a50d2918e6dccf9d348e1dd5da22
https://github.com/lxc/lxc/commit/8158c057dc25a50d2918e6dccf9d348e1dd5da22
Author: Stéphane Graber
Date: 2014-02-13 (Thu, 13 Feb 2014)
Changed paths:
M src/lxc/lxc
Quoting Stéphane Graber (stgra...@ubuntu.com):
> This update will make it work unprivileged as well as testing a few of
> the new functions.
>
> Signed-off-by: Stéphane Graber
Acked-by: Serge E. Hallyn
> ---
> src/python-lxc/examples/api_test.py | 56
> -
>
Quoting Stéphane Graber (stgra...@ubuntu.com):
> Signed-off-by: Stéphane Graber
Acked-by: Serge E. Hallyn
> ---
> src/lxc/lxc-device | 5 -
> src/lxc/lxc-ls | 4
> src/lxc/lxc-start-ephemeral.in | 4
> src/python-lxc/examp
Quoting Stéphane Graber (stgra...@ubuntu.com):
> With this change, systems that support it will use attach to run any
> provided command.
>
> This doesn't change the default behaviour of attaching to tty1, but it
> does make it much easier to script or even get a quick shell with:
> lxc-start-ephe
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 5693029730eeb9e51f3be2f80d3dcff21cade334
https://github.com/lxc/lxc/commit/5693029730eeb9e51f3be2f80d3dcff21cade334
Author: Stéphane Graber
Date: 2014-02-13 (Thu, 13 Feb 2014)
Changed paths:
M doc/rootfs/
On Thu, 13 Feb 2014 13:32:44 -0500
"Michael H. Warfield" wrote:
> On Thu, 2014-02-13 at 12:18 -0500, Michael H. Warfield wrote:
> > On Thu, 2014-02-13 at 14:02 +0100, Harald Dunkel wrote:
> > > Hi folks,
> >
> > > Problem in LXC (beta4) running a Centos 6.5 client:
> >
> > > # cat <(echo hell
This update will make it work unprivileged as well as testing a few of
the new functions.
Signed-off-by: Stéphane Graber
---
src/python-lxc/examples/api_test.py | 56 -
1 file changed, 43 insertions(+), 13 deletions(-)
diff --git a/src/python-lxc/examples/api
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 6b9324bd45374e32465f9fff6e24b1af837c445b
https://github.com/lxc/lxc/commit/6b9324bd45374e32465f9fff6e24b1af837c445b
Author: Stéphane Graber
Date: 2014-02-13 (Thu, 13 Feb 2014)
Changed paths:
M src/lxc/con
Signed-off-by: Stéphane Graber
---
src/lxc/lxc-device | 5 -
src/lxc/lxc-ls | 4
src/lxc/lxc-start-ephemeral.in | 4
src/python-lxc/examples/api_test.py | 3 ---
src/python-lxc/examples/pyconsole-vte.py | 3 ---
src/pyth
With this change, systems that support it will use attach to run any
provided command.
This doesn't change the default behaviour of attaching to tty1, but it
does make it much easier to script or even get a quick shell with:
lxc-start-ephemeral -o p1 -n p2 -- /bin/bash
I'm doing the setgid,initgr
On Thu, 13 Feb 2014 12:54:29 -0500
Stéphane Graber wrote:
> On Thu, Feb 13, 2014 at 12:20:20PM -0500, Michael H. Warfield wrote:
> > On Thu, 2014-02-13 at 11:56 -0500, Stéphane Graber wrote:
> > > This adds support for:
> > > - memory (total memory)
> > > - ram
> > > - swap
> >
> > Any chance
On Thu, 2014-02-13 at 12:18 -0500, Michael H. Warfield wrote:
> On Thu, 2014-02-13 at 14:02 +0100, Harald Dunkel wrote:
> > Hi folks,
>
> > Problem in LXC (beta4) running a Centos 6.5 client:
>
> > # cat <(echo hello)
> > cat: /dev/fd/63: No such file or directory
>
> > On a "real" host
On Thu, Feb 13, 2014 at 12:20:20PM -0500, Michael H. Warfield wrote:
> On Thu, 2014-02-13 at 11:56 -0500, Stéphane Graber wrote:
> > This adds support for:
> > - memory (total memory)
> > - ram
> > - swap
>
> Any chance of getting the number of processes running in the container
> (it's somethi
On Thu, 2014-02-13 at 11:56 -0500, Stéphane Graber wrote:
> This adds support for:
> - memory (total memory)
> - ram
> - swap
Any chance of getting the number of processes running in the container
(it's something I've used in the past to detect a container stuck or
hung on init with 1 process).
On Thu, 2014-02-13 at 14:02 +0100, Harald Dunkel wrote:
> Hi folks,
> Problem in LXC (beta4) running a Centos 6.5 client:
> # cat <(echo hello)
> cat: /dev/fd/63: No such file or directory
> On a "real" host /dev/fd is a symlink pointing to /proc/self/fd.
> AFAICS only the altlinux t
Quoting Stéphane Graber (stgra...@ubuntu.com):
> This adds support for:
> - memory (total memory)
> - ram
> - swap
>
> Signed-off-by: Stéphane Graber
Acked-by: Serge E. Hallyn
> ---
> src/lxc/lxc-ls | 43 +--
> 1 file changed, 41 insertions(+), 2 del
This adds support for:
- memory (total memory)
- ram
- swap
Signed-off-by: Stéphane Graber
---
src/lxc/lxc-ls | 43 +--
1 file changed, 41 insertions(+), 2 deletions(-)
diff --git a/src/lxc/lxc-ls b/src/lxc/lxc-ls
index fa53fac..c65ae81 100755
--- a/sr
We used to do chdir(path), chroot(path). That's correct but not properly
handled coverity, so do chroot(path), chdir("/") instead as that's the
recommended way.
Signed-off-by: Stéphane Graber
---
src/lxc/conf.c | 8
src/lxc/lxccontainer.c | 4 ++--
2 files changed, 6 insertions(
Quoting Stéphane Graber (stgra...@ubuntu.com):
> Signed-off-by: Stéphane Graber
Acked-by: Serge E. Hallyn
> ---
> src/python-lxc/lxc.c | 30 ++
> 1 file changed, 30 insertions(+)
>
> diff --git a/src/python-lxc/lxc.c b/src/python-lxc/lxc.c
> index 9fdc27f..f7ab092
Quoting Stéphane Graber (stgra...@ubuntu.com):
> We used to do chdir(path), chroot(path). That's correct but not properly
> handled coverity, so do chroot(path), chdir("/") instead as that's the
> recommended way.
>
> Signed-off-by: Stéphane Graber
Acked-by: Serge E. Hallyn
> ---
> src/lxc/co
Signed-off-by: Stéphane Graber
---
src/python-lxc/lxc.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/src/python-lxc/lxc.c b/src/python-lxc/lxc.c
index 9fdc27f..f7ab092 100644
--- a/src/python-lxc/lxc.c
+++ b/src/python-lxc/lxc.c
@@ -1007,6 +1007,30 @@ Contai
Hey everyone,
Just wanted to let you know that I intend to release LXC 1.0 rc1 by end
of day (so in the next 8 hours).
This is basically your last chance to get any remaining feature into the
release, please send your patches now or at least let me know what
you're working on.
After rc1 is tagge
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 25190e5b1092cd8109203c1fa6430a61576f9977
https://github.com/lxc/lxc/commit/25190e5b1092cd8109203c1fa6430a61576f9977
Author: Serge Hallyn
Date: 2014-02-13 (Thu, 13 Feb 2014)
Changed paths:
M src/lxc/bdev.c
On Thu, Feb 13, 2014 at 04:11:08PM +0900, KATOH Yasufumi wrote:
> - Update Japanese man for commit a7c27357b33d726a326a11e1e72f68e1546b994a,
> seccomp v2
> - Fix typo in English man
>
> Signed-off-by: KATOH Yasufumi
Acked-by: Stéphane Graber
> ---
> doc/ja/lxc.container.conf.sgml.in | 42
>
On Thu, Feb 13, 2014 at 04:11:07PM +0900, KATOH Yasufumi wrote:
> Update lxc-clone(1) and lxc-snapshot(1) for commit
> 1f92162dc0432b6f7f8156d22348f22934cbea3f
> and improve some translations
>
> Signed-off-by: KATOH Yasufumi
Acked-by: Stéphane Graber
> ---
> doc/ja/lxc-clone.sgml.in| 20
On Thu, Feb 13, 2014 at 12:52:52AM -0600, Serge Hallyn wrote:
> This allows lxc-snapshot and lxc-clone -s from an overlayfs container
> to work unprivileged. (lxc-clone -s from a directory backed container
> already did work)
>
> Signed-off-by: Serge Hallyn
Acked-by: Stéphane Graber
> ---
>
Hi folks,
Problem in LXC (beta4) running a Centos 6.5 client:
# cat <(echo hello)
cat: /dev/fd/63: No such file or directory
On a "real" host /dev/fd is a symlink pointing to /proc/self/fd.
AFAICS only the altlinux template creates this symlink. Debian
seems to provide the link o
55 matches
Mail list logo