-
Story
-
Resolution: Unresolved
-
Major
-
rhel-8.6.0
-
None
-
rhel-sst-cee-supportability
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
All
-
None
-
57,005
Requesting some updates with sos.
Currently we have a plugin (rpm.rpmdb) which is off by default and only copies all of /var/lib/rpm into the sosreport.
My suggestions for improvement are:
1. When rpm/yum plugin fails or timeout's, automatically grab the rpm database
1b. Decrease the timeout for rpm/yum plugins failing
2. The rpmdb plugin should first attempt to tar the entire database for a more usable format for engineers
RHEL 7 and lower
- tar cjf rpm_db-$(hostname).tar.bz2 /var/lib/ {rpm,yum}
RHEL 8 and higher
- tar cJhf rpm_db-$(hostname).tar.xz /var/lib/
{rpm,dnf}
/etc/
{dnf*,os-release}
- - - - - - - - -
If there is any concern over size I would secondarily request we make this generate the tar outside of the sos
Example:
sosreport > detects rpm issues > generates /var/tmp/rpmdb.tar.xz
Or just have it inside the rpm database.
- external trackers