+++ 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).
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