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  b09ecaf30367648a246d2e01c3a288a7653cc613 (commit)
       via  3244e75040a98d2854144ebc169a5a61ddbe0a26 (commit)
      from  434d90db57e3d94609b48e2bc3c17777e56eac3a (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 b09ecaf30367648a246d2e01c3a288a7653cc613
Author: Daniel Lezcano <daniel.lezc...@free.fr>
Date:   Fri Jan 28 00:24:54 2011 +0100

    Fix paths in the lxc-busybox template
    
    Author of the patch : Jonathan Liu <???> posted as a bug fix on the lxc
    sourceforge website.
    
    OS: Arch Linux 32-bit
    
    /etc/init.d/rcS do not use full path to syslogd, mount and udhcpc 
executables.
    As busybox requires /proc mounted if 
CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
    to run these commands without full path, the full path should be used in the
    startup script as /proc is mounted later in the script.
    
    It also fails to start the machine if /lib64 does not exist on the host 
system
    as there is a mount entry for /lib64 in the config.
    
    The attached patch changes commands in /etc/init.d/rcS to use full path and
    adds a check for /lib64 on host before adding lib64 mount entries to config.
    
    Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com>

commit 3244e75040a98d2854144ebc169a5a61ddbe0a26
Author: Daniel Lezcano <daniel.lezc...@free.fr>
Date:   Fri Jan 28 00:14:51 2011 +0100

    export env variable in lxc_start
    
    Let's export the 'container' variable and let init receive it
    as a kernel command line option.
    
    In the upstart init scripts, we can distinguish if we are in a
    container context or not.
    
    
===============================================================================
    
    # /dev/console - getty
    #
    # This service maintains a getty on /dev/console from the point the
    # system is started until it is shut down again.
    # It only runs in lxc containers.
    
    start on stopped rc RUNLEVEL=[2345]
    stop on runlevel [!2345]
    
    env container
    pre-start script
        [ "x$container" != "xlxc" ] && { stop; exit 0; }
        exit 0;
    end script
    
    respawn
    
    exec /sbin/getty -8 38400 /dev/console
    
    
===============================================================================
    
    Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com>

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

Summary of changes:
 src/lxc/lxc_start.c      |    5 +++++
 templates/lxc-busybox.in |    8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
lxc

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to