[lxc-devel] [lxc/lxc] fd5271: cgmanager: slow down there (don't always grab abs ...

GitHub noreply at github.com
Tue May 20 21:09:36 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: fd527175ad02cef8a33999865392f30e69c70dfa
      https://github.com/lxc/lxc/commit/fd527175ad02cef8a33999865392f30e69c70dfa
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-05-20 (Tue, 20 May 2014)

  Changed paths:
    M src/lxc/cgmanager.c

  Log Message:
  -----------
  cgmanager: slow down there (don't always grab abs cgroup path)

When I converted attach and enter to using move_pid_abs, these needed
to use the new get_pid_cgroup_abs method to get an absolute path.  But
for some inexplicable reason I also converted the functions which get
and set cgroup properties to use the absolute paths.  These are simply
not compatible with the cgmanager set_value and get_value methods.
This breaks for instance lxc-test-cgpath.

So undo that.  With this patch lxc-test-cgpath, lxc-test-autotest,
and lxc-test-concurrent once again pass in a nested container.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 5b457f7bd845026582979e7a8c52ba6c53bdb4d8
      https://github.com/lxc/lxc/commit/5b457f7bd845026582979e7a8c52ba6c53bdb4d8
  Author: Dwight Engen <dwight.engen at oracle.com>
  Date:   2014-05-20 (Tue, 20 May 2014)

  Changed paths:
    M templates/lxc-oracle.in

  Log Message:
  -----------
  lxc-oracle: fix ssh login under libvirt-lxc

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/fd4d297dd620...5b457f7bd845


More information about the lxc-devel mailing list