Invalid entry point for specific (working) image

Bug #1993888 reported by Niklas Schmelzle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
golang-github-containers-toolbox (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04

$ apt-cache policy podman-toolbox
podman-toolbox:
  Installed: 0.0.99.2-2ubuntu1
  Candidate: 0.0.99.2-2ubuntu1
  Version table:
 *** 0.0.99.2-2ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status

I tried to use an Ubuntu 20.04 image with toolbox (image from here https://github.com/toolbx-images/images). Unfortunately, this image does not work (though other images, like the Ubuntu 22.04, do work).

I am able to create the toolbox without any problems, but I am unable to enter it (Error: invalid entry point PID of container ubuntu-toolbox-20.04).

$ toolbox create --image quay.io/toolbx-images/ubuntu-toolbox:20.04
Image required to create toolbox container.
Download quay.io/toolbx-images/ubuntu-toolbox:20.04 (500MB)? [y/N]: y
Created container: ubuntu-toolbox-20.04
Enter with: toolbox enter ubuntu-toolbox-20.04

$ toolbox --verbose enter ubuntu-toolbox-20.04
DEBU Running as real user ID 1000
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 niklas
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/niklas/.config/toolbox
DEBU Current Podman version is 3.4.4
DEBU Creating runtime directory /run/user/1000/toolbox
DEBU Old Podman version is 3.4.4
DEBU Migration not needed: Podman version 3.4.4 is unchanged
DEBU Resolving container and image names
DEBU Container: 'ubuntu-toolbox-20.04'
DEBU Distribution: ''
DEBU Image: ''
DEBU Release: ''
DEBU Resolved container and image names
DEBU Container: 'ubuntu-toolbox-20.04'
DEBU Image: 'fedora-toolbox:33'
DEBU Release: '33'
DEBU Checking if container ubuntu-toolbox-20.04 exists
DEBU Inspecting mounts of container ubuntu-toolbox-20.04
DEBU Starting container ubuntu-toolbox-20.04
DEBU Inspecting entry point of container ubuntu-toolbox-20.04
DEBU Entry point PID is a float64
DEBU Entry point of container ubuntu-toolbox-20.04 is toolbox (PID=0)
Error: invalid entry point PID of container ubuntu-toolbox-20.04

I created an issue on github in the repository of the Ubuntu images https://github.com/toolbx-images/images/issues/42 . However, the author of the repository suggested that this issue is probably not caused by the image itself, but by an bug in toolbox 0.0.99.2 . The issue should be fixed in 0.0.99.3 (https://github.com/toolbx-images/images/issues/42#issuecomment-1285638958).

Would it be possible to update toolbox to 0.0.99.3 (which was released last December).

BTW, I think an similar error occurs when running the default image (somehow set to fedora-toolbox-33).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.