Note: I am using sudo toolbox
right now, as no such issues during rootful usage…
Since I installed Fedora 42 Kinoite, I have never been able to create my user-specific rootless toolbx container…
It downloads the blobs, then errs out due to some lchown
error on the polkit file.
If I manually podman pull registery.fedoraproject.org/fedora-toolbox:42
, same error, so it’s error on podman’s side.
For other purposes, I tried to podman pull quay.io/fedora/fedora-bootc:42
. That too fails with the same error.
I am unable to trace the cause of this error; I have tried quite a few combinations of modes and ownership on /etc/polkit-1/localauthority
(AND now have restored it to it’s previous state).
Help will be appreciated.
The toolbox --verbose create
output:
❯ toolbox --verbose create
DEBU Running as real user ID 1010
DEBU Resolved absolute path to the executable as /usr/bin/toolbox
DEBU Running on a cgroups v2 host
DEBU Looking up sub-GID and sub-UID ranges for user pramodvu
DEBU TOOLBX_DELAY_ENTRY_POINT is
DEBU TOOLBX_FAIL_ENTRY_POINT is
DEBU TOOLBOX_PATH is /usr/bin/toolbox
DEBU Migrating to newer Podman
DEBU Toolbx config directory is /home/pramodvu/.config/toolbox
DEBU Current Podman version is 5.5.0
DEBU Creating runtime directory /run/user/1010/toolbox
DEBU Old Podman version is 5.5.0
DEBU Migration not needed: Podman version 5.5.0 is unchanged
DEBU Setting up configuration
DEBU Setting up configuration: file /home/pramodvu/.config/containers/toolbox.conf not found
DEBU Resolving container and image names
DEBU Container: ''
DEBU Distribution (CLI): ''
DEBU Image (CLI): ''
DEBU Release (CLI): ''
DEBU Resolved container and image names
DEBU Container: 'fedora-toolbox-42'
DEBU Image: 'fedora-toolbox:42'
DEBU Release: '42'
DEBU Resolving container and image names
DEBU Container: ''
DEBU Distribution (CLI): ''
DEBU Image (CLI): ''
DEBU Release (CLI): ''
DEBU Resolved container and image names
DEBU Container: 'fedora-toolbox-42'
DEBU Image: 'fedora-toolbox:42'
DEBU Release: '42'
DEBU Checking if container fedora-toolbox-42 already exists
DEBU Looking up image localhost/fedora-toolbox:42
DEBU Resolving fully qualified name for image fedora-toolbox:42 from known registries
DEBU Resolved image fedora-toolbox:42 to registry.fedoraproject.org/fedora-toolbox:42
DEBU Looking up image registry.fedoraproject.org/fedora-toolbox:42
Image required to create Toolbx container.
Download registry.fedoraproject.org/fedora-toolbox:42 ( ... MB)? [y/N]: y
DEBU Returned from /dev/stdin: POLLIN
DEBU Show prompt for download: image size canceled: context canceled: received confirmation without image size
DEBU Pulling image registry.fedoraproject.org/fedora-toolbox:42
Trying to pull registry.fedoraproject.org/fedora-toolbox:42...
Getting image source signatures
Copying blob 744b9d8a39de done |
Error: internal error: unable to copy from source docker://registry.fedoraproject.org/fedora-toolbox:42: copying system image from manifest list: writing blob: adding layer with blob "sha256:744b9d8a39de868d59da233a439cadd3588d58b484930109c221666604c9c651"/""/"sha256:5e50b3addcecd364f4b572b899d994a6ff2e22b9cf7e9ac38a0543e2232dc00f": unpacking failed (error: exit status 1; output: lchown /etc/polkit-1/localauthority: value too large for defined data type)
Error: failed to pull image registry.fedoraproject.org/fedora-toolbox:42
If it was a private image, log in with: podman login registry.fedoraproject.org
Use 'toolbox --verbose ...' for further details.
A manual podman pull
:
Trying to pull registry.fedoraproject.org/fedora-toolbox:42...
Getting image source signatures
Copying blob 744b9d8a39de done |
Error: internal error: unable to copy from source docker://registry.fedoraproject.org/fedora-toolbox:42: copying system image from manifest list: writing blob: adding layer with blob "sha256:744b9d8a39de868d59da233a439cadd3588d58b484930109c221666604c9c651"/""/"sha256:5e50b3addcecd364f4b572b899d994a6ff2e22b9cf7e9ac38a0543e2232dc00f": unpacking failed (error: exit status 1; output: lchown /etc/polkit-1/localauthority: value too large for defined data type)
Error: failed to pull image registry.fedoraproject.org/fedora-toolbox:42
If it was a private image, log in with: podman login registry.fedoraproject.org