[PATCH v3 0/3][Xenial SRU] Fix docker permission issues with the overlay2 storage driver

Seth Forshee seth.forshee at canonical.com
Tue Jan 31 23:00:35 UTC 2017


BugLink: http://bugs.launchpad.net/bugs/1659417

Under some conditions docker users who use the overlay2 storage driver
on xenial are seeing erroneous "permission denied" errors. The upstream
fix has a somewhat complicated history due to the evolution of the vfs
lookup code. This series backports the patch representing the current
state of the code, with some cleanup preceding it to make the backport
simpler.

Thanks,
Seth

Miklos Szeredi (1):
  ovl: check mounter creds on underlying lookup

Seth Forshee (2):
  UBUNTU: SAUCE: overlayfs: Replace ovl_prepare_creds() with
    ovl_override_creds()
  Revert "UBUNTU: SAUCE: cred: Add clone_cred() interface"

 fs/overlayfs/copy_up.c   |  9 +------
 fs/overlayfs/dir.c       | 38 ++++-----------------------
 fs/overlayfs/overlayfs.h |  2 +-
 fs/overlayfs/readdir.c   |  7 +----
 fs/overlayfs/super.c     | 29 +++++++--------------
 include/linux/cred.h     |  1 -
 kernel/cred.c            | 68 ++++++++++++++++--------------------------------
 7 files changed, 40 insertions(+), 114 deletions(-)





More information about the kernel-team mailing list