1. 02 Jun, 2011 1 commit
  2. 26 May, 2011 2 commits
  3. 23 May, 2011 2 commits
  4. 20 May, 2011 1 commit
  5. 13 May, 2011 1 commit
  6. 06 May, 2011 2 commits
  7. 05 May, 2011 2 commits
  8. 06 Apr, 2011 2 commits
  9. 22 Mar, 2011 7 commits
  10. 16 Mar, 2011 2 commits
  11. 14 Mar, 2011 1 commit
  12. 07 Mar, 2011 2 commits
  13. 26 Feb, 2011 2 commits
  14. 19 Feb, 2011 1 commit
  15. 17 Feb, 2011 1 commit
  16. 14 Feb, 2011 1 commit
  17. 06 Feb, 2011 2 commits
  18. 02 Feb, 2011 1 commit
  19. 01 Feb, 2011 5 commits
  20. 27 Jan, 2011 2 commits
    • Fix paths in the lxc-busybox template · b09ecaf3
      Daniel Lezcano authored
      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: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
    • export env variable in lxc_start · 3244e750
      Daniel Lezcano authored
      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: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>