Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 399321 - sos does not warn if invalid plugins are passed to -n/--skip-plugins
sos does not warn if invalid plugins are passed to -n/--skip-plugins
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: sos (Show other bugs)
All Linux
urgent Severity medium
: rc
: ---
Assigned To: Adam Stokes
: ZStream
Depends On:
Blocks: 443397
  Show dependency treegraph
Reported: 2007-11-26 05:47 EST by Bryn M. Reeves
Modified: 2018-10-19 17:34 EDT (History)
4 users (show)

See Also:
Fixed In Version: RHBA-2008-0663
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-24 15:30:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0663 normal SHIPPED_LIVE sos bug fix and enhancement update 2008-07-23 11:35:35 EDT

  None (edit)
Description Bryn M. Reeves 2007-11-26 05:47:28 EST
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):

How reproducible:

Steps to Reproduce:
1. # sosreport -norpm
2. ps ax | grep rpm

Actual results:
See sosreport running "rpm -Va"

Expected results:
A warning that the -norpm option from sysreport is not supported in sosreport.

Additional info:
Comment 2 Navid Sheikhol-Eslami 2007-12-10 05:42:09 EST
Fixed in upstream repository. Thanks.

-- Navid
Comment 19 errata-xmlrpc 2008-07-24 15:30:50 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.