Bug 497840

Summary: Unused snack import
Product: Red Hat Enterprise Linux 5 Reporter: Alan Pevec <apevec>
Component: sosAssignee: Adam Stokes <astokes>
Status: CLOSED ERRATA QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: agk, azelinka, bmr
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, sos imported data from snack, but did not use this data. However, in order to support this import, sos required three packages: snack, libnewt, and libslang. By avoiding the import, the packages are not otherwise required by sos, and if they are not required by any other component, they need not be installed. Avoiding unneccessary packages simplifies support and minimizes the space required to install Red Hat Enterprise Linux.
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 07:32:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alan Pevec 2009-04-27 14:12:35 UTC
Description of problem:
sosreport script has:
from snack import *

but I don't see that any text-UI widget is used, after removing that import line sosreport seems to work fine.

Please remove this import leftover, it pulls in unnecessary dependencies (snack->libnewt->libslang) which is significant when building minimal OS installation.

Version-Release number of selected component (if applicable):
sos-1.7-9.16.el5

Comment 8 Ruediger Landmann 2009-09-02 04:55:55 UTC
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
Previously, sos imported data from snack, but did not use this data. However, in order to support this import, sos required three packages: snack, libnewt, and libslang. By avoiding the import, the packages are not otherwise required by sos, and if they are not required by any other component, they need not be installed. Avoiding unneccessary packages simplifies support and minimizes the space required to install Red Hat Enterprise Linux.

Comment 9 errata-xmlrpc 2009-09-02 07:32:54 UTC
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.

http://rhn.redhat.com/errata/RHBA-2009-1418.html