1. 27 Mar, 2014 1 commit
  2. 26 Mar, 2014 1 commit
  3. 25 Mar, 2014 1 commit
  4. 24 Mar, 2014 4 commits
  5. 23 Mar, 2014 4 commits
  6. 21 Mar, 2014 6 commits
  7. 13 Mar, 2014 9 commits
  8. 11 Mar, 2014 4 commits
  9. 10 Mar, 2014 5 commits
  10. 08 Mar, 2014 3 commits
  11. 07 Mar, 2014 2 commits
    • fix fd leak in test-concurrent · 36eaa694
      Dwight Engen authored
      Opening a debug log for every thread at every iteration of test-concurrent
      causes it to quickly run out of fd's because this fd is leaked. Fix this
      by adding a new api: lxc_log_close().
      
      As Caglar noted, the log handling is in general a bit "interesting" because
      a logfile can be opened through the per-container api
      c->set_config_item("lxc.logfile") but lxc_log_fd is now per-thread data. It
      just so happens in test-concurrent that there is a 1:1 mapping of threads
      to logfiles.
      
      Split out getting debug logs from quiet since I think they are useful
      separately. If debug is specified, get a log of any mode, not just during
      start.
      Signed-off-by: 's avatarDwight Engen <dwight.engen@oracle.com>
      Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
    • lxc-create: Require --template be passed · d3de16bb
      Stéphane Graber authored
      It's often been reported that the behavior of lxc-create without -t is a
      bit confusing. This change makes lxc-create require the --template
      option and introduces a new "none" special value which when set will
      fallback to the old template-less behavior.
      Signed-off-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
      Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>