[lxc-devel] [GIT] lxc branch, master, updated. e788178af4da91e5bd152f01ac95e56e59118641

Daniel Lezcano git at users.sourceforge.net
Mon Oct 24 14:10:29 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lxc".

The branch, master has been updated
       via  e788178af4da91e5bd152f01ac95e56e59118641 (commit)
       via  0ae4f887a40947d6a85e17927224b982bcd35047 (commit)
       via  e4c0cf9212291d5cb0e6463037c0ab49ae6c9309 (commit)
       via  b031f0d2ca1b40eab86286b82d3c5e8b379122e6 (commit)
       via  8565ea1c6f8285ca14fc3025791cd6b6576e4639 (commit)
       via  bc71b5c54fee6cd3f66d47c57bb54048d49f1429 (commit)
       via  b145c6ef5e7959016f54dadc2a92398f7ec684a4 (commit)
       via  3e2981d4599962ec069c249460d86ce8ebec7644 (commit)
       via  b91b1cd79c1857a8aa5f329415cb23175b959cc1 (commit)
       via  cdcee3c7ff56e3018bd73ddd1512dbe4cbcfa915 (commit)
       via  0f3fe9e0b57d17db62b8bf3d7b9936a1bbcde64f (commit)
       via  6f7c8b020ce78f2327fbae2550b8804494dde143 (commit)
      from  4e04d515006816bbe629657b85d97476c9de240e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e788178af4da91e5bd152f01ac95e56e59118641
Author: Cedric Le Goater <clg at fr.ibm.com>
Date:   Mon Oct 24 14:56:30 2011 +0200

    extend the struct lxc_arguments
    
    This patch adds a private argument to extend the struct
    lxc_arguments. This is useful to develop custom lxc commands
    outside mainline lxc.
    
    Signed-off-by: Cedric Le Goater <clg at fr.ibm.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 0ae4f887a40947d6a85e17927224b982bcd35047
Author: Greg Kurz <gkurz at fr.ibm.com>
Date:   Mon Oct 24 14:56:30 2011 +0200

    lxc: introduce lxc_execute()
    
    This patch allows to create application containers with liblxc.so directly.
    
    Some code cleanups on the way:
    - separate ops for lxc_execute() and lxc_start(): the factorisation is wrong
      here as we may have specific things to do if we're running an application
      container. It deserves separate ops.
    - lxc_arguments_dup() is merged in the pre-exec operation: this is a first
      use for the execute op introduced just above. It's better to build the
      arguments to execvp() where they're really used.
    
    Signed-off-by: Greg Kurz <gkurz at fr.ibm.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
    Cc: Cedric Le Goater <clg at fr.ibm.com>

commit e4c0cf9212291d5cb0e6463037c0ab49ae6c9309
Author: Frederic Crozat <fcrozat at suse.com>
Date:   Thu Oct 13 11:26:56 2011 +0200

    handle kernel 3.x in lxc-checkconfig
    
    Make sure to correctly detect kernel 3.x for file capabilities.
    
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit b031f0d2ca1b40eab86286b82d3c5e8b379122e6
Author: Alexey Shabalin <a.shabalin at gmail.com>
Date:   Mon Oct 24 14:55:13 2011 +0200

    alt linux template
    
    Updates.
    
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
    --

commit 8565ea1c6f8285ca14fc3025791cd6b6576e4639
Author: Serge E. Hallyn <serge.hallyn at canonical.com>
Date:   Mon Oct 24 14:47:58 2011 +0200

    lxc-ubuntu: stop early if a bad user is specified in -b option
    
    Otherwise we end up with a bad container fstab and a container
    that won't boot.  See
    https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/879052
    
    Signed-off-by: Serge Hallyn <serge.hallyn at canonical.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit bc71b5c54fee6cd3f66d47c57bb54048d49f1429
Author: Rainer Weikusat <rweikusat at mobileactivedefense.com>
Date:   Mon Oct 24 14:47:58 2011 +0200

    Don't list containers w/ active console sessions multiple times
    
    The lxc-ls shell script uses netstat -xa to get a listing of AF_UNIX
    sockets it then parses in order to determine the names of presently
    running containers. This is wrong because it will list the
    listening socket and all sockets created by accepting connections on
    that. This causes the script to display the names of containers with
    active lxc-console sessions 1 + n times, n being the number of active
    console sessions. The patch below fixes this by using netstat -xl
    instead which only displays the listening sockets.
    
    Signed-off-by: Rainer Weikusat <rweikusat at mobileactivedefense.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit b145c6ef5e7959016f54dadc2a92398f7ec684a4
Author: Serge E. Hallyn <serge.hallyn at canonical.com>
Date:   Mon Oct 24 14:38:30 2011 +0200

    ubuntu template: allow containers to create tap devices
    
    Thought I had sent this before, but I don't find it anywhere.
    
    Signed-off-by: Serge Hallyn <serge.hallyn at canonical.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 3e2981d4599962ec069c249460d86ce8ebec7644
Author: Serge E. Hallyn <serge.hallyn at canonical.com>
Date:   Mon Oct 24 14:38:30 2011 +0200

    Accurately detect whether a system supports clone_children
    
    If multiple cgroups are mounted under /sys/fs/cgroup, then the
    original check ends up looking for /sys/fs/cgroup/cgroup.clone_children,
    which does not exist because that is just a tmpfs.
    
    So make sure to check an actual cgroupfs.
    
    Signed-off-by: Serge Hallyn <serge.hallyn at canonical.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit b91b1cd79c1857a8aa5f329415cb23175b959cc1
Author: Serge E. Hallyn <serge.hallyn at canonical.com>
Date:   Mon Oct 24 14:38:30 2011 +0200

    Let sshd template work on ubuntu systems.
    
    /dev/shm is a symlink to /run/shm, so we need /run/shm
    to exist in the container rootfs.  Also, /dev/mqueue does
    not exist on the host, and can't be created by the container.
    But we don't really need it so ignore that.
    
    Signed-off-by: Serge Hallyn <serge.hallyn at canonical.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit cdcee3c7ff56e3018bd73ddd1512dbe4cbcfa915
Author: Serge E. Hallyn <serge.hallyn at canonical.com>
Date:   Mon Oct 24 14:38:30 2011 +0200

    ubuntu template: disallow cap_sys_module (by popular demand)
    
    This isn't particularly reassuring, and will be moot with user
    namespaces, but as people are asking for it, turn off sys_module.
    While we're at it, turn off mac_admin and mac_override.
    
    Signed-off-by: Serge Hallyn <serge.hallyn at canonical.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 0f3fe9e0b57d17db62b8bf3d7b9936a1bbcde64f
Author: Serge E. Hallyn <serge.hallyn at canonical.com>
Date:   Mon Oct 24 14:38:30 2011 +0200

    lxc-clone: fix dhclient.conf send hostname command
    
    End the command with ';', which is needed, and put the hostname in
    quotes (which doesn't really seem needed, but shown in man page).
    
    Signed-off-by: Serge Hallyn <serge.hallyn at canonical.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 6f7c8b020ce78f2327fbae2550b8804494dde143
Author: Greg Kurz <gkurz at fr.ibm.com>
Date:   Mon Oct 24 14:38:30 2011 +0200

    fix more broken paths in lxc-*.in scripts
    
    There are still some sequels from commit:
    
    1c41ddcb4af633ac906f1d7c9ef1dc7d121d7850
    
    Signed-off-by: Greg Kurz <gkurz at fr.ibm.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

-----------------------------------------------------------------------

Summary of changes:
 src/lxc/Makefile.am        |    2 +
 src/lxc/arguments.c        |   36 --------------
 src/lxc/arguments.h        |    4 +-
 src/lxc/execute.c          |   90 +++++++++++++++++++++++++++++++++++
 src/lxc/lxc-checkconfig.in |   24 +++++++--
 src/lxc/lxc-clone.in       |    2 +-
 src/lxc/lxc-create.in      |    1 +
 src/lxc/lxc-ls.in          |    3 +-
 src/lxc/lxc.h              |   14 +++++-
 src/lxc/lxc_execute.c      |   11 +---
 src/lxc/utils.c            |    5 +-
 templates/lxc-altlinux.in  |  113 ++++++++++++++++++++++++++++++++++++-------
 templates/lxc-sshd.in      |    1 +
 templates/lxc-ubuntu.in    |   21 ++++++--
 14 files changed, 248 insertions(+), 79 deletions(-)
 create mode 100644 src/lxc/execute.c


hooks/post-receive
-- 
lxc




More information about the lxc-devel mailing list