1. 24 Jul, 2009 6 commits
  2. 22 Jul, 2009 3 commits
  3. 20 Jul, 2009 2 commits
    • isolate the shmfs for the container · 958f5c9e
      Daniel Lezcano authored
      The /dev/shm is not isolated for application container, so mount it in
      the container.
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
    • fix closed fd when they are inherited · af795875
      Daniel Lezcano authored
      This patch fix a problem with the commit d983b93c
      When the lxc daemonize, it closes fd 0, 1 and 2. But these ones are coming from
      inherited fd and they are already in the inherited list of fd. When lxc creates
      some file descriptors, they have the number of the previous inherited file
      descriptor, so they are closed when we close all the inherited file descriptors.
      
      In order to fix that, the lxc_close_inherited_fd function has been implemented
      to close an inherited fd and remove it from the list.
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
  4. 16 Jul, 2009 3 commits
  5. 15 Jul, 2009 4 commits
  6. 13 Jul, 2009 2 commits
  7. 10 Jul, 2009 3 commits
    • create the lxc directory with lxc-setcap · 74741dcc
      Daniel Lezcano authored
      There are several cases:
       * we run the lxc-create as root, the @path@/var/lib/lxc will be created
       * we run the lxc-create as non-root, the creation of the directory will
         fail with "permission denied", so we should call lxc-setcap before
       * we run lxc-setcap (always as root), we create the directory and set
         the permission for everyone.
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
    • don't create the lxc directory at rpm installation · 92fc52d3
      Daniel Lezcano authored
      Don't create the directory when we install the lxc package.
      This is handled by lxc-create.
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
    • Remove install-exec-local rule · 3e3bf8ae
      Ryousei Takano authored
      Hi Daniel and all,
      
      I am trying to run LXC on the CentOS 5.3 and the Linux kernel 2.6.30.
      I found a problem with running the rpmbuild command.  The error message
      is shown below:
      
      $ rpmbuild -bb lxc.spec
      	<snip>
       /usr/bin/install -c 'lxc-setcap' '/var/tmp/lxc-0.6.2-build/usr/bin/lxc-setcap'
       /usr/bin/install -c 'lxc-version' '/var/tmp/lxc-0.6.2-build/usr/bin/lxc-version'
      mkdir: cannot create directory `/var/lib/lxc': Permission denied
      make[3]: *** [install-exec-local] Error 1
      make[3]: Leaving directory `/home/ryousei/rpm/BUILD/lxc-0.6.2/src/lxc'
      make[2]: *** [install-am] Error 2
      make[2]: Leaving directory `/home/ryousei/rpm/BUILD/lxc-0.6.2/src/lxc'
      make[1]: *** [install-recursive] Error 1
      make[1]: Leaving directory `/home/ryousei/rpm/BUILD/lxc-0.6.2/src'
      make: *** [install-recursive] Error 1
      error: Bad exit status from /var/tmp/rpm-tmp.26914 (%install)
      
      RPM build errors:
          Bad exit status from /var/tmp/rpm-tmp.26914 (%install)
      
      This patch removes 'install-exec-local' rule in Makefile.  It is not necessary, 
      and it causes rpmbuild failure on the CentOS 5.3.
      Signed-off-by: 's avatarRyousei Takano <takano-ryousei@aist.go.jp>
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
  8. 07 Jul, 2009 3 commits
  9. 03 Jul, 2009 1 commit
  10. 02 Jul, 2009 6 commits
  11. 01 Jul, 2009 2 commits
  12. 25 Jun, 2009 5 commits