[lxc-devel] [GIT] lxc branch, master, updated. 9ea8066aa67b808f71f46e346bd7a215e2a355f3

Daniel Lezcano git at users.sourceforge.net
Mon Mar 22 11:44:20 UTC 2010


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  9ea8066aa67b808f71f46e346bd7a215e2a355f3 (commit)
       via  341553f769afd3e73219f5fbf5cd79c054e2333f (commit)
       via  adc1e6c25d39840aa76d665361d3b6dd7373acd9 (commit)
       via  0a3ec350143c95031e5d96fe4a033cfb0772d27f (commit)
       via  81c75799cc753a51afb6e17979b2923212986ad3 (commit)
       via  28a4b0e55c659428bc8f495fde2e774fbd0fb03c (commit)
       via  80090207defda9adfc922555b359b11acdad1401 (commit)
      from  7d9fb3e9d2b9722040f37f0e01e29d071f4c6fe8 (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 9ea8066aa67b808f71f46e346bd7a215e2a355f3
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date:   Mon Mar 22 11:08:34 2010 +0100

    fix lxc-setcap script for lxc-attach
    
    Fix type and missing capability.
    
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 341553f769afd3e73219f5fbf5cd79c054e2333f
Author: Michel Normand <normand at fr.ibm.com>
Date:   Mon Mar 22 11:08:34 2010 +0100

    do not use logfile in lxc_init (V2)
    
    The log file in lxc-init is quite useless as the code is trivial.
    
    Signed-off-by: Michel Normand <normand at fr.ibm.com>
    Signed-off-by: Cedric Le Goater <clg at fr.ibm.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit adc1e6c25d39840aa76d665361d3b6dd7373acd9
Author: Michel Normand <normand at fr.ibm.com>
Date:   Mon Mar 22 11:08:34 2010 +0100

    typo in error message
    
    Wrong variable.
    
    Signed-off-by: Michel Normand <normand at fr.ibm.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 0a3ec350143c95031e5d96fe4a033cfb0772d27f
Author: Daniel Lezcano <daniel.lezcano at free.fr>
Date:   Mon Mar 22 11:08:34 2010 +0100

    fix lxc-attach returned error
    
    When we try to attach to a container belonging to another user than us,
    the command fails as expected but the return code is wrong, so we have
    an "unknown error" instead of "permission denied".
    
    The culprit is:
    
    -                     strerror(command.answer.ret));
    +                     strerror(-command.answer.ret));
    
    The rest of the code is indentation without code impact.
    
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
    Signed-off-by: Michel Normand <normand at fr.ibm.com>

commit 81c75799cc753a51afb6e17979b2923212986ad3
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date:   Mon Mar 22 11:08:34 2010 +0100

    lxc: enter / exec a command inside a container V2
    
    This patch allows to execute a command or enter inside the container:
      * lxc-attach -n <name> [command]
    
    If the <command is not specified>, the lxc-attach will retrieve your uid
    and get your shell name and exec it in the container.
    
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 28a4b0e55c659428bc8f495fde2e774fbd0fb03c
Author: Daniel Lezcano <daniel.lezcano at free.fr>
Date:   Mon Mar 22 11:08:34 2010 +0100

    open the console later
    
    Open the console at the setup time, otherwise the openeded
    file descriptor will be considered as an inherited fd and the
    startup will fail.
    
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 80090207defda9adfc922555b359b11acdad1401
Author: Cedric Le Goater <clg at fr.ibm.com>
Date:   Mon Mar 22 11:08:34 2010 +0100

    lxc: forbid open fds upon startup
    
    This patch modifies the startup of a container to forbid opened
    fds, unless these are stdios.
    
    Signed-off-by: Cedric Le Goater <clg at fr.ibm.com>

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

Summary of changes:
 src/lxc/Makefile.am   |    2 +
 src/lxc/arguments.c   |   14 -----
 src/lxc/commands.c    |   13 +++--
 src/lxc/commands.h    |    2 +
 src/lxc/conf.c        |    3 +-
 src/lxc/conf.h        |    1 +
 src/lxc/confile.c     |   18 ++++++-
 src/lxc/console.c     |    9 +++
 src/lxc/lxc-setcap.in |    3 +-
 src/lxc/lxc_attach.c  |  135 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/lxc/lxc_init.c    |   21 +-------
 src/lxc/lxc_start.c   |    6 +-
 src/lxc/namespace.c   |   62 ++++++++++++++++++++++-
 src/lxc/namespace.h   |    1 +
 src/lxc/start.c       |   90 ++++++++++++++++++++++++++++++--
 src/lxc/start.h       |    1 +
 src/lxc/utils.c       |  126 ---------------------------------------------
 src/lxc/utils.h       |    2 -
 18 files changed, 331 insertions(+), 178 deletions(-)
 create mode 100644 src/lxc/lxc_attach.c


hooks/post-receive
-- 
lxc




More information about the lxc-devel mailing list