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

Running without --privileged returns a mount error #103

Open
ondrejbudai opened this issue Jan 27, 2025 · 2 comments
Open

Running without --privileged returns a mount error #103

ondrejbudai opened this issue Jan 27, 2025 · 2 comments
Labels
container 🐞 bug Something isn't working

Comments

@ondrejbudai
Copy link
Member

$ sudo podman run --rm ghcr.io/osbuild/image-builder-cli
mount: /run/osbuild: permission denied.
       dmesg(1) may have more information after failed mount system call.

I expect the container:

  • not to require --privileged for showing help
  • privileged commands (build) to show a helpful error
@supakeen supakeen added container 🐞 bug Something isn't working labels Jan 29, 2025
@supakeen
Copy link
Member

I'll consider this a bug for now; this is likely due to the things that we do in the entrypoint.

@mvo5
Copy link
Collaborator

mvo5 commented Jan 30, 2025

We probably need to do what we do in bib and move the container setup into the go code itself so that it has context what it needs (c.f. bibs internal/setup/setup.go code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
container 🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants