[lxc-devel] [lxc/lxc] ea0da5: don't fail lxc-init if we couldn't mount proc

GitHub noreply at github.com
Fri Nov 22 21:53:20 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: ea0da529721d9d2b13d3807746130d66730b0eab
      https://github.com/lxc/lxc/commit/ea0da529721d9d2b13d3807746130d66730b0eab
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-11-22 (Fri, 22 Nov 2013)

  Changed paths:
    M src/lxc/lxc_init.c
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  don't fail lxc-init if we couldn't mount proc

In general proc gets mounted ahead of time, so init shouldn't
have to do it.  Without this patch, you cannot

	lxc-execute -n x1 -s lxc.cap.drop=sys_admin /bin/bash

(See https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1253669 for
a bug about this)

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





More information about the lxc-devel mailing list