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

alpine3.14 test -r 有问题 #31

Open
llhuii opened this issue Mar 6, 2024 · 0 comments
Open

alpine3.14 test -r 有问题 #31

llhuii opened this issue Mar 6, 2024 · 0 comments

Comments

@llhuii
Copy link
Owner

llhuii commented Mar 6, 2024

alpinelinux/docker-alpine#156

alpine(3.14+)bash都有问题

This is related to faccessat2 syscall has been enabled in musl in alpine starting 3.14. Due to a bug in runc it fails if your kernel do not support faccessat2.
Short answer update runc to >= 1.0.0-rc93 or update kernel to 5.8 (upgrading kernel should work but i haven't tested it)
Detail in release note
https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2
Bug in runc (fixed in 1.0.0-rc93 )
opencontainers/runc#2151

下载得以解决:https://download.docker.com/linux/static/stable/x86_64/docker-20.10.5.tgz

curl -fSL  https://tools.oss-cn-hangzhou.aliyuncs.com/tools/runc_linux_amd64_1.0.0-rc93 -o docker-runc && chmod +x ./docker-runc  && mv --suffix=.old -f ./docker-runc /bin/docker-runc
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

1 participant