1. 25 Jun, 2011 1 commit
  2. 02 Jun, 2011 1 commit
  3. 27 May, 2011 1 commit
  4. 20 May, 2011 2 commits
  5. 06 May, 2011 3 commits
  6. 06 Apr, 2011 2 commits
  7. 16 Mar, 2011 2 commits
  8. 14 Mar, 2011 1 commit
  9. 07 Mar, 2011 3 commits
  10. 26 Feb, 2011 2 commits
  11. 19 Feb, 2011 1 commit
  12. 17 Feb, 2011 1 commit
  13. 14 Feb, 2011 1 commit
  14. 06 Feb, 2011 2 commits
  15. 02 Feb, 2011 1 commit
  16. 01 Feb, 2011 5 commits
  17. 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>
  18. 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>
  19. 22 Jan, 2011 1 commit
    • Update ubuntu templates · 27b39fd4
      Serge Hallyn authored
      Rename 'ubuntu' template to 'lucid'
      
      Add new maverick and natty templates, which do much less tweaking
      of the environment.  These should only be used on a kernel which
      supports sysfs tagging for /sys/class/net, as udev will be running
      in the container.
      
      The natty template needed to slightly change the installed packages
      for dhclient to be correclty installed.
      Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@canonical.com>
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
  20. 18 Jan, 2011 1 commit
  21. 17 Jan, 2011 2 commits
  22. 16 Jan, 2011 1 commit
    • Fix mntflags initialization · 91656ce5
      Joerg Gollnick authored
      Dear all,
      while setting up a container on x86_64 (archlinux host/guest) I had trouble 
      with mounting dev/pts and others from container.fstab and a ssh login does not 
      work (only ssh container bash -i gives you a shell)
      The cause is that conf.c does not initialize mntflags.
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
  23. 14 Jan, 2011 1 commit
  24. 13 Jan, 2011 2 commits