-
Notifications
You must be signed in to change notification settings - Fork 486
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
- Running
distrobox create --name archlinux --additional-flags "" --image archlinux:latesthangs indefinitely, but the same command without the--additional-flagsflag works.
To Reproduce
- Run
distrobox create --name archlinux --additional-flags "" --image archlinux:latestand wait, and keep waiting. - Notice that the command does not run, and terminate it.
- Run
distrobox create --name archlinux --image archlinux:latest. It runs near instantly.
Expected behavior
The existence of --additional-flags "" should not affect the time required to create a container.
Logs
$ distrobox create --name archlinux --image archlinux:latest --verbose
+ '[' -z '' ']'
+ '[' -z archlinux:latest ']'
+ '[' -z archlinux ']'
+ '[' -z archlinux ']'
+ '[' -z '' ']'
++ uname -n
+ container_hostname=fedora
+ '[' 0 -eq 1 ']'
++ printf %s fedora
++ wc -m
+ '[' 6 -gt 64 ']'
+ case "${container_manager}" in
+ command -v podman
+ container_manager=podman
+ command -v podman
+ '[' 1 -ne 0 ']'
+ container_manager='podman --log-level debug'
+ '[' 0 -ne 0 ']'
+ '[' 0 -ne 0 ']'
+ '[' -n '' ']'
+ '[' -z /usr/bin/distrobox-init ']'
+ '[' -z /usr/bin/distrobox-export ']'
+ '[' 0 -ne 0 ']'
+ podman --log-level debug inspect --type container archlinux
+ printf 'Distrobox named '\''%s'\'' already exists.\n' archlinux
Distrobox named 'archlinux' already exists.
+ printf 'To enter, run:\n\n'
To enter, run:
+ '[' 0 -eq 1 ']'
+ '[' 1000 -eq 0 ']'
+ '[' 0 -eq 0 ']'
+ printf 'distrobox enter %s\n\n' archlinux
distrobox enter archlinux
+ exit 0
Note: The command with --additional-flags "" --verbose produces no logs.
Desktop (please complete the following information):
- Are you using podman, docker or lilipod? podman
- Which version or podman, docker or lilipod? podman version 5.7.1
- Which version of distrobox? distrobox: 1.8.2.2
- Which host distribution? Fedora Linux 43, Kernel 6.17.13-200.fc42.x86_64 (64-bit)
- How did you install distrobox? Using the
dnfpackage manager
Additional context
I am getting a separate error if I put any actual flags inside --additional-flags "", like --gpus all.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working