1. 13 Sep, 2011 1 commit
    • fixes for rpmbuild · 1c41ddcb
      Greg Kurz authored
      This patch fixes some makefile/specfile issues when running
      rpmbuild with the distributed lxc specfile:
      
      - fixes usage of installation directories for config files,
        rootfs, templates and lxc-init so that they're calculated
        at make time instead of configure time. Thanks to this,
        all installed items go under $RPM_BUILD_ROOT when running
        rpmbuild
      - introduce --disable-rpath option to configure to avoid
        check-rpaths errors when building non-root.
      - introduce a lxc-libs package in the default spec file
        to allow concurrent installation of 32 bit and 64 bit
        libraries.
      
      v2: - fix circular reference in lxc.pc
          - ship lxc.pc with lxc-devel
      Signed-off-by: 's avatarGreg Kurz <gkurz@fr.ibm.com>
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
  2. 01 Sep, 2011 1 commit
  3. 30 Aug, 2011 10 commits
  4. 12 Aug, 2011 1 commit
  5. 11 Aug, 2011 9 commits
  6. 09 Aug, 2011 6 commits
  7. 07 Aug, 2011 2 commits
  8. 27 Jul, 2011 1 commit
  9. 24 Jul, 2011 4 commits
  10. 03 Jul, 2011 2 commits
    • cgroups: support cgroups mounted in multiple places (v3) · bcbd102c
      Serge E. Hallyn authored
      (sorry for the extra traffic.)
      
      With this patch, lxc works for me both with all cgroups mounted with
      ns cgroup on /cgroup, and with libcgroup mounting all cgroups
      separately.
      
      To do this, instead of looking for one cgroup called 'lxc' or
      otherwise taking the first cgroup we find, we actually create a
      container in every mounted cgroup fs.  Right now it's done under the
      root of each fs.  We may want to put that under lxc, or, better yet,
      make that configurable.
      
      Changelog:
        Michael H. Warfield: Handle the case where subsystem doesn't have '.'.
        Daniel Lezcano: clean up incorrect reentrant use of mntent helpers
        v3: use the rest of Daniel's cleanups
      
      TODO: add a configurable directory name, 'lxc' by default, under which
            all lxc cgroups are created (i.e. /sys/fs/cgroup/lxc)
      Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
      Tested-by: 's avatarMichael H. Warfield <mhw@WittsEnd.com>
    • templates: add openSUSE template. · c840b37d
      Frederic Crozat authored
      The good news is, starting with next openSUSE release (and next SLES 11
      Service Pack), patching /etc/init.d/boot won't be needed anymore for
      LXC, we integrated detection of LXC (through container variable set to
      lxc) in /etc/init.d/boot and /dev is no longer mounted automatically by
      initscript.
      Signed-off-by: 's avatarFrederic Crozat <fcrozat@suse.com>
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
  11. 25 Jun, 2011 3 commits