caught exception in sosreport plugin method "unpackaged.setup()"
Environment
- Red Hat Enterprise Linux (RHEL) 7.6
- sos-3.6-7.el7
Issue
Attempt to collect sosreport
fails with following message:
# sosreport
sosreport (version 3.6)
...
Setting up archive ...
Setting up plugins ...
caught exception in plugin method "unpackaged.setup()"
writing traceback to sos_logs/unpackaged-plugin-errors.txt
Running plugins. Please wait ...
Starting 96/104 unpackaged [Running: processor selinux systemtap unpackaged] caught exception in plugin method "unpackaged.collect()"
writing traceback to sos_logs/unpackaged-plugin-errors.txt
Finishing plugins [Running: unpackaged] ss]
Creating compressed archive...
...
Resolution
Update to sos-3.7-5.el7
shipped with Advisory RHEA-2019:2295 or newer.
Root Cause
Previously, sosreport
didn't properly handle case when list of executable files not belonging to a package was empty. This is now fixed and sosreport
no longer crashes with exception in this scenario.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments