Bug 2065560

Summary: The sosreport Command Does Not Collect All unbound Information.
Product: Red Hat Enterprise Linux 9 Reporter: Pavel Moravec <pmoravec>
Component: sosAssignee: Pavel Moravec <pmoravec>
Status: CLOSED ERRATA QA Contact: Upgrades and Supportability <upgrades-and-supportability>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: agk, bhoefer, bmr, mhradile, mkluson, plambri, sbradley, theute, upgrades-and-supportability
Target Milestone: rcKeywords: OtherQA
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sos-4.3-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 11:12:24 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 Pavel Moravec 2022-03-18 08:16:57 UTC
This bug was initially created as a copy of Bug #2018228

I am copying this bug because: 



Description of problem:
When executing the sosreport command on a RHEL 8 (and RHEL 7) machine, it does not capture the /etc/unbound hierarchy, which contains unbound.conf and a conf.d which could affect its operation.  This makes troubleshooting unbound problems more difficult in support cases.

  # tar -tJf /var/tmp/sosreport-rhel83-001-9999-2021-10-28-lghfima.tar.xz | grep -i unbound
  sosreport-rhel83-001-9999-2021-10-28-lghfima/sos_commands/insights/insights-client-dump/data/usr/lib/tmpfiles.d/unbound.conf
  sosreport-rhel83-001-9999-2021-10-28-lghfima/etc/sysconfig/unbound
  sosreport-rhel83-001-9999-2021-10-28-lghfima/etc/systemd/system/timers.target.wants/unbound-anchor.timer
  sosreport-rhel83-001-9999-2021-10-28-lghfima/usr/lib/systemd/system/unbound-anchor.timer
  sosreport-rhel83-001-9999-2021-10-28-lghfima/usr/lib/systemd/system/unbound.service
  sosreport-rhel83-001-9999-2021-10-28-lghfima/usr/lib/systemd/system/unbound-anchor.service
  sosreport-rhel83-001-9999-2021-10-28-lghfima/usr/lib/systemd/system/unbound-keygen.service


Version-Release number of selected component (if applicable):
sos-4.0-12.el8_4.noarch  (sos-3.9-5.el7_9.7.noarch in RHEL 7)


Additional info:
I'm listing RHEL 7 info here just to make people aware of that version being affected.  Due to where RHEL 7 currently is in its life cycle, I don't see the point in making a Bugzilla ticket for it since it would most assuredly be closed as WONT_FIX.  Still, if others think differently, I can create such a Bugzilla ticket.

Comment 1 Pavel Moravec 2022-03-18 10:59:49 UTC
Hello,
(same applies here on cloned 9.1 bug)

as our QE might not have available systems for testing the fix, would you be able to verify the fix once available (as a candidate package for 9.1)?

Comment 2 Bernie Hoefer 2022-03-21 21:04:58 UTC
(In reply to Pavel Moravec from comment #1)
===
> (same applies here on cloned 9.1 bug)
===

Yes, I'd be happy to test RHEL 9.1's package when it is available.

Comment 4 Pavel Moravec 2022-04-07 15:34:02 UTC
Successfully tested via https://bugzilla.redhat.com/show_bug.cgi?id=2018228#c8 .

Comment 14 errata-xmlrpc 2022-11-15 11:12:24 UTC
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