[lxc-devel] [GIT] lxc branch, master, updated. 108ed092c30bd209e58e7b20591135bf7c8c665b

Daniel Lezcano git at users.sourceforge.net
Thu Nov 26 15:46:45 UTC 2009


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  108ed092c30bd209e58e7b20591135bf7c8c665b (commit)
       via  f2ae79a04567fb8c1181f4d3331d2b7a48889cf3 (commit)
       via  fae349da89b9ad063f0080970558b7f02ce233c2 (commit)
       via  aedd9d3fb37448bd381549e887ea8242c73906b4 (commit)
       via  e4e7d59db88478186188024c78f76066dad1e733 (commit)
       via  6ab9ab6d08205faa314b91a2235585bc53b2ad29 (commit)
       via  8634bc197f742267b2eabd8543265ba93177b529 (commit)
       via  f63147349be9cac87f8f9abe08edacfe36f2c617 (commit)
       via  65cb447f9b8d1ac8dcf9df24a4f877180444f003 (commit)
      from  83c2e175242f590ef8984174fe62fa13720ea654 (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 108ed092c30bd209e58e7b20591135bf7c8c665b
Author: Daniel Lezcano <daniel.lezcano at free.fr>
Date:   Thu Nov 26 16:46:25 2009 +0100

    fix a compilation warning
    
    lxc_get_cgroup_path is used in the file but the header
    defining the function is missing.
    
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit f2ae79a04567fb8c1181f4d3331d2b7a48889cf3
Author: Andrian Nord <nightnord at gmail.com>
Date:   Thu Nov 26 16:46:25 2009 +0100

    "Default" configuration may destroy host system
    
    If you're running (by mistake or typo) (via lxc-start) container that does not
    exists it will run with lxc.rootfs=/, meaning that /sbin/init will
    restart initialization procedure, efficiently messing host's system,
    that may lead to unpredictable results or even destroy (make inaccessible) host
    system (by reseting network configuration or something like that).
    
    (Actually, it _did_ destroy system of everyone who tested this).
    
    Actually, I finally lost any meaning of having such a feature for
    full-system containers. You may not use hosts's FS - it's described at
    above. You may not use some temporary directory - that's nonsense.
    
    This patch forbinds starting container via lxc-start without rcfile and
    custom start program, but probably it fixes only small part of problem.
    I really don't see much sense in such a feature without ability of
    overriding 'default' setting with command line switches. Anyway, default
    behaviour should be as save as possible.
    
    Signed-off-by: Andrian Nord <NightNord at gmail.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit fae349da89b9ad063f0080970558b7f02ce233c2
Author: Daniel Lezcano <daniel.lezcano at free.fr>
Date:   Thu Nov 26 16:46:24 2009 +0100

    pass lxc_conf to the lxc_start function instead of the rcfile
    
    The rcfile is parsed in the lxc_start function. This is not the place
    to do that. Let's the caller to do that.
    
    In the meantime, we have the lxc_conf structure filled right before
    calling the lxc_start function so we can do some sanity check on the
    configuration to not break the system when we launch the container.
    
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit aedd9d3fb37448bd381549e887ea8242c73906b4
Author: Jamal Hadi Salim <hadi at cyberus.ca>
Date:   Thu Nov 26 16:46:24 2009 +0100

    Remove unnecessary reset of msg.msg_controlle
    
    Remove unnecessary reset of msg.msg_controllen
    
    Signed-off-by: Jamal Hadi Salim <hadi at cyberus.ca>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit e4e7d59db88478186188024c78f76066dad1e733
Author: Sven Wegener <sven.wegener at stealer.net>
Date:   Thu Nov 26 16:46:23 2009 +0100

    use correct number of ttys during setup
    
    commit 985d15b106c8959ff130ba5425c2abbe36dc2cca "fix fdleak and errors
    in lxc_create_tty()" created a zero-sized malloc(), causing memory
    corruption. use config->tty like all the other code does.
    
    Signed-off-by: Sven Wegener <sven.wegener at stealer.net>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 6ab9ab6d08205faa314b91a2235585bc53b2ad29
Author: Michael Tokarev <mjt at tls.msk.ru>
Date:   Thu Nov 26 16:46:23 2009 +0100

    minor cleanups for instanciate_veth()
    
    the same cleanup as in instanciate_macvlan(). Just makes code
    shorter and less "jumpy" (as with goto back)
    
    Signed-off-by: Michael Tokarev <mjt at tls.msk.ru>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 8634bc197f742267b2eabd8543265ba93177b529
Author: Michael Tokarev <mjt at tls.msk.ru>
Date:   Thu Nov 26 16:46:23 2009 +0100

    allow lxc.network.pair to specify host-side name for veth interface
    
    Currently we allocate veth device with random name on host side,
    so that things like firewall rules or accounting does not work
    at all.  Fix this by recognizing yet anothe keyword to specify
    the host-side device name: lxc.network.pair, and use it instead
    of random name if specified.
    
    Signed-off-by: Michael Tokarev <mjt at tls.msk.ru>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit f63147349be9cac87f8f9abe08edacfe36f2c617
Author: Michel Normand <normand at fr.ibm.com>
Date:   Thu Nov 26 16:46:22 2009 +0100

    lxc-ps to limit its search to containers
    
    The purpose of this patch is to limit the search
    of pids to those in containers by looking at first
    in the /cgroup/<name>/tasks  when --lxc or --names options
    are specified by user.
    The idea is to speedup the output when only few
    container names are specified while the machine
    is running with many processes.
    
    Signed-off-by: Michel Normand <michel.mno at free.fr>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 65cb447f9b8d1ac8dcf9df24a4f877180444f003
Author: Michel Normand <normand at fr.ibm.com>
Date:   Thu Nov 26 16:46:22 2009 +0100

    lxc-ls to report also active containers
    
    With previous changes that allow to start a container
    without the need to create it; the lxc-ls was only reporting
    the created containers.
    With this patch, the lxc-ls is now reporting created and active
    containers.
    
    Signed-off-by: Michel Normand <michel.mno at free.fr>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

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

Summary of changes:
 src/lxc/af_unix.c     |    2 -
 src/lxc/commands.c    |    2 +-
 src/lxc/conf.c        |   37 ++++++++---------
 src/lxc/conf.h        |    2 +
 src/lxc/confile.c     |   14 ++++++
 src/lxc/console.c     |    2 +-
 src/lxc/lxc-ls.in     |   22 ++++++++++
 src/lxc/lxc-ps.in     |  109 +++++++++++++++++++++++++++---------------------
 src/lxc/lxc.h         |    3 +-
 src/lxc/lxc_execute.c |   20 +++++++--
 src/lxc/lxc_start.c   |   29 ++++++++++---
 src/lxc/start.c       |   42 ++++++-------------
 src/lxc/start.h       |    4 +-
 src/lxc/state.c       |    1 +
 14 files changed, 175 insertions(+), 114 deletions(-)


hooks/post-receive
-- 
lxc




More information about the lxc-devel mailing list