Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2128133

Summary: The 'sos report --clean' confuses version with IP address.
Product: Red Hat Enterprise Linux 8 Reporter: Abhijeet Joshi <abjoshi>
Component: sosAssignee: Jan Jansky <jjansky>
Status: CLOSED CURRENTRELEASE QA Contact: Supportability QE <supportability-qe>
Severity: high Docs Contact:
Priority: high    
Version: 8.6CC: agk, bmr, plambri, pmoravec, sbradley, theute, vikas.goel
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sos-4.4-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-16 21:35:04 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:

Description Abhijeet Joshi 2022-09-20 02:57:37 UTC
Description of problem:
--------------------------

The SOS cleaner confuses version with IP address. When a version string is in a.b.c.d format, e.g. 10.2.1.0, the 'sos report --clean' takes it as an IP address and masks the information. This is impacting as it will mask important product information while collecting issue evidence. The fix is required to make sure Veritas Flex product does not lose important product version information in the SOS reports generated.

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
* RHEL 8.6
* sos-4.*


How reproducible:
---------------------
Always reproducible. 


Steps to Reproduce:
1. Execute the below command:

# sos report --clean

Actual results:
--------------------
The utility will mask the release version of the products. 


Expected results:
-------------------
The utility should only mask the IP address and should not confuse version with IP address.


Additional info:
------------------

* The details of the issue can be found at (https://github.com/sosreport/sos/issues/2962). 
* The issue is already fixed in 8.7 with PR  "https://github.com/sosreport/sos/pull/2965". The customer is requesting it to be backported. 
* The RFE has been requested to make the 'sos report --clean' aware to not mask versions stored in files named after "release" and "version"

Comment 1 Pavel Moravec 2022-09-20 06:15:29 UTC
I doubt we would backport this to 8.6 - if requesting so, please provide business justification for such z-stream request and raise needinfo to cww to decide.

The upstream fix is not yet in RHEL8.7 even - despite we do rebase sos in each and every RHEL Y release, the fix is present in 4.4 only while 8.7 is based on 4.3.

I can offer RHEL8.8 candidate (not a final one, for sure) that does fix this issue:

https://people.redhat.com/pmoravec/sos-4.4-1/

You can use it for testing purposes, at least.

Comment 4 Pavel Moravec 2022-10-26 06:32:24 UTC
Thanks for confirmation it is fixed in sos-4.4-1 . Then we will release the fix officially in RHEL8.8 .

Comment 5 Pavel Moravec 2023-03-16 21:35:04 UTC
Closing the bugzilla as the fix has been delivered in sos-4.5.0-1.el8 released via https://access.redhat.com/errata/RHBA-2023:1300 errata.