-
Notifications
You must be signed in to change notification settings - Fork 229
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
Cannot run suid programs #17
Comments
The problem is with the registration strings, it is missing the correct flags ( |
I just opened a PR (#23) which uses the official script to configure binfmt |
I'm getting this today on version 2.12 |
Should this bug be fixed in 2.12? |
I also have this problem. Is there any way we can solve this? |
Appears to be solved with |
@amon-ra Could you solve this issue? are you fine to close this ticket? |
Now better alternative. The binfmt_misc files are updated as
Then run a Debian aarch64 container
Then below commands work in the container. Though I do not know the warning "/bin/ls: /etc/sudoers: Function not implemented".
I close this ticket. But feel free to reopen if you need something. |
for reference: multiarch/qemu-user-static#17 Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
for reference: multiarch/qemu-user-static#17 Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
for reference: multiarch/qemu-user-static#17 Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
for reference: multiarch/qemu-user-static#17 Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
- Add parameter "--credential yes" when initializing qemu backend. This avoids an error message Error: sudo: effective uid is not 0 ... for docker images which have a different CPU architecture as the host when using sudo command. see: https://gitlab.alpinelinux.org/alpine/docker-abuild/-/issues/47 see: multiarch/qemu-user-static#17
The newer qemu requires additional OCF flags to let users switch to root, let's apply such flags. ref: multiarch/qemu-user-static#17 Signed-off-by: Wu Zhangjin <falcon@tinylab.org>
The newer qemu requires additional OCF flags to let users switch to root, let's apply such flags. ref: multiarch/qemu-user-static#17 Signed-off-by: Wu Zhangjin <falcon@tinylab.org>
We are trying to run sudo inside the alpine docker image and it fails with:
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges
This may be related:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683205
The text was updated successfully, but these errors were encountered: