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] unable to use sudo in aarch64 box on x86_64 host: sudo: effective uid is not 0 #1685

Open
SpieringsAE opened this issue Feb 11, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@SpieringsAE
Copy link

Describe the bug
A clear and concise description of what the bug is.

Using sudo in a arm64 distrobox from an x86_64 host returns:
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?

To Reproduce
Steps to reproduce the behavior

distrobox create --image debian:12 --name debian-12-arm --platform linux/arm64 --home /path/to/box/home
distrobox enter debian-12-arm
sudo
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?

Expected behavior
A clear and concise description of what you expected to happen.

sudo working

Logs
Run the commands with --verbose and post the log here as a file upload
Attach also the output of podman logs or docker logs, possibly with --latest flag

podman_log.txt

Desktop (please complete the following information):

  • Which version or podman, docker or lilipod?
    podman 5.3.2
  • Which version of distrobox?
    distrobox 1.8.1.2
  • Which host distribution?
    arch linux
  • How did you install distrobox?
    pacman -S distrobox

Additional context
Add any other context about the problem here.

my other x86_64 debian boxes work great
other commands work fine too in the box so qemu is doing its thing

@SpieringsAE SpieringsAE added the bug Something isn't working label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant