[lxc-devel] [PATCHv3 00/14] Assorted fixes against lxc 0.8.0-rc2

Daniel Lezcano daniel.lezcano at free.fr
Thu Mar 22 07:59:22 UTC 2012


On 03/22/2012 12:28 AM, David Ward wrote:
> v3: Rebase onto 0.8.0-rc2; add cgroup fixes to handle ns subsystem;
>      fix terminology in lxc-cgroup
> v2: Add changes to scripts (including new '--active' flag for lxc-ls)
>
> The following patches address a number of different issues I discovered
> while building or using lxc (these are not feature patches). They were
> tested on top of lxc 0.8.0-rc2 under both Fedora 14 and Fedora 16. I am
> submitting them for inclusion in lxc 0.8.0. Please let me know if you
> have any questions or concerns.
>
> David Ward (14):
>    use syscall numbers from Linux kernel headers
>    lxc-attach: use execvp instead of execve
>    utmp: do not set conf->need_utmp_watch if CAP_SYS_BOOT is not found
>    utmp: support non-rootfs configuration
>    cgroup: additional fix for deprecated ns subsystem
>    lxc-cgroup: use correct terminology
>    cgroup: rearrange code blocks
>    lxc-attach: unify code for attaching a pid to a cgroup
>    cgroup: only touch hierarchies that are bound to subsystems
>    refresh lxc-ls
>    refresh lxc-netstat
>    rewrite lxc-ps
>    make help consistent for other scripts
>    lxc-setcap/lxc-setuid: add autoconf expansion for $libexecdir

Thanks David for the patchset. I will look at it today.

   -- Daniel

>
>   config/linux.m4            |   76 ----------
>   configure.ac               |    9 +-
>   doc/lxc-cgroup.sgml.in     |   31 +++--
>   doc/lxc-ls.sgml.in         |   17 ++-
>   src/lxc/Makefile.am        |   11 --
>   src/lxc/attach.c           |  113 +---------------
>   src/lxc/attach.h           |    9 --
>   src/lxc/cgroup.c           |  210 ++++++++++++++++++-----------
>   src/lxc/cgroup.h           |    2 +-
>   src/lxc/lxc-checkconfig.in |   15 +-
>   src/lxc/lxc-clone.in       |   70 +++++-----
>   src/lxc/lxc-create.in      |   96 ++++++-------
>   src/lxc/lxc-destroy.in     |   40 ++++--
>   src/lxc/lxc-ls.in          |  119 ++++++++++++----
>   src/lxc/lxc-netstat.in     |  146 +++++++++++++-------
>   src/lxc/lxc-ps.in          |  329 ++++++++++++++++----------------------------
>   src/lxc/lxc-setcap.in      |   37 ++++--
>   src/lxc/lxc-setuid.in      |   36 ++++--
>   src/lxc/lxc_attach.c       |   10 +-
>   src/lxc/lxc_cgroup.c       |   22 ++--
>   src/lxc/start.c            |    3 +-
>   src/lxc/utmp.c             |    4 -
>   22 files changed, 653 insertions(+), 752 deletions(-)
>   delete mode 100644 config/linux.m4
>   mode change 100755 =>  100644 src/lxc/lxc-checkconfig.in
>   mode change 100755 =>  100644 src/lxc/lxc-ps.in
>





More information about the lxc-devel mailing list