On Thu, Aug 27, 2015 at 03:41:03PM -0400, Stéphane Graber wrote:
On Sun, Aug 16, 2015 at 04:46:31PM +, Serge Hallyn wrote:
Quoting Christian Brauner (christianvanbrau...@gmail.com):
Integrating lxc-clone with the standard lxc parser is not possible unless
it is
allowed to change
Updated PR on Github. Retains old behaviour of lxc executables.
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel
.
Signed-off-by: Christian Brauner christianvanbrau...@gmail.com
---
src/lxc/lxc_destroy.c | 74 ++-
1 file changed, 56 insertions(+), 18 deletions(-)
diff --git a/src/lxc/lxc_destroy.c b/src/lxc/lxc_destroy.c
index 955fc23..32bd2b4 100644
--- a/src
Signed-off-by: Christian Brauner christianvanbrau...@gmail.com
---
src/lxc/lxc_attach.c | 2 +-
src/lxc/lxc_cgroup.c | 2 +-
src/lxc/lxc_checkpoint.c | 2 +-
src/lxc/lxc_console.c| 2 +-
src/lxc/lxc_create.c | 4 ++--
src/lxc/lxc_device.c | 2 +-
src/lxc/lxc_execute.c| 2
Integrating lxc-clone with the standard lxc parser is not possible unless it is
allowed to change command line options. lxc-clone uses -n, -P and -o in a way
that is inconsistent with the standard lxc common options defined in
LXC_COMMON_OPTIONS in arguments.h and the parser in arguments.c. Since
to delete the original container if the file is not empty then it is not safe.
Signed-off-by: Christian Brauner christianvanbrau...@gmail.com
---
src/lxc/lxccontainer.c | 98 +++---
1 file changed, 61 insertions(+), 37 deletions(-)
diff --git a/src
Updated version as PR on github.
On Thu, Aug 06, 2015 at 03:47:04PM +0200, Christian Brauner wrote:
- lxc_snapshot.c lacked necessary members in the associated lxc_arguments
struct
in arguments.h. This commit extends the lxc_arguments struct to include
several parameters used by lxc
Hi Serge,
hi Stéphane,
currently the struct lxc_arguments lacks quite a few options which are required
by e.g. lxc-snapshot and lxc-clone which leads to a non-uniform implementation
of some of the executables. Would you be open to adding new members to the
lxc_arguments struct in order to rewrite
Hello,
since systemd 219 was released and included in Archlinux unprivileged Archlinux
containers work out of the box. Simply bootstrapping a barebone rootfs via
pacstrap and uidmapshifting it will suffice. However, it would be convenient to
be able to download unprivileged Archlinux containers
Hello,
I think it would be a really good idea to provide the nsexec tools with
lxc per default. A lot of users (including myself) probably bootstrap a
new filesystem for various distributions. Hence, they do not necessarily
rely on templates or download templates provided with lxc. In order to
Quoting Christian Brauner (christianvanbrauner at gmail.com):
On Sun, Feb 15, 2015 at 05:21:19PM +0100, Christian Brauner wrote:
Hello,
I test the newest systemd from git on a regular basis by compiling it
and installing it into a container and booting it. I did
;
Your way is the better way to do it. I adjusted and squased the PR and
post the patch again here as well:
commit 21c3c7ace34eaf5f19074e33d050896b5cc3
Author: Christian Brauner christianvanbrau...@gmail.com
Date: Sun Feb 15 11:31:31 2015 +0100
Show cpu-average in /proc/stat and start cup
Hello,
I test the newest systemd from git on a regular basis by compiling it
and installing it into a container and booting it. I did that with the
several current systemd versions from git for the last couple of weeks.
It seems that in the next version when booting a container with
lxc-start,
for that:
Signed-off-by: Christian Brauner christianvanbrau...@gmail.com
Date: Sun Feb 15 10:34:41 2015 +0100
Bring the cpu-average line to /proc/stat mounted by lxcfs and let the
core numbering start at 0.
diff --git a/lxcfs.c b/lxcfs.c
index d6fb101..ab296e7 100644
--- a/lxcfs.c
+++ b/lxcfs.c
Here is the original problem which I'm still
experiencing with lxc 1.1:
w/ userns:
[root at fedora2 ~]# setcap 'cap_net_admin,cap_net_raw+ep' /usr/bin/ping
Failed to set capabilities on file `/usr/bin/ping' (Operation not permitted)
[root at fedora2 ~]# id
uid=0(root) gid=0(root)
501 - 515 of 515 matches
Mail list logo