-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
rhel-8.8.0
-
None
-
None
-
sst_cee_supportability
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
When the hostname_map section in /etc/sos/cleaner/default_mapping contains
entries like these,
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Ensure that sos report will find hosts with name "epo" and "map"
- echo 192.168.122.1 epo.map.example.com epo map >> /etc/hosts
2. Remove the existing default mapping
- rm -f /etc/sos/cleaner/default_mapping
3. Generate the report
- sos report --batch --case-id 00000000 --clean
Actual results:
[...]
sosreport-<hostname>-00000000-2023-08-04-zddhrim : Beginning obfuscation...
sosreport-<hostname>-00000000-2023-08-04-zddhrim : Obfuscation completed [removed 920 unprocessable files]
Successfully obfuscated 1 report(s)
Creating compressed archive...
A mapping of obfuscated elements is available at
/var/tmp/sosrhost1rt-host140-00000000-2023-08-04-zddhrim-private_map
Your sosreport has been generated and saved in:
/var/tmp/sosrhost141rt-host14140-00000000-2023-08-04-zddhrim-obfuscated.tar.xz
Size 6.36MiB
Owner root
sha256 3c9e8df05545a6d57c058e03ea0d474dbdf8720b6d59a8493d3985b309cf1b75
Please send this file to your support representative.
Expected results:
Your sosreport has been generated and saved in:
/var/tmp/sosreport-host14140-00000000-2023-08-04-zddhrim-obfuscated.tar.xz
Additional info:
- relates to
-
RHEL-32655 Backport RHEL-2399 (sos hostname_map cleaner bugfix) to 8.8 EUS repo
-
- Closed
-
- external trackers
- links to
-
RHBA-2024:128483 sos bugfix and enhancement update