Activity log for bug #1480411

Date Who What changed Old value New value Message
2015-07-31 17:35:42 oleg bug added bug
2015-07-31 17:35:42 oleg attachment added script to reproduce the bug https://bugs.launchpad.net/bugs/1480411/+attachment/4437088/+files/overlayfs-bug.sh
2015-07-31 17:41:13 Andy Whitcroft linux (Ubuntu): status New Triaged
2015-07-31 17:41:17 Andy Whitcroft linux (Ubuntu): importance Undecided Medium
2015-07-31 17:41:21 Andy Whitcroft linux (Ubuntu): assignee Andy Whitcroft (apw)
2015-07-31 17:41:24 Andy Whitcroft linux (Ubuntu): milestone ubuntu-15.08
2015-08-02 17:03:46 oleg description rm -r * fails to delete directories when using overlayfs in a user-namespace. If overlayfs is mounted as follows, mount -n -t overlay overlay -o lowerdir=lowerdir,upperdir=upperdir,workdir=workdir mntpt and if lowerdir contains lowerdir/foo/bar.txt, then, rm -r mntpt/foo fails with error message, "rm: cannot remove ‘mntpt/foo’: Operation not permitted" strace shows, unlinkat(AT_FDCWD, "mntpt/foo", AT_REMOVEDIR) = -1 EPERM (Operation not permitted) OS details: 64-bit ubuntu 14.04.2 with the linux-generic-lts-vivid kernel. The bug does not occur with the default 3.13 kernel. The bug occurs for any vanilla 3.18+ kernel to which the 1-line patch, "overlayfs: allow unprivileged mounts" is added. (The patch is at, http://kernel.ubuntu.com/git/ubuntu/ubuntu-vivid.git/commit/?id=78ec45495b15d27d4cc6d05cc454e30ec5b587ea) The bug occurs regardless of whether the underlying filesystem is tmpfs or ext4. A script which reproduces the bug is attached and is also available at http://paste.ubuntu.com/11974137/ Hardware: intel core2 duo processor in a macbook-4.1 rm -r * fails to delete directories when using overlayfs in a user-namespace. If overlayfs is mounted as follows,    mount -n -t overlay overlay -o lowerdir=lowerdir,upperdir=upperdir,workdir=workdir mntpt and if lowerdir contains lowerdir/foo/bar.txt, then,    rm -r mntpt/foo fails with error message,    "rm: cannot remove ‘mntpt/foo’: Operation not permitted" strace shows,     unlinkat(AT_FDCWD, "mntpt/foo", AT_REMOVEDIR) = -1 EPERM (Operation not permitted) OS details: 64-bit ubuntu 14.04.2 with the linux-generic-lts-vivid kernel. The bug does not occur with the default 3.13 kernel. The bug occurs for any vanilla 3.18+ kernel to which the 1-line patch, "overlayfs: allow unprivileged mounts" is added. (The patch is at, http://kernel.ubuntu.com/git/ubuntu/ubuntu-vivid.git/commit/?id=78ec45495b15d27d4cc6d05cc454e30ec5b587ea) The bug occurs regardless of whether the underlying filesystem is tmpfs or ext4. The bug also occurs when running ubuntu 15.04 (ubuntu vivid) in a virtual machine (qemu-kvm). The host is ubuntu 14.04 with the linux-generic-lts-vivid kernel. A script which reproduces the bug is attached and is also available at http://paste.ubuntu.com/11974137/ Hardware: intel core2 duo processor in a macbook-4.1
2015-08-02 17:05:41 oleg tags overlayfs bot-stop-nagging overlayfs
2015-08-03 06:36:29 oleg description rm -r * fails to delete directories when using overlayfs in a user-namespace. If overlayfs is mounted as follows,    mount -n -t overlay overlay -o lowerdir=lowerdir,upperdir=upperdir,workdir=workdir mntpt and if lowerdir contains lowerdir/foo/bar.txt, then,    rm -r mntpt/foo fails with error message,    "rm: cannot remove ‘mntpt/foo’: Operation not permitted" strace shows,     unlinkat(AT_FDCWD, "mntpt/foo", AT_REMOVEDIR) = -1 EPERM (Operation not permitted) OS details: 64-bit ubuntu 14.04.2 with the linux-generic-lts-vivid kernel. The bug does not occur with the default 3.13 kernel. The bug occurs for any vanilla 3.18+ kernel to which the 1-line patch, "overlayfs: allow unprivileged mounts" is added. (The patch is at, http://kernel.ubuntu.com/git/ubuntu/ubuntu-vivid.git/commit/?id=78ec45495b15d27d4cc6d05cc454e30ec5b587ea) The bug occurs regardless of whether the underlying filesystem is tmpfs or ext4. The bug also occurs when running ubuntu 15.04 (ubuntu vivid) in a virtual machine (qemu-kvm). The host is ubuntu 14.04 with the linux-generic-lts-vivid kernel. A script which reproduces the bug is attached and is also available at http://paste.ubuntu.com/11974137/ Hardware: intel core2 duo processor in a macbook-4.1 rm -r * fails to delete directories when using overlayfs in a user-namespace. If overlayfs is mounted as follows,    mount -n -t overlay overlay -o lowerdir=lowerdir,upperdir=upperdir,workdir=workdir mntpt and if lowerdir contains lowerdir/foo/bar.txt, then,    rm -r mntpt/foo fails with error message,    "rm: cannot remove ‘mntpt/foo’: Operation not permitted" strace shows,     unlinkat(AT_FDCWD, "mntpt/foo", AT_REMOVEDIR) = -1 EPERM (Operation not permitted) OS details: 64-bit ubuntu 14.04.2 with the linux-generic-lts-vivid kernel (3.19). The bug does not occur on ubuntu 14.04.2 with the default linux-generic 3.13 kernel. The bug occurs for any vanilla 3.18+ kernel to which the 1-line patch, "overlayfs: allow unprivileged mounts" is added. (The patch is at, http://kernel.ubuntu.com/git/ubuntu/ubuntu-vivid.git/commit/?id=78ec45495b15d27d4cc6d05cc454e30ec5b587ea) The bug occurs regardless of whether the filesystem underlying overlayfs is tmpfs or ext4. The bug also occurs when running ubuntu 15.04 (ubuntu vivid) in a virtual machine (qemu-system-x86_64). The host is ubuntu 14.04.2 with the default 3.13 kernel. A script which reproduces the bug is attached and is also available at http://paste.ubuntu.com/11974137/ Hardware: intel core2 duo processor in a macbook-4.1
2015-08-18 11:41:09 oleg bug task added lxc (Ubuntu)
2015-08-18 15:12:40 Launchpad Janitor lxc (Ubuntu): status New Confirmed
2015-08-18 15:41:20 Serge Hallyn lxc (Ubuntu): status Confirmed Invalid
2015-08-18 15:41:25 Serge Hallyn linux (Ubuntu): status Triaged Invalid
2015-08-18 18:40:17 Serge Hallyn lxc (Ubuntu): status Invalid New
2015-08-18 18:40:21 Serge Hallyn linux (Ubuntu): status Invalid New
2015-08-18 18:42:03 Serge Hallyn linux (Ubuntu): status New Confirmed
2015-08-18 18:42:08 Serge Hallyn lxc (Ubuntu): status New Confirmed
2015-08-18 18:42:10 Serge Hallyn lxc (Ubuntu): importance Undecided Medium
2015-08-18 18:42:15 Serge Hallyn lxc (Ubuntu): importance Medium High
2015-09-01 08:45:49 Andy Whitcroft linux (Ubuntu): milestone ubuntu-15.08 ubuntu-15.09
2015-10-04 11:58:49 Andy Whitcroft linux (Ubuntu): milestone ubuntu-15.09 ubuntu-15.10
2015-10-14 23:07:57 Nelson Lago bug added subscriber Nelson Lago
2015-10-24 04:17:57 Adrian Guenter bug added subscriber Adrian Guenter
2015-11-04 04:42:26 Andy Whitcroft linux (Ubuntu): milestone ubuntu-15.10 ubuntu-15.11
2015-11-09 18:32:06 Stéphane Graber bug task deleted lxc (Ubuntu)
2015-11-10 12:36:20 oleg bug task added lxc (Ubuntu)
2015-11-10 12:36:31 oleg lxc (Ubuntu): status New Confirmed
2015-11-10 17:19:29 oleg bug task deleted lxc (Ubuntu)
2015-12-07 20:30:08 Andy Whitcroft linux (Ubuntu): milestone ubuntu-15.11 ubuntu-15.12
2016-01-19 10:30:27 Andy Whitcroft linux (Ubuntu): milestone ubuntu-15.12 ubuntu-16.01
2016-02-01 12:34:22 Andy Whitcroft linux (Ubuntu): milestone ubuntu-16.01 ubuntu-16.02
2016-02-24 03:50:40 oleg marked as duplicate 1531747