-
Bug
-
Resolution: Done-Errata
-
Critical
-
rhel-8.9.0.z, rhel-9.3.0.z
-
None
-
sos-4.7.1-3.el8_9
-
None
-
Important
-
rhel-sst-cee-supportability
-
None
-
False
-
-
Yes
-
None
-
Bug Fix
-
-
Done
-
-
All
-
None
What were you trying to do that didn't work?
See https://github.com/sosreport/sos/pull/3616 and reproducer there. We need to backport that to RHEL8 and RHEL9.
Please provide the package NVR for which bug is seen:
sos-4.5.2 or newer
How reproducible:
100%
Steps to reproduce
# sos report -o host --batch .. Your sosreport has been generated and saved in: /var/tmp/sosreport-pmoravec-rhel8-2024-04-23-dxyytjg.tar.xz # rm -f /etc/sos/cleaner/default_mapping # sos clean --batch -vv /var/tmp/sosreport-pmoravec-rhel8-2024-04-23-dxyytjg.tar.xz .. [cleaner:sosreport-pmoravec-rhel8-2024-04-23-dxyytjg] Loaded /var/tmp/sosreport-pmoravec-rhel8-2024-04-23-dxyytjg.tar.xz as type sos report archive [cleaner] Pre-loading all archives into obfuscation maps [cleaner:sosreport-pmoravec-rhel8-2024-04-23-dxyytjg] Unable to retrieve sos_commands/host/hostname: no such file in archive .. #
- .. and check if/what was cleaned inside the archive (at least hostnames should)
- .. and check if /etc/sos/cleaner/default_mapping was created with that mapping
Expected results
2. and 3.: at least hosts cleaning applied
Actual results
2. and 3.: no cleaning applied at all
- links to
-
RHBA-2024:130746 sos bugfix and enhancement update