[lxc-devel] [lxc/lxc] 732520: lxc-test-{unpriv, usernic.in}: make sure to chgrp a...

GitHub noreply at github.com
Fri Jul 18 11:53:50 UTC 2014


  Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: 73252073000687cb0282619cc9449afd94f51496
      https://github.com/lxc/lxc/commit/73252073000687cb0282619cc9449afd94f51496
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-07-18 (Fri, 18 Jul 2014)

  Changed paths:
    M src/tests/lxc-test-unpriv
    M src/tests/lxc-test-usernic.in

  Log Message:
  -----------
  lxc-test-{unpriv,usernic.in}: make sure to chgrp as well

These tests are failing on new kernels because the container root is
not privileged over the directories, since privilege no requires
the group being mapped into the container.

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


  Commit: 1e5be811b48bb6ccc10cb96f0bcd614ef655cd2d
      https://github.com/lxc/lxc/commit/1e5be811b48bb6ccc10cb96f0bcd614ef655cd2d
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-07-18 (Fri, 18 Jul 2014)

  Changed paths:
    M config/templates/ubuntu.common.conf.in

  Log Message:
  -----------
  Remove mention of mountcgroups in ubuntu.common config

That mount hook predates the lxc.mount.auto = cgroup option.  So mention
that instead.

Perhaps we should simply drop the mountcgroup hook from the tree, but
I'm not doing that in this patch.

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


  Commit: d21bbd9070775d524922cf0c9fe03e45980276ea
      https://github.com/lxc/lxc/commit/d21bbd9070775d524922cf0c9fe03e45980276ea
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-07-18 (Fri, 18 Jul 2014)

  Changed paths:
    M hooks/Makefile.am
    R hooks/mountcgroups
    M templates/lxc-cirros.in

  Log Message:
  -----------
  remove mountcgroup hook entirely

Also fix the comment in lxc-cirros template (which I overlooked last time).

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


Compare: https://github.com/lxc/lxc/compare/366360e253d9...d21bbd907077


More information about the lxc-devel mailing list