On Sun, Feb 01, 2015 at 03:28:22PM +0100, Oliver Welter wrote:
> 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.
Please try without Linux-VServer isolation but with the same
namespace setup, I don't think that you are hitting a limit
here, it looks more like a namespace problem of overlayfs.
Thanks,
Herbert
> If it helps, I can provide ssh access to a working test setup.
> Oli
> --
> Protect your environment - close windows and adopt a penguin!
Received on Mon Feb 2 00:58:10 2015