← Back to team overview

kernel-packages team mailing list archive

[Bug 1357025] [NEW] unprivileged overlayfs mounts no longer work in utopic

 

Public bug reported:

In 3.13.0-33-generic, root in a non-init user namespace can do overlayfs
mounts.  In 3.16.0-5-generic he cannot.

Test case:

sudo apt-get install lxc
lxc-usernsexec  -- /bin/bash    # start a containerized root shell
#  mkdir /tmp/a /tmp/b /tmp/c
# mount -t overlayfs -o upperdir=/tmp/a,lowerdir=/tmp/b x /tmp/c

This works in trusty, but not in latest utopic.

(A testcase for this will be added to the lxc-tests package, but isn't
there yet)

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1357025

Title:
  unprivileged overlayfs mounts no longer work in utopic

Status in “linux” package in Ubuntu:
  New

Bug description:
  In 3.13.0-33-generic, root in a non-init user namespace can do
  overlayfs mounts.  In 3.16.0-5-generic he cannot.

  Test case:

  sudo apt-get install lxc
  lxc-usernsexec  -- /bin/bash    # start a containerized root shell
  #  mkdir /tmp/a /tmp/b /tmp/c
  # mount -t overlayfs -o upperdir=/tmp/a,lowerdir=/tmp/b x /tmp/c

  This works in trusty, but not in latest utopic.

  (A testcase for this will be added to the lxc-tests package, but isn't
  there yet)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1357025/+subscriptions


Follow ups

References