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

toolbox enter failed with "Error: failed to start container fedora-toolbox-37" #1297

Closed
coiby opened this issue May 14, 2023 · 2 comments
Closed
Labels
1. Bug Something isn't working

Comments

@coiby
Copy link

coiby commented May 14, 2023

Describe the bug

toolbox enter failed with "Error: failed to start container fedora-toolbox-37".

Steps how to reproduce the behaviour

  1. dnf install VirtualBox
  2. toolbox create
  3. toolbox enter

Expected behaviour
toolbox enter should work.

Actual behaviour

toolbox enter failued.

Screenshots
If applicable, add screenshots to help explain your problem.

Output of toolbox --version (v0.0.90+)
toolbox version 0.0.99.4

Toolbox package info (rpm -q toolbox)
e.g., toolbox-0.0.99.4-1.fc37.x86_64

Output of podman version

Client:       Podman Engine
Version:      4.5.0
API Version:  4.5.0
Go Version:   go1.19.7
Built:        Fri Apr 14 23:42:56 2023
OS/Arch:      linux/amd64

Podman package info (rpm -q podman)
podman-4.5.0-1.fc37.x86_64

Info about your OS
e.g., Fedora 37

Additional context

  1. journalctl shows the following logs with toolbox enter -vv
conmon[3469]: conmon d5bc67555f5777078a4d <nwarn>: runtime stderr: mkdir `/dev/vboxusb/003`: Permission denied
conmon[3469]: conmon d5bc67555f5777078a4d <error>: Failed to create container: exit status 1
  1. sudo chmod 755 /dev/vboxusb/003 (suggested by OCI Permission Denied when running on host with VirtualBox · Issue #995 · containers/crun) or remove current user from the vboxusers group could workaround this issue.
  2. podman --group-add keep-groups seems to also work according to podman run fails with Permission denied: OCI permission denied · Issue #14284 · containers/podman. But I don't know how to let toolbox call podman with --group-add keep-groups.
@mtalexan
Copy link

This prior issue seems to have been closed incorrectly, and is a duplicate: #247

@debarshiray
Copy link
Member

Duplicate of #1348

@debarshiray debarshiray marked this as a duplicate of #1348 Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants