1. 26 May, 2011 2 commits
  2. 23 May, 2011 2 commits
  3. 20 May, 2011 1 commit
  4. 13 May, 2011 1 commit
  5. 06 May, 2011 2 commits
  6. 05 May, 2011 2 commits
  7. 06 Apr, 2011 2 commits
  8. 22 Mar, 2011 7 commits
  9. 16 Mar, 2011 2 commits
  10. 14 Mar, 2011 1 commit
  11. 07 Mar, 2011 2 commits
  12. 26 Feb, 2011 2 commits
  13. 19 Feb, 2011 1 commit
  14. 17 Feb, 2011 1 commit
  15. 14 Feb, 2011 1 commit
  16. 06 Feb, 2011 2 commits
  17. 02 Feb, 2011 1 commit
  18. 01 Feb, 2011 5 commits
  19. 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>
  20. 23 Jan, 2011 1 commit
    • suppress udev log output · 434d90db
      Daniel Lezcano authored
      We use udev within these containers and we prevent the /dev files
      to be created with the cgroup whitelist. So when the udevd receives
      the event from the kernel, it will fail to create some nodes in /dev
      and will spit error on the console.
      
      We set the log level to zero, so udev will silently fail.
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>