[Bug 1993888] Re: Invalid entry point for specific (working) image

Andrej Shadura 1993888 at bugs.launchpad.net
Thu Jul 13 15:52:31 UTC 2023


** Description changed:

+ [ Impact ]
+ The version of toolbox in Jammy is not handling the ABI of the binaries, resulting in many images being unusable. This version never shipped in a stable Debian release, so Debian is unaffected by this bug, but Jammy is. Being an LTS, it will be used by a lot of Ubuntu users in the next couple of years, resulting in them basically being unable to use toolbox at least with many of the Ubuntu images.
+ 
+ This upload ships two commits the upstream suggested should fix the bug.
+ These are part of the newer toolbox releases Debian and other Ubuntu
+ releases except Jammy and Kinetic are shipping.
+ 
+ [ Test Plan ]
+ 
+ (Leaving the original bug description here)
+ 
  $ 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
+   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 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) 
+ $ 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). 
+ 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).

** Changed in: golang-github-containers-toolbox (Ubuntu Jammy)
     Assignee: (unassigned) => Andrej Shadura (andrew.sh)

** Tags added: patch

** Description changed:

  [ Impact ]
  The version of toolbox in Jammy is not handling the ABI of the binaries, resulting in many images being unusable. This version never shipped in a stable Debian release, so Debian is unaffected by this bug, but Jammy is. Being an LTS, it will be used by a lot of Ubuntu users in the next couple of years, resulting in them basically being unable to use toolbox at least with many of the Ubuntu images.
  
  This upload ships two commits the upstream suggested should fix the bug.
  These are part of the newer toolbox releases Debian and other Ubuntu
  releases except Jammy and Kinetic are shipping.
  
  [ Test Plan ]
  
  (Leaving the original bug description here)
  
  $ 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
+ 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-
+ the image itself, but by a 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).
+ By the way, I think a similar error occurs when running the default
+ image (somehow set to fedora-toolbox-33).

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1993888

Title:
  Invalid entry point for specific (working) image

Status in golang-github-containers-toolbox package in Ubuntu:
  Fix Released
Status in golang-github-containers-toolbox source package in Jammy:
  In Progress
Status in golang-github-containers-toolbox source package in Kinetic:
  New

Bug description:
  [ Impact ]
  The version of toolbox in Jammy is not handling the ABI of the binaries, resulting in many images being unusable. This version never shipped in a stable Debian release, so Debian is unaffected by this bug, but Jammy is. Being an LTS, it will be used by a lot of Ubuntu users in the next couple of years, resulting in them basically being unable to use toolbox at least with many of the Ubuntu images.

  This upload ships two commits the upstream suggested should fix the
  bug. These are part of the newer toolbox releases Debian and other
  Ubuntu releases except Jammy and Kinetic are shipping.

  [ Test Plan ]

  (Leaving the original bug description here)

  $ 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 a 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).

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-github-containers-toolbox/+bug/1993888/+subscriptions




More information about the Ubuntu-sponsors mailing list