[lxc-devel] [lxc/lxc] 3d8869: dir_detect: warn on eperm

GitHub noreply at github.com
Thu Dec 14 20:07:23 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 3d8869c36987fe79bad34dbb934b58b63754952d
      https://github.com/lxc/lxc/commit/3d8869c36987fe79bad34dbb934b58b63754952d
  Author: Serge Hallyn <shallyn at cisco.com>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M src/lxc/storage/dir.c

  Log Message:
  -----------
  dir_detect: warn on eperm

if user has lxc.rootfs.path = /some/path/foo, but can't access
some piece of that path, then we'll get an unhelpful "failed to
mount" without any indication of the problem.

At least show that there is a permission problem.

Signed-off-by: Serge Hallyn <shallyn at cisco.com>


  Commit: 2e3890af0fed18a53d3e255b37b690755bd887a8
      https://github.com/lxc/lxc/commit/2e3890af0fed18a53d3e255b37b690755bd887a8
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M src/lxc/storage/dir.c

  Log Message:
  -----------
  Merge pull request #2037 from hallyn/2017-12-14/dir_detect_eperm

dir_detect: warn on eperm


Compare: https://github.com/lxc/lxc/compare/124015286692...2e3890af0fed


More information about the lxc-devel mailing list