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!