Subject: Issue with OverlayFS in 3.18
From: Oliver Welter <mail@oliwel.de>
Date: Sun, 01 Feb 2015 15:28:22 +0100
Sun, 01 Feb 2015 15:28:22 +0100
Hi Bertl,

I found an issue with the new patch in conjunction with overlayfs.
Script to reproduce:

* put rootfs to /vservers/ rootfs/test
* create a test file touch /root/test
* mkdir -p /vservers/ overlays/test/{work,data}
* assemble vserver root using overlayfs (options need to be one line
without spaces): mount -t overlay overlay
-olowerdir=/vservers/ rootfs/test,upperdir=/vservers/ overlays/test/data,workdir=/vservers/
overlays/test/work
/vservers/test

* start vserver
* enter vserver:
* remove test file: rm /root/test
* reuse name to create a dir: mkdir /root/test
-> Result is: Opertion not permitted.

Trying the same without starting the vserver, using a simple "chroot"
works, so it looks like some limits are not working correctly.

If it helps, I can provide ssh access to a working test setup.

Oli

-- 
Protect your environment -  close windows and adopt a penguin!



["application/pkcs7-signature" not shown]