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 2055003 - [rebase] rebase sos to 4.3
Summary: [rebase] rebase sos to 4.3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: sos
Version: 9.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Pavel Moravec
QA Contact: Miroslav Hradílek
URL:
Whiteboard:
Depends On: 2055002
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-16 07:53 UTC by Pavel Moravec
Modified: 2022-11-15 12:54 UTC (History)
10 users (show)

Fixed In Version: sos-4.3-5.el9_1
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of: 2055002
Environment:
Last Closed: 2022-11-15 11:12:24 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-112458 0 None None None 2022-02-16 07:55:19 UTC
Red Hat Product Errata RHEA-2022:8275 0 None None None 2022-11-15 11:12:38 UTC

Description Pavel Moravec 2022-02-16 07:53:48 UTC
+++ This bug was initially created as a clone of Bug #2055002 +++

Description of problem:
RHEL8.7 should ship sos rebased to upstream version 4.3, likewise 9.1 will/should.

Rationale for the rebase: any backport work will be much easier and "testing distance" between upstream and downstream will be smaller.

Further, backport one critical PR https://github.com/sosreport/sos/pull/2861 to integrate sos help (see  https://github.com/sosreport/sos/issues/2860 for more).
 

Version-Release number of selected component (if applicable):
sos-4.2-*


How reproducible:
100%


Steps to Reproduce:
1. rpm -q sos
2. rpm -ql sos | grep help
3. man sos-help
4. man sos

Actual results:
1. : sos-4.2-*
2.-4. : no reference to "help" subcommand"


Expected results:
1.
sos-4.3-*
2.
/usr/lib/python3.6/site-packages/sos/help
/usr/lib/python3.6/site-packages/sos/help/__init__.py
/usr/lib/python3.6/site-packages/sos/help/__pycache__
/usr/lib/python3.6/site-packages/sos/help/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sos/help/__pycache__/__init__.cpython-36.pyc
/usr/share/man/man1/sos-help.1.gz
3. reasonable man pages
4. reference to "help" subcommand


Additional info:
Apart of bumping the release tarball to https://github.com/sosreport/sos/archive/refs/tags/4.3.tar.gz , a few changes need to be done:

1) Backport https://github.com/sosreport/sos/pull/2861 otherwise packaged sos would fail to run (see https://github.com/sosreport/sos/issues/2860)

2) Add to sos.spec :
> %{_mandir}/man1/sos-help.1.gz

otherwise build process will complain about unpackaged files (and to really mark the sos-help manpage packaged).

Comment 10 errata-xmlrpc 2022-11-15 11:12:24 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 (sos bug fix and enhancement 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/RHEA-2022:8275


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