Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error : value too large for defined data type caused #654

Closed
Vaunorage opened this issue Mar 12, 2023 · 3 comments
Closed

Error : value too large for defined data type caused #654

Vaunorage opened this issue Mar 12, 2023 · 3 comments

Comments

@Vaunorage
Copy link

I followed the tutorial for installing sysbox, but when I got to this line :

docker run --runtime=sysbox-runc -P -d nestybox/ubuntu-bionic-systemd-docker
I got his error :

docker: Error response from daemon: failed to create shim task: OCI runtime create failed: container_linux.go:425: starting container process caused: process_linux.go:607: container init caused: process_linux.go:578: handleReqOp caused: rootfs_init_linux.go:366: failed to mkdirall /var/lib/sysbox/shiftfs/bec40c1d-957b-43af-99ee-67680a8689ed/var/lib/rancher/rke2: mkdir /var/lib/sysbox/shiftfs/bec40c1d-957b-43af-99ee-67680a8689ed/var/lib/rancher: value too large for defined data type caused: mkdir /var/lib/sysbox/shiftfs/bec40c1d-957b-43af-99ee-67680a8689ed/var/lib/rancher: value too large for defined data type: unknown.

I am running Mint version 21.1 and Docker version 20.10.21, build 20.10.21-0ubuntu1~22.04.2.

My linux kernel is : 5.15.0-67-generic
My shiftfs : 5.15.0-67-generic SMP mod_unload modversions

Do you have any idea why this is happening ?

@Vaunorage
Copy link
Author

There seems to be a problem with kernel 5.15 for shiftfs as described here :

https://stackoverflow.com/questions/75343570/sysbox-runc-is-not-working-as-runtime-for-docker-in-ubuntu

Trying to upgrade to newer verison of shiftfs

@Vaunorage
Copy link
Author

Solution : disable shifts thanks to #596 (comment)
sudo mkdir -p /etc/systemd/system/sysbox-mgr.service.d && printf '%s\n' '[Service]' 'ExecStart=' 'ExecStart=/usr/bin/sysbox-mgr --disable-shiftfs' | sudo tee /etc/systemd/system/sysbox-mgr.service.d/override.conf && sudo systemctl daemon-reload && sudo systemctl restart sysbox

@ctalledo
Copy link
Member

Hi @Vaunorage, thanks for trying Sysbox and sorry you hit this issue with shiftfs, but glad you were able to find the work-around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants