Bug 1060200

Summary: sosreport --build doesn't work
Product: [Fedora] Fedora Reporter: Sandro Bonazzola <sbonazzo>
Component: sosAssignee: Bryn M. Reeves <bmr>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 20CC: bmr, kroberts, lnie
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: sos-3.0-23.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-02 09:17:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1060198    

Description Sandro Bonazzola 2014-01-31 12:46:10 UTC
Description of problem:
# sosreport --build
Usage: sosreport [options]

sosreport: error: no such option: --build

Version-Release number of selected component (if applicable):
sos-3.0-3.fc20.noarch

How reproducible:
100%

Steps to Reproduce:
1.sosreport --build
2.
3.

Actual results:
# sosreport --build
Usage: sosreport [options]

sosreport: error: no such option: --build

Expected results:
sosreport --build should work as stated in man page:
       --build
              Do not archive copied data. Causes sosreport to leave an uncompressed archive as a temporary file or directory tree.

Comment 1 Bryn M. Reeves 2014-01-31 14:39:00 UTC
Thanks. This was fixed upstream:

commit b65606177be6210f3f0501e5689cdbb107e0f2f7
Author: Bryn M. Reeves <bmr>
Date:   Tue Nov 5 16:07:23 2013 +0000

    Restore --build command line option
    
    Releases of sos prior to 3.0 included the '--build' option to
    disable creation of a compressed archive and to leave the
    temporary build tree in place. This was removed with the
    reorganisation of the archive classes to support in-line
    archiving. Since all supported policies are now using an archive
    that derives from FileCacheArchive (commit 0178d5f) the option
    can be re-introduced.
    
    Archive classes that do not accumulate files in a temporary
    directory will return the path to the in-progress archive file.
    
    Signed-off-by: Bryn M. Reeves <bmr>

I'll update the f20 package to include the post-3.0 changes.

Comment 2 Sandro Bonazzola 2014-02-04 10:00:27 UTC
(In reply to Bryn M. Reeves from comment #1)

> I'll update the f20 package to include the post-3.0 changes.

Thanks! I'll wait for it.

Comment 3 Fedora Update System 2014-03-31 16:13:48 UTC
sos-3.0-23.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/sos-3.0-23.fc20

Comment 4 lnie 2014-04-01 02:56:10 UTC
sos-3.0-23.fc20  works

Comment 5 Fedora Update System 2014-04-02 09:17:11 UTC
sos-3.0-23.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.