[cgmanager-devel] [cgmanager/cgmanager] f39bc2: Implement getpidcgroupabs

GitHub noreply at github.com
Thu May 1 14:53:30 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/cgmanager/cgmanager
  Commit: f39bc253dd0f536543fdac99cf63424389cbb1d0
      https://github.com/cgmanager/cgmanager/commit/f39bc253dd0f536543fdac99cf63424389cbb1d0
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-04-30 (Wed, 30 Apr 2014)

  Changed paths:
    M cgm
    M cgmanager-proxy.c
    M cgmanager.c
    M frontend.c
    M frontend.h
    M org.linuxcontainers.cgmanager.xml
    A tests/test22.sh

  Log Message:
  -----------
  Implement getpidcgroupabs

This returns the cgroup path of another task relative to the
cgproxy if used, or else the full path as seen by the cgmanager.

This path can then be fed to movepidabs.  This can be used by
lxc-attach to re-attach to a container's cgroup even if the
user's new login shell is in a different cgroup session than
that under which the container was started.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: e2a77d9ebbc6d87d3d45d9f6b68df2f9b897680d
      https://github.com/cgmanager/cgmanager/commit/e2a77d9ebbc6d87d3d45d9f6b68df2f9b897680d
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-04-30 (Wed, 30 Apr 2014)

  Changed paths:
    M Makefile.am
    M cgmanager-proxy.c
    M cgmanager.c
    M frontend.c
    M frontend.h
    R tests/test-timeout.c

  Log Message:
  -----------
  Undo the connection timeouts

They are wreak havoc on container proxies.

However do keep the increased nfiles rlimit (which came in with that
same commit).

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/cgmanager/cgmanager/compare/c26f02a3626a...e2a77d9ebbc6


More information about the cgmanager-devel mailing list