1. 14 Nov, 2008 1 commit
  2. 13 Nov, 2008 3 commits
    • Add setpcap capabilty to be able to drop the sys_boot capabilty. · 0780e343
      dlezcano authored
      From: Daniel Lezcano <dlezcano@fr.ibm.com>
      
      Previously, we dropped the CAP_SYS_BOOT capabilty. Unfortunatly if we are
      non root user, we are not able to do that. So I had the CAP_SETPCAP to
      lxc-execute and lxc-start command line to remove this capabilty.
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
    • Fix function prototype · 06526975
      dlezcano authored
      From: Daniel Lezcano <dlezcano@fr.ibm.com>
      
      The lxc_start function prototype has been changed.
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
    • Replace lxc_execute by an intermediate lxc_init · 05f05512
      dlezcano authored
      From: Daniel Lezcano <dlezcano@fr.ibm.com>
      
      The main difference between lxc_start and lxc_execute is the latter creates
      an intermediate process to wait for all the childs. That allows to support
      daemons or orphan process group for the pid namespace.
      
      Having such difference makes the code to be duplicate between the two
      functions. So instead of doing this, I create an intermediate <init> program
      which is in charge to launch the specified command. This command is the
      lxc-init program taking different options:
       --mount-procfs : mount the proc filesystem before exec'ing the command
       --mount-sysfs : mount the sys filesystem before exec'ing the command
      
      A double dash indicates the end of the options of lxc-init and the beginning
      of the command to be launched.
      
      To summarize:
       * lxc_execute function is no more.
       * lxc-execute command uses the lxc_start function and launch the specified
      command via lxc-init
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
  3. 05 Nov, 2008 2 commits
  4. 04 Nov, 2008 3 commits
  5. 28 Oct, 2008 3 commits
  6. 26 Oct, 2008 1 commit
  7. 24 Oct, 2008 7 commits
  8. 23 Oct, 2008 2 commits
  9. 20 Oct, 2008 1 commit
    • This new command is a helper to check if the needed functionalities are · 22e761af
      dlezcano authored
      compiled the kernel. It relies on /proc/config.gz, if it is not compiled,
      the command will simply fail.
      If a feature is missing but not mandatory, "disabled" keyword will appear
      in yellow, if it is mandatory, it will appear in "red", otherwise the key
      word "enabled" will appear in green.
  10. 18 Oct, 2008 1 commit
    • These modifications improve the monitoring support of the container. Now · 80f41298
      dlezcano authored
      several readers can attend the events from one or several containers.
      The syntax of the command has been enhanced to interpret regular expressions.
      If you want to monitor foo, lxc-monitor -n foo is the right command. If you
      want to monitor foo and bar, you should specify lxc-monitor -n "foo|bar",
      if you want to monitor all containers with the name beginning with 'foo',
      you have to specify lxc-monitor -n "foo.*". More complex regexp can be specified
      in accordance with the POSIX definitions, man regex (7).
  11. 15 Oct, 2008 1 commit
  12. 09 Oct, 2008 2 commits
  13. 08 Oct, 2008 4 commits
  14. 07 Oct, 2008 3 commits
  15. 06 Oct, 2008 3 commits
  16. 04 Oct, 2008 2 commits
  17. 25 Sep, 2008 1 commit