Red Hat Bugzilla – Bug 399321
sos does not warn if invalid plugins are passed to -n/--skip-plugins
Last modified: 2010-10-22 16:41:10 EDT
Description of problem:
Users of the legacy sysreport tool often wanted to disable "rpm -Va" data
gathering due to the amount of time it consumes. The "-norpm" option was
provided to allow this.
This option has been removed from sosreport in favour of the plugin interface,
e.g. "sysreport -norpm" now becomes "sosreport -k rpm.rpmva=off".
The sosreport tool now also accepts a list of plugins to disable via the
-n/--skip-plugins options. If a user is unaware of this and passes "-norpm"
sosreport skips the non-existant "orpm" plugin and does not alert the user to
the fact they have passed an invalid option.
For users transitioning from sysreport this is confusing. It would be preferable
to emit either a general warning about a non-existant plugin or special-case the
legacy sysreport options (-norpm seems to be the only one that could cause
confusion as sysreport does not currently use -d (-dmidecode in sysreport)).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. # sosreport -norpm
2. ps ax | grep rpm
See sosreport running "rpm -Va"
A warning that the -norpm option from sysreport is not supported in sosreport.
Fixed in upstream repository. Thanks.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.