Closed ltalirz closed 1 year ago
This is most likely due to fuse-overlayfs
, you can try several versions of it see if the issue goes away.
Also make sure it works if you create a container first
Thanks a lot for the hint!
Indeed, a drop-in replacement of the fuse-overlayfs
binary version 0.7.2 with version 1.10 fixed this issue.
Original version on CentOS 7.9
$ fuse-overlayfs --version
fuse-overlayfs: version 0.7.2
FUSE library version 3.6.1
using FUSE kernel interface version 7.29
New version
$ fuse-overlayfs --version
fuse-overlayfs: version 1.10
FUSE library version 3.10.5
using FUSE kernel interface version 7.31
@3XX0 after fixing this issue, I ran into other issues (depending on the image, enroot start
hanging, other no data
errors, ...)
Do I understand that these problem are actually with the Linux kernel version from above
Linux version 3.10.0-1160.53.1.el7.x86_64
that does not support enroot start
for unprivileged users? (for root, enroot start
works fine)
Would it make sense to add a check to the enroot-check.run
script that checks the kernel version and warns users about the fact that enroot start
will not work for unprivileged users?
While the requirement is mentioned here it is not mentioned in the requirements - would probably be useful to add a sentence
Linux Kernel >= 4.18 for
enroot start
in user space
there
This is with enroot 3.4.0 on CentOS 7.9, with the required kernel parameters applied
glibc is version 2.17 so I assume the "KO" fields are not an issue
The following works fine
But starting the container directly from the sqsh file fails:
I am using a completely empty
/etc/enroot/enroot.conf
file There is enough free disk space, and it happens independent of permissions (same forroot
user).strace
in theenroot-mount
commands shows