Bug 2055003

Summary: [rebase] rebase sos to 4.3
Product: Red Hat Enterprise Linux 9 Reporter: Pavel Moravec <pmoravec>
Component: sosAssignee: Pavel Moravec <pmoravec>
Status: CLOSED ERRATA QA Contact: Miroslav HradĂ­lek <mhradile>
Severity: high Docs Contact:
Priority: high    
Version: 9.0CC: agk, bmr, jjansky, mhradile, mkluson, plambri, pmoravec, sbradley, theute, upgrades-and-supportability
Target Milestone: rcKeywords: Rebase, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sos-4.3-5.el9_1 Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Story Points: ---
Clone Of: 2055002 Environment:
Last Closed: 2022-11-15 11:12:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2055002    
Bug Blocks:    

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