Closed mariovor closed 2 years ago
Hi @mariovor,
Thanks for trying Sysbox and for filing this issue.
The problem you found is fixed in the upstream code and will be in the upcoming v0.5.0 release (this week). It was a bug in the way Sysbox dealt with the listxattr() syscalls inside the container (particularly when that syscall was given a path with a symbolic link).
If you want to get the fix right away, you can try building Sysbox from source, though I suggest you wait since the v0.5.0 release is imminent.
Closing since fix is committed upstream; will be present in the v0.5.0. release.
Happy to confirm that v0.5.0. fixed the issue for me.
Machine: EC2 machine on AWS OS: Ubuntu 20.04, Kernel: 5.13.0-1017-aws Sysbox: 0.4.1 ShiftFs: No
To reproduce:
Launch the "getting started example":
docker run --runtime=sysbox-runc -it --rm -P --hostname=syscont nestybox/ubuntu-bionic-systemd-docker:latest
-> LoginStart inside the container an nginx (I noticed the problem with nginx).
docker run -v test_vol:/etc/nginx -d --name test nginx
The container creation fails with
docker: Error response from daemon: failed to copy xattrs: failed to list xattrs on /var/lib/docker/overlay2/30876adcd99009c406b53489b42f014aeef39568c3844414c2eb04a18d52e356/merged/etc/nginx/modules: no such file or directory.
The folder
/etc/nginx
in the container is a symbolic link, see the result of a nginx container running outside of a conatainer:Let me know how to provide more useful information to you!
Debug info: