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 - The 'sos report --clean' confuses version with IP address.
Summary: The 'sos report --clean' confuses version with IP address.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sos
Version: 8.6
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Jan Jansky
QA Contact: Supportability QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-20 02:57 UTC by Abhijeet Joshi
Modified: 2023-03-16 21:35 UTC (History)
7 users (show)

Fixed In Version: sos-4.4-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-16 21:35:04 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-134374 0 None None None 2022-09-20 03:12:13 UTC

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.


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