[lxc-devel] [lxc/lxc] e8d07e: shut up freezer_state

GitHub noreply at github.com
Thu Jan 16 14:51:03 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: e8d07ef2058baa04f42561533e121bf37c886e29
      https://github.com/lxc/lxc/commit/e8d07ef2058baa04f42561533e121bf37c886e29
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-16 (Thu, 16 Jan 2014)

  Changed paths:
    M src/lxc/cgroup.c

  Log Message:
  -----------
  shut up freezer_state

Not being able to get freezer state is perfectly valid - if the
container does not exist.  The old version of freezer_state
only reported an error on actually reading the cgroup file,
but not on not finding a cgroup file.  Leave it to the caller
to report the error if it is important, since we don't actually
know any useful info here anyway.

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


  Commit: 5e32a9901dfa74a27aaa21921e7378fd732c0757
      https://github.com/lxc/lxc/commit/5e32a9901dfa74a27aaa21921e7378fd732c0757
  Author: S.Çağlar Onur <caglar at 10ur.org>
  Date:   2014-01-16 (Thu, 16 Jan 2014)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  skip rootfs pinning for unprivileged containers

This is perfectly safe since you cannot unmount the host fs from
a child userns.

Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/387993549317...5e32a9901dfa


More information about the lxc-devel mailing list