containers / containers/toolbox

'Error: failed to initialize container fedora-toolbox-39', 'Error: container fedora-toolbox-38 not found'

Open
#1,260 7 comments 2 reactions 0 assignees View on GitHub
1. Bug 2. Container Initialization
Dominant language
Go
Stars
3.5k
Forks
262
Avg merge
3d 1h
Merged PRs (30d)
1

Description

**Describe the bug**
Fedora 39 container was working on my Fedora 38 silverblue OS but now it is not.

**Steps how to reproduce the behaviour**
```
[localhost ~]$ toolbox enter fedora-toolbox-39
Error: failed to initialize container fedora-toolbox-39
```

```
[localhost ~]$ toolbox run fedora-toolbox-39 ls
Error: container fedora-toolbox-38 not found
Use the 'create' command to create a toolbox.
Run 'toolbox --help' for usage.
```

https://registry.fedoraproject.org/repo/fedora-toolbox/tags/ shows 39 and 39-1 as options.

**Screenshots**
```
[localhost ~]$ toolbox list
IMAGE NAME CREATED
registry.fedoraproject.org/fedora-toolbox:39 3 weeks ago

CONTAINER NAME CREATED STATUS IMAGE NAME
fedora-toolbox-39 6 days ago exited registry.fedoraproject.org/fedora-toolbox:39
```

```
[localhost ~]$ toolbox enter fedora-toolbox-39 -v
DEBU Running as real user ID *
DEBU Resolved absolute path to the executable as /usr/bin/toolbox
DEBU Running on a cgroups v2 host
DEBU Checking if /etc/subgid and /etc/subuid have entries for user user
DEBU Validating sub-ID file /etc/subuid
DEBU Validating sub-ID file /etc/subgid
DEBU TOOLBOX_PATH is /usr/bin/toolbox
DEBU Migrating to newer Podman
DEBU Toolbox config directory is /home/user/.config/toolbox
DEBU Current Podman version is 4.4.1
DEBU Creating runtime directory /run/user/*/toolbox
DEBU Old Podman version is 4.4.1
DEBU Migration not needed: Podman version 4.4.1 is unchanged
DEBU Setting up configuration
DEBU Setting up configuration: file /home/user/.config/containers/toolbox.conf not found
DEBU Resolving image name
DEBU Distribution (CLI): ''
DEBU Image (CLI): ''
DEBU Release (CLI): ''
DEBU Resolved image name
DEBU Image: 'fedora-toolbox:38'
DEBU Release: '38'
DEBU Resolving container name
DEBU Container: ''
DEBU Image: 'fedora-toolbox:38'
DEBU Release: '38'
DEBU Resolved container name
DEBU Container: 'fedora-toolbox-38'
DEBU Resolving image name
DEBU Distribution (CLI): ''
DEBU Image (CLI): ''
DEBU Release (CLI): ''
DEBU Resolved image name
DEBU Image: 'fedora-toolbox:38'
DEBU Release: '38'
DEBU Resolving container name
DEBU Container: 'fedora-toolbox-39'
DEBU Image: 'fedora-toolbox:38'
DEBU Release: '38'
DEBU Resolved container name
DEBU Container: 'fedora-toolbox-39'
DEBU Checking if container fedora-toolbox-39 exists
DEBU Inspecting mounts of container fedora-toolbox-39
DEBU Starting container fedora-toolbox-39
DEBU Inspecting entry point of container fedora-toolbox-39
DEBU Entry point PID is a float64
DEBU Entry point of container fedora-toolbox-39 is toolbox (PID=5641)
DEBU Waiting for container fedora-toolbox-39 to finish initializing
DEBU Creating runtime directory /run/user/*/toolbox
DEBU Checking if initialization stamp /run/user/*/toolbox/container-initialized-5641 exists
Error: failed to initialize container fedora-toolbox-39
```

**Output of `toolbox --version` (v0.0.90+)**
`toolbox version 0.0.99.3`

**Toolbox package info (`rpm -q toolbox`)**
`toolbox-0.0.99.3-10.fc38.x86_64`

**Output of `podman version`**
```
Client: Podman Engine
Version: 4.4.1
API Version: 4.4.1
Go Version: go1.20.1
Built: Fri Feb 17 03:26:16 2023
OS/Arch: linux/amd64
```

**Podman package info (`rpm -q podman`)**
`podman-4.4.1-3.fc38.x86_64`

**Info about your OS**
Fedora Silverblue 38

**Additional context**
My Fedora 35 container still works. Since toolbox upgrade doesn't exist I want to use the newest image possible to postpone when I will have to create yet another container.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.