RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2034066 - The toolbox in the 3.0 stream does not provide /etc/containers/toolbox.conf
Summary: The toolbox in the 3.0 stream does not provide /etc/containers/toolbox.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: toolbox
Version: 8.5
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Jindrich Novy
QA Contact: Martin Krajnak
URL:
Whiteboard:
Depends On:
Blocks: 2036929
TreeView+ depends on / blocked
 
Reported: 2021-12-20 02:27 UTC by Alex Jia
Modified: 2022-05-10 14:06 UTC (History)
3 users (show)

Fixed In Version: toolbox-0.0.99.3-0.4.module+el8.6.0+13012+f96360af
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2036929 (view as bug list)
Environment:
Last Closed: 2022-05-10 13:39:34 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-106175 0 None None None 2021-12-20 02:40:27 UTC
Red Hat Product Errata RHSA-2022:1793 0 None None None 2022-05-10 13:40:08 UTC

Description Alex Jia 2021-12-20 02:27:37 UTC
Description of problem:
As summary, we need to provide /etc/containers/toolbox.conf with toolbox in the 3.0 stream of container-tools module.

Version-Release number of selected component (if applicable):
[root@hpe-dl380pgen8-02-vm-2 ~]# rpm -q toolbox
toolbox-0.0.99-1.module+el8.5.0+10306+3f72d66d.x86_64

How reproducible:
always

Steps to Reproduce:
1. install toolbox-0.0.99-1.module+el8.5.0+10306+3f72d66d
2. ls /etc/containers/toolbox.conf
3. rpm -ql toolbox

Actual results:
[root@hpe-dl380pgen8-02-vm-2 ~]# rpm -q toolbox
toolbox-0.0.99-1.module+el8.5.0+10306+3f72d66d.x86_64

[root@hpe-dl380pgen8-02-vm-2 ~]# rpm -ql toolbox
/etc/profile.d/toolbox.sh
/usr/bin/toolbox
/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/1ee6a6ca29c97bcaa22e8bacf1e4c4ff64318c
/usr/lib/tmpfiles.d/toolbox.conf
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/toolbox
/usr/share/doc/toolbox
/usr/share/doc/toolbox/CODE-OF-CONDUCT.md
/usr/share/doc/toolbox/NEWS
/usr/share/doc/toolbox/README.md
/usr/share/doc/toolbox/SECURITY.md
/usr/share/licenses/toolbox
/usr/share/licenses/toolbox/COPYING
/usr/share/man/man1/toolbox-create.1.gz
/usr/share/man/man1/toolbox-enter.1.gz
/usr/share/man/man1/toolbox-help.1.gz
/usr/share/man/man1/toolbox-init-container.1.gz
/usr/share/man/man1/toolbox-list.1.gz
/usr/share/man/man1/toolbox-rm.1.gz
/usr/share/man/man1/toolbox-rmi.1.gz
/usr/share/man/man1/toolbox-run.1.gz
/usr/share/man/man1/toolbox.1.gz

Expected results:
fix it.

Additional info:

Comment 1 Debarshi Ray 2021-12-20 09:58:17 UTC
Just to be clear, I don't know how to fix this.

It will be better if Jindrich or someone from the Podman team could look into this one.

Comment 2 Jindrich Novy 2021-12-20 10:10:50 UTC
Rishi, I believe at this stage would be best to sync to the same version of toolbox across the releases. Currently we have:

stream-container-tools-3.0-rhel-8.5.0    toolbox        0.0.99-1  <<<
stream-container-tools-3.0-rhel-8.6.0    toolbox        0.0.99-1  <<<
stream-container-tools-4.0-rhel-8.6.0    toolbox        0.0.99.3-0.4
stream-container-tools-rhel8-rhel-8.5.0  toolbox        0.0.99.3-0.4
stream-container-tools-rhel8-rhel-8.5.1  toolbox        0.0.99.3-0.4
stream-container-tools-rhel8-rhel-8.6.0  toolbox        0.0.99.3-0.4
stream-container-tools-rhel8-rhel-8.6.1  toolbox        0.0.99.3-0.4

The "<<<" points to a broken release not containing /etc/containers/toolbox.conf and other important bits. Sounds good?

(Btw. I've set all required flags in this bug to be able to do so - we would need Derrick/Laurie to approve/clone it to zstream. In a nutshell this bug could be used to update 3.0-rhel-8.6.0, the cloned one for 3.0-rhel-8.5.0)

Comment 3 Debarshi Ray 2021-12-21 05:48:12 UTC
> Rishi, I believe at this stage would be best to sync to
> the same version of toolbox across the releases.

Yes, that sounds good to me.

Comment 4 Martin Krajnak 2022-01-03 15:35:02 UTC
[test@rhel-8 ~]$ rpm -q toolbox 
toolbox-0.0.99.3-0.4.module+el8.6.0+13012+f96360af.x86_64
[test@rhel-8 ~]$ rpm -ql toolbox 
/etc/containers/toolbox.conf
/etc/profile.d/toolbox.sh
/usr/bin/toolbox
/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/0949da5462ee87e472a0de67770f9833d6f024
/usr/lib/tmpfiles.d/toolbox.conf
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/toolbox
/usr/share/doc/toolbox
/usr/share/doc/toolbox/CODE-OF-CONDUCT.md
/usr/share/doc/toolbox/NEWS
/usr/share/doc/toolbox/README.md
/usr/share/doc/toolbox/SECURITY.md
/usr/share/licenses/toolbox
/usr/share/licenses/toolbox/COPYING
/usr/share/man/man1/toolbox-create.1.gz
/usr/share/man/man1/toolbox-enter.1.gz
/usr/share/man/man1/toolbox-help.1.gz
/usr/share/man/man1/toolbox-init-container.1.gz
/usr/share/man/man1/toolbox-list.1.gz
/usr/share/man/man1/toolbox-rm.1.gz
/usr/share/man/man1/toolbox-rmi.1.gz
/usr/share/man/man1/toolbox-run.1.gz
/usr/share/man/man1/toolbox.1.gz

Comment 12 errata-xmlrpc 2022-05-10 13:39:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: container-tools:3.0 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:1793


Note You need to log in before you can comment on or make changes to this bug.