Red Hat Bugzilla – Bug 591357
RHEL6 info test: no --no-progressbar option for sosreport
Last modified: 2010-09-21 08:53:50 EDT
Description of problem:
The --no-progressbar option was removed from sosreport on RHEL6, causing the info test to fail, and no sosreport is produced.
Version-Release number of selected component (if applicable):
v7 1.2 R1
Created attachment 413301 [details]
info test patch to use --no-progressbar only on RHEL5
bad news is older versions of RHEL5 include a version of sysreport without this option.
At least RHEL5 GA, I'm not certain the log of when and where sysreport changes.
You mean sosreport, not sysreport.
So we should remove --no-progressbar compeletely, and add this fix to the v7 1.1 errata as well.
yes sorry, old versions of sosreport do not support the --no-progress bar option; IIRC the reason that was put in was because the shift to sosreport causes long strings of gibberish in the logs so it's not a bad thing to have unfortunately it seems to come and go between versions of sosreport.
Created attachment 416951 [details]
info test patch using --help rather than keying on RHEL version
is it worth it to go ahead and presume that at some point the --help will be wrong and v7 should try again if sysreport with --no-progress exits failed?
Created attachment 417286 [details]
info test patch that retries sosreport if --no-progressbar fails
Confirmed that the bug has been fixed in >= v7 1.2 R3, move to 'VERIFIED'
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.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
On Red Hat Enterprise Linux 6, the info test no longer runs sosreport with the "--no-progressbar" option.