6b17e9
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
6b17e9
6b17e9
Summary: A set of tools to gather troubleshooting information from a system
6b17e9
Name: sos
6b17e9
Version: 3.0
629484
Release: 23%{?dist}
6b17e9
Group: Applications/System
6b17e9
Source0: https://people.redhat.com/breeves/sos/releases/sos-3.0.tar.gz
6b17e9
License: GPLv2+
6b17e9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
6b17e9
BuildArch: noarch
6b17e9
Url: http://fedorahosted.org/sos
6b17e9
BuildRequires: python-devel
6b17e9
BuildRequires: gettext
6b17e9
Requires: libxml2-python
6b17e9
Requires: rpm-python
6b17e9
Requires: tar
6b17e9
Requires: bzip2
6b17e9
Requires: xz
6b17e9
Patch0: sos-silence-could-not-run.patch
6b17e9
Patch1: sos-bz971420-strip-trailing-newline.patch
6b17e9
Patch2: sos-bz916705-fix-rhel_version-problems.patch
6b17e9
Patch3: sos-bz839342-cluster-collect-crm_report.patch
6b17e9
Patch4: sos-bz1002943-No-TTY-should-not-imply-batch-mode.patch
6b17e9
Patch5: sos-bz1002943-Do-not-exit-on-interactive-mode-read-exceptions.patch
6b17e9
Patch6: sos-bz997083-Fix-policy-classes-for--tmp-dir.patch
6b17e9
Patch7: sos-bz997094-Added-XFS-plugin.patch
6b17e9
Patch8: sos-bz997090-cluster-plugin-add-obfuscation-of-luci-secrets.patch
6b17e9
Patch9: sos-bz997101-restrict-wbinfo-collection-to-the-current-domain.patch
6b17e9
Patch10: sos-bz996992-do-not-attempt-to-read-use-gss-proxy.patch
6b17e9
Patch11: sos-bz1001966-include-etc-yaboot-conf-in-boot.patch
6b17e9
Patch12: sos-bz1019235-remove-useless-os-path-check-for-brctl.patch
6b17e9
Patch13: sos-bz1019863-rpm-restricted-verify.patch
6b17e9
Patch14: sos-bz1019338-remove-pipe-communicate-newline-workaround.patch
6b17e9
Patch15: sos-bz1001599-add-file-size-restriction-to-sar.patch
6b17e9
Patch16: sos-bz1015606-remove-version-checks-in-gluster.patch
6b17e9
Patch17: sos-bz1019517-check-for-usable-temporary-directory.patch
6b17e9
Patch18: sos-bz1019356-fix-alloptions.patch
6b17e9
Patch19: sos-bz1019516-fix-config-file-regression.patch
6b17e9
Patch20: sos-bz1025236-add-powerpc-plugin.patch
6b17e9
Patch21: sos-bz1026869-collect-proc-self-mountstats.patch
6b17e9
Patch22: sos-bz1026829-collect-var-log-squid.patch
6b17e9
Patch23: sos-bz1026906-nis-add-domainname-output.patch
6b17e9
Patch24: sos-bz829069-normalise-tmp-dir-path.patch
6b17e9
Patch25: sos-bz1026959-collect-saved-vmcore-dmesg.patch
6b17e9
Patch26: sos-bz1015599-restore-build-command-line-option.patch
6b17e9
Patch27: sos-bz1028072-add-nfs-client-plugin.patch
6b17e9
Patch28: sos-bz1028125-fix-traceback-when-sar-module.patch
6b17e9
Patch29: sos-bz829297-fix-typo-in-yum-add_forbidden_paths.patch
6b17e9
Patch30: sos-bz1028150-add-krb5-plugin-and-klist.patch
6b17e9
Patch31: sos-bz1015599-fix-dash-dash-build-regressions.patch
629484
Patch32: sos-bz1030042-remove-logs-debug-statements.patch
629484
Patch33: sos-bz1030824-make-ethernet-detection-more-robust.patch
629484
Patch34: sos-bz1031124-fix-multiple-plugin-opts.patch
629484
Patch35: sos-bz1031126-correct-log-and-message-levels.patch
629484
Patch36: sos-bz1034956-log-command-timeouts.patch
629484
Patch37: sos-bz1028484-remove-upload-option.patch
629484
Patch38: sos-bz1034970-update-sos-ui-text.patch
629484
Patch39: sos-bz1028121-include-openhpi-config.patch
629484
Patch40: sos-bz1030553-fix-cluster-crm_report.patch
629484
Patch41: sos-bz1030602-fix-ldap-postproc.patch
629484
Patch42: sos-bz1034865-remove-anaconda-ks-cfg-from-general.patch
629484
Patch43: sos-bz1030553-fix-cluster-get_option-use.patch
629484
Patch44: sos-bz1031126-fix-verbose-file-logging.patch
629484
Patch45: sos-bz1030617-rhevm-treat-vdsmlogs-as-string.patch
629484
Patch46: sos-bz1039036-add-rhsm-debug-to-yum.patch
629484
Patch47: sos-bz1036752-gluster-include-geo-replication.patch
629484
Patch48: sos-bz1039036-pass-no-archive-to-rhsm-debug.patch
629484
Patch49: sos-bz1051009-fix-fd-leaks-on-popen.patch
629484
Patch50: sos-bz1036752-fix-gluster-volume-name-extraction.patch
629484
Patch51: sos-bz1059760-add-distupgrade-plugin.patch
629484
Patch52: sos-bz1030553-fix-command-output-substitution-exception.patch
629484
Patch53: sos-bz916705-remove-rhel_version-from-yum-plugin.patch
629484
Patch54: sos-bz1067769-fix-anacron-checks.patch
629484
Patch55: sos-bz1039036-call-rhsm-debug-with-sos.patch
6b17e9
6b17e9
%description
6b17e9
Sos is a set of tools that gathers information about system
6b17e9
hardware and configuration. The information can then be used for
6b17e9
diagnostic purposes and debugging. Sos is commonly used to help
6b17e9
support technicians and developers.
6b17e9
6b17e9
%prep
6b17e9
%setup -q
6b17e9
%patch0 -p1
6b17e9
%patch1 -p1
6b17e9
%patch2 -p1
6b17e9
%patch3 -p1
6b17e9
%patch4 -p1
6b17e9
%patch5 -p1
6b17e9
%patch6 -p1
6b17e9
%patch7 -p1
6b17e9
%patch8 -p1
6b17e9
%patch9 -p1
6b17e9
%patch10 -p1
6b17e9
%patch11 -p1
6b17e9
%patch12 -p1
6b17e9
%patch13 -p1
6b17e9
%patch14 -p1
6b17e9
%patch15 -p1
6b17e9
%patch16 -p1
6b17e9
%patch17 -p1
6b17e9
%patch18 -p1
6b17e9
%patch19 -p1
6b17e9
%patch20 -p1
6b17e9
%patch21 -p1
6b17e9
%patch22 -p1
6b17e9
%patch23 -p1
6b17e9
%patch24 -p1
6b17e9
%patch25 -p1
6b17e9
%patch26 -p1
6b17e9
%patch27 -p1
6b17e9
%patch28 -p1
6b17e9
%patch29 -p1
6b17e9
%patch30 -p1
6b17e9
%patch31 -p1
629484
%patch32 -p1
629484
%patch33 -p1
629484
%patch34 -p1
629484
%patch35 -p1
629484
%patch36 -p1
629484
%patch37 -p1
629484
%patch38 -p1
629484
%patch39 -p1
629484
%patch40 -p1
629484
%patch41 -p1
629484
%patch42 -p1
629484
%patch43 -p1
629484
%patch44 -p1
629484
%patch45 -p1
629484
%patch46 -p1
629484
%patch47 -p1
629484
%patch48 -p1
629484
%patch49 -p1
629484
%patch50 -p1
629484
%patch51 -p1
629484
%patch52 -p1
629484
%patch53 -p1
629484
%patch54 -p1
629484
%patch55 -p1
6b17e9
6b17e9
%build
6b17e9
make
6b17e9
6b17e9
%install
6b17e9
rm -rf ${RPM_BUILD_ROOT}
6b17e9
make DESTDIR=${RPM_BUILD_ROOT} install
6b17e9
%find_lang %{name} || echo 0
6b17e9
6b17e9
%clean
6b17e9
rm -rf ${RPM_BUILD_ROOT}
6b17e9
6b17e9
%files -f %{name}.lang
6b17e9
%defattr(-,root,root,-)
6b17e9
%{_sbindir}/sosreport
6b17e9
%{_datadir}/%{name}
6b17e9
%{python_sitelib}/*
6b17e9
%{_mandir}/man1/*
6b17e9
%{_mandir}/man5/*
6b17e9
%doc AUTHORS README.md LICENSE 
6b17e9
%config(noreplace) %{_sysconfdir}/sos.conf
6b17e9
6b17e9
%changelog
629484
* Thu Mar 20 2014 Bryn M. Reeves <bmr@redhat.com> = 3.0-23
629484
- Call rhsm-debug with the --sos switch
629484
  Resolves: bz1039036
629484
629484
* Mon Mar 03 2014 Bryn M. Reeves <bmr@redhat.com> = 3.0-22
629484
- Fix package check in anacron plugin
629484
  Resolves: bz1067769
629484
629484
* Wed Feb 12 2014 Bryn M. Reeves <bmr@redhat.com> = 3.0-21
629484
- Remove obsolete rhel_version() usage from yum plugin
629484
  Resolves: bz916705
629484
629484
* Tue Feb 11 2014 Bryn M. Reeves <bmr@redhat.com> = 3.0-20
629484
- Prevent unhandled exception during command output substitution
629484
  Resolves: bz1030553
629484
629484
* Mon Feb 10 2014 Bryn M. Reeves <bmr@redhat.com> = 3.0-19
629484
- Fix generation of volume names in gluster plugin
629484
  Resolves: bz1036752
629484
- Add distupgrade plugin
629484
  Resolves: bz1059760
629484
629484
* Tue Feb 04 2014 Bryn M. Reeves <bmr@redhat.com> = 3.0-18
629484
- Prevent file descriptor leaks when using Popen
629484
  Resolves: bz1051009
629484
- Disable zip archive creation when running rhsm-debug
629484
  Resolves: bz1039036
629484
- Include volume geo-replication status in gluster plugin
629484
  Resolves: bz1036752
629484
629484
* Mon Feb 03 2014 Bryn M. Reeves <bmr@redhat.com> = 3.0-17
629484
- Fix get_option use in cluster plugin
629484
  Resolves: bz1030553
629484
- Fix debug logging to file when given '-v'
629484
  Resolves: bz1031126
629484
- Always treat rhevm plugin's vdsmlogs option as a string
629484
  Resolves: bz1030617
629484
- Run the rhsm-debug script from yum plugin
629484
  Resolves: bz1039036
629484
629484
* Fri Jan 31 2014 Bryn M. Reeves <bmr@redhat.com> = 3.0-16
629484
- Add new plugin to collect OpenHPI configuration
629484
  Resolves: bz1028121
629484
- Fix cluster plugin crm_report support
629484
  Resolves: bz1030553
629484
- Fix file postprocessing in ldap plugin
629484
  Resolves: bz1030602
629484
- Remove collection of anaconda-ks.cfg from general plugin
629484
  Resolves: bz1034865
629484
629484
* Fri Jan 24 2014 Bryn M. Reeves <bmr@redhat.com> = 3.0-15
629484
- Remove debug statements from logs plugin
629484
  Resolves: bz1030042
629484
- Make ethernet interface detection more robust
629484
  Resolves: bz1030824
629484
- Fix specifying multiple plugin options on the command line
629484
  Resolves: bz1031124
629484
- Make log and message levels match previous versions
629484
  Resolves: bz1031126
629484
- Log a warning message when external commands time out
629484
  Resolves: bz1034956
629484
- Remove --upload command line option
629484
  Resolves: bz1028484
629484
- Update sos UI text to match upstream
629484
  Resolves: bz1034970
629484
629484
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> = 3.0-14
629484
- Mass rebuild 2013-12-27
629484
629484
* Thu Nov 14 2013 Bryn M. Reeves <bmr@redhat.com> = 3.0-13
6b17e9
- Fix regressions introduced with --build option
6b17e9
  Resolves: bz1015599
6b17e9
6b17e9
* Tue Nov 12 2013 Bryn M. Reeves <bmr@redhat.com> = 3.0-12
6b17e9
- Fix typo in yum plug-in add_forbidden_paths
6b17e9
  Resolves: bz829297
6b17e9
- Add krb5 plug-in and drop collection of krb5.keytab
6b17e9
  Resolves: bz1028150
6b17e9
6b17e9
* Fri Nov  8 2013 Bryn M. Reeves <bmr@redhat.com> = 3.0-10
6b17e9
- Add nfs client plug-in
6b17e9
  Resolves: bz1028072
6b17e9
- Fix traceback when sar module force-enabled
6b17e9
  Resolves: bz1028125
6b17e9
6b17e9
* Thu Nov  7 2013 Bryn M. Reeves <bmr@redhat.com> = 3.0-9
6b17e9
- Restore --build command line option
6b17e9
  Resolves: bz1015599
6b17e9
- Collect saved vmcore-dmesg.txt files
6b17e9
  Resolves: bz1026959
6b17e9
- Normalize temporary directory paths
6b17e9
  Resolves: bz829069
6b17e9
6b17e9
* Tue Nov  5 2013 Bryn M. Reeves <bmr@redhat.com> = 3.0-7
6b17e9
- Add domainname output to NIS plug-in
6b17e9
  Resolves: bz1026906
6b17e9
- Collect /var/log/squid in squid plug-in
6b17e9
  Resolves: bz1026829
6b17e9
- Collect mountstats and mountinfo in filesys plug-in
6b17e9
  Resolves: bz1026869
6b17e9
- Add PowerPC plug-in from upstream
6b17e9
  Resolves: bz1025236
6b17e9
6b17e9
* Thu Oct 31 2013 Bryn M. Reeves <bmr@redhat.com> = 3.0-6
6b17e9
- Remove version checks in gluster plug-in
6b17e9
  Resolves: bz1015606
6b17e9
- Check for usable temporary directory
6b17e9
  Resolves: bz1019517
6b17e9
- Fix --alloptions command line option
6b17e9
  Resolves: bz1019356
6b17e9
- Fix configuration fail regression
6b17e9
  Resolves: bz1019516
6b17e9
6b17e9
* Wed Oct 30 2013 Bryn M. Reeves <bmr@redhat.com> = 3.0-5
6b17e9
- Include /etc/yaboot.conf in boot plug-in
6b17e9
  Resolves: bz1001966
6b17e9
- Fix collection of brctl output in networking plug-in
6b17e9
  Resolves: bz1019235
6b17e9
- Verify limited set of RPM packages by default
6b17e9
  Resolves: bz1019863
6b17e9
- Do not strip newlines from command output
6b17e9
  Resolves: bz1019338
6b17e9
- Limit default sar data collection
6b17e9
  Resolves: bz1001599
6b17e9
6b17e9
* Thu Oct 3 2013 Bryn M. Reeves <bmr@redhat.com> = 3.0-4
6b17e9
- Do not attempt to read RPC pseudo files in networking plug-in
6b17e9
  Resolves: bz996992, bz996994
6b17e9
- Restrict wbinfo collection to the current domain
6b17e9
  Resolves: bz997101
6b17e9
- Add obfuscation of luci secrets to cluster plug-in
6b17e9
  Resolves: bz997090
6b17e9
- Add XFS plug-in
6b17e9
  Resolves: bz997094
6b17e9
- Fix policy class handling of --tmp-dir
6b17e9
  Resolves: bz997083
6b17e9
- Do not set batch mode if stdin is not a TTY
6b17e9
  Resolves: bz1002943
6b17e9
- Attempt to continue when reading bad input in interactive mode
6b17e9
  Resolves: bz1002943
6b17e9
6b17e9
* Wed Aug 14 2013 Bryn M. Reeves <bmr@redhat.com> = 3.0-3
6b17e9
- Add crm_report support to cluster plug-in
6b17e9
  Resolves: bz839342
6b17e9
- Fix rhel_version() usage in cluster and s390 plug-ins
6b17e9
  Resolves: bz916705
6b17e9
- Strip trailing newline from command output
6b17e9
  Resolves: bz971420
6b17e9
6b17e9
* Mon Jun 10 2013 Bryn M. Reeves <bmr@redhat.com> = 3.0-2
6b17e9
- Silence 'could not run' messages at default verbosity
6b17e9
- New upstream release
6b17e9
6b17e9
* Thu May 23 2013 Bryn M. Reeves <bmr@redhat.com> = 2.2-39
6b17e9
- Always invoke tar with '-f-' option
6b17e9
6b17e9
* Mon Jan 21 2013 Bryn M. Reeves <bmr@redhat.com> = 2.2-38
6b17e9
- Fix interactive mode regression when --ticket unspecified
6b17e9
6b17e9
* Fri Jan 18 2013 Bryn M. Reeves <bmr@redhat.com> = 2.2-37
6b17e9
- Fix propagation of --ticket parameter in interactive mode
6b17e9
6b17e9
* Thu Jan 17 2013 Bryn M. Reeves <bmr@redhat.com> = 2.2-36
6b17e9
- Revert OpenStack patch
6b17e9
6b17e9
* Wed Jan  9 2013 Bryn M. Reeves <bmr@redhat.com> = 2.2-35
6b17e9
- Report --name and --ticket values as defaults
6b17e9
- Fix device-mapper command execution logging
6b17e9
- Fix data collection and rename PostreSQL module to pgsql
6b17e9
6b17e9
* Fri Oct 19 2012 Bryn M. Reeves <bmr@redhat.com> = 2.2-34
6b17e9
- Add support for content delivery hosts to RHUI module
6b17e9
6b17e9
* Thu Oct 18 2012 Bryn M. Reeves <bmr@redhat.com> = 2.2-33
6b17e9
- Add Red Hat Update Infrastructure module
6b17e9
- Collect /proc/iomem in hardware module
6b17e9
- Collect subscription-manager output in general module
6b17e9
- Collect rhsm log files in general module
6b17e9
- Fix exception in gluster module on non-gluster systems
6b17e9
- Fix exception in psql module when dbname is not given
6b17e9
6b17e9
* Wed Oct 17 2012 Bryn M. Reeves <bmr@redhat.com> = 2.2-32
6b17e9
- Collect /proc/pagetypeinfo in memory module
6b17e9
- Strip trailing newline from command output
6b17e9
- Add sanlock module
6b17e9
- Do not collect archived accounting files in psacct module
6b17e9
- Call spacewalk-debug from rhn module to collect satellite data
6b17e9
6b17e9
* Mon Oct 15 2012 Bryn M. Reeves <bmr@redhat.com> = 2.2-31
6b17e9
- Avoid calling volume status when collecting gluster statedumps
6b17e9
- Use a default report name if --name is empty
6b17e9
- Quote tilde characters passed to shell in RPM module
6b17e9
- Collect KDC and named configuration in ipa module
6b17e9
- Sanitize hostname characters before using as report path
6b17e9
- Collect /etc/multipath in device-mapper module
6b17e9
- New plug-in for PostgreSQL
6b17e9
- Add OpenStack module
6b17e9
- Avoid deprecated sysctls in /proc/sys/net
6b17e9
- Fix error logging when calling external programs
6b17e9
- Use ip instead of ifconfig to generate network interface lists
6b17e9
6b17e9
* Wed May 23 2012 Bryn M. Reeves <bmr@redhat.com> = 2.2-29
6b17e9
- Collect the swift configuration directory in gluster module
6b17e9
- Update IPA module and related plug-ins
6b17e9
6b17e9
* Fri May 18 2012 Bryn M. Reeves <bmr@redhat.com> = 2.2-28
6b17e9
- Collect mcelog files in the hardware module
6b17e9
6b17e9
* Wed May 02 2012 Bryn M. Reeves <bmr@redhat.com> = 2.2-27
6b17e9
- Add nfs statedump collection to gluster module
6b17e9
6b17e9
* Tue May 01 2012 Bryn M. Reeves <bmr@redhat.com> = 2.2-26
6b17e9
- Use wildcard to match possible libvirt log paths
6b17e9
6b17e9
* Mon Apr 23 2012 Bryn M. Reeves <bmr@redhat.com> = 2.2-25
6b17e9
- Add forbidden paths for new location of gluster private keys
6b17e9
6b17e9
* Fri Mar  9 2012 Bryn M. Reeves <bmr@redhat.com> = 2.2-24
6b17e9
- Fix katello and aeolus command string syntax
6b17e9
- Remove stray hunk from gluster module patch
6b17e9
6b17e9
* Thu Mar  8 2012 Bryn M. Reeves <bmr@redhat.com> = 2.2-22
6b17e9
- Correct aeolus debug invocation in CloudForms module
6b17e9
- Update gluster module for gluster-3.3
6b17e9
- Add additional command output to gluster module
6b17e9
- Add support for collecting gluster configuration and logs
6b17e9
6b17e9
* Wed Mar  7 2012 Bryn M. Reeves <bmr@redhat.com> = 2.2-19
6b17e9
- Collect additional diagnostic information for realtime systems
6b17e9
- Improve sanitization of RHN user and case number in report name
6b17e9
- Fix verbose output and debug logging
6b17e9
- Add basic support for CloudForms data collection
6b17e9
- Add support for Subscription Asset Manager diagnostics
6b17e9
6b17e9
* Tue Mar  6 2012 Bryn M. Reeves <bmr@redhat.com> = 2.2-18
6b17e9
- Collect fence_virt.conf in cluster module
6b17e9
- Fix collection of /proc/net directory tree
6b17e9
- Gather output of cpufreq-info when present
6b17e9
- Fix brctl showstp output when bridges contain multiple interfaces
6b17e9
- Add /etc/modprobe.d to kernel module
6b17e9
- Ensure relative symlink targets are correctly handled when copying
6b17e9
- Fix satellite and proxy package detection in rhn plugin
6b17e9
- Collect stderr output from external commands
6b17e9
- Collect /proc/cgroups in the cgroups module
6b17e9
  Resolve: bz784874
6b17e9
- Collect /proc/irq in the kernel module
6b17e9
- Fix installed-rpms formatting for long package names
6b17e9
- Add symbolic links for truncated log files
6b17e9
- Collect non-standard syslog and rsyslog log files
6b17e9
- Use correct paths for tomcat6 in RHN module
6b17e9
- Obscure root password if present in anacond-ks.cfg
6b17e9
- Do not accept embedded forward slashes in RHN usernames
6b17e9
- Add new sunrpc module to collect rpcinfo for gluster systems
6b17e9
6b17e9
* Tue Nov  1 2011 Bryn M. Reeves <bmr@redhat.com> = 2.2-17
6b17e9
- Do not collect subscription manager keys in general plugin
6b17e9
 
6b17e9
* Fri Sep 23 2011 Bryn M. Reeves <bmr@redhat.com> = 2.2-16
6b17e9
- Fix execution of RHN hardware.py from hardware plugin
6b17e9
- Fix hardware plugin to support new lsusb path
6b17e9
6b17e9
* Fri Sep 09 2011 Bryn M. Reeves <bmr@redhat.com> = 2.2-15
6b17e9
- Fix brctl collection when a bridge contains no interfaces
6b17e9
- Fix up2dateclient path in hardware plugin
6b17e9
6b17e9
* Mon Aug 15 2011 Bryn M. Reeves <bmr@redhat.com> = 2.2-14
6b17e9
- Collect brctl show and showstp output
6b17e9
- Collect nslcd.conf in ldap plugin
6b17e9
6b17e9
* Sun Aug 14 2011 Bryn M. Reeves <bmr@redhat.com> = 2.2-11
6b17e9
- Truncate files that exceed specified size limit
6b17e9
- Add support for collecting Red Hat Subscrition Manager configuration
6b17e9
- Collect /etc/init on systems using upstart
6b17e9
- Don't strip whitespace from output of external programs
6b17e9
- Collect ipv6 neighbour table in network module
6b17e9
- Collect basic cgroups configuration data
6b17e9
6b17e9
* Sat Aug 13 2011 Bryn M. Reeves <bmr@redhat.com> = 2.2-10
6b17e9
- Fix collection of data from LVM2 reporting tools in devicemapper plugin
6b17e9
- Add /proc/vmmemctl collection to vmware plugin
6b17e9
6b17e9
* Fri Aug 12 2011 Bryn M. Reeves <bmr@redhat.com> = 2.2-9
6b17e9
- Collect yum repository list by default
6b17e9
- Add basic Infiniband plugin
6b17e9
- Add plugin for scsi-target-utils iSCSI target
6b17e9
- Fix autofs plugin LC_ALL usage
6b17e9
- Fix collection of lsusb and add collection of -t and -v outputs
6b17e9
- Extend data collection by qpidd plugin
6b17e9
- Add ethtool pause, coalesce and ring (-a, -c, -g) options to network plugin
6b17e9
6b17e9
* Thu Apr 07 2011 Bryn M. Reeves <bmr@redhat.com> = 2.2-8
6b17e9
- Use sha256 for report digest when operating in FIPS mode
6b17e9
 
6b17e9
* Tue Apr 05 2011 Bryn M. Reeves <bmr@redhat.com> = 2.2-7
6b17e9
- Fix parted and dumpe2fs output on s390
6b17e9
6b17e9
* Fri Feb 25 2011 Bryn M. Reeves <bmr@redhat.com> = 2.2-6
6b17e9
- Fix collection of chkconfig output in startup.py
6b17e9
- Collect /etc/dhcp in dhcp.py plugin
6b17e9
- Collect dmsetup ls --tree output in devicemapper.py
6b17e9
- Collect lsblk output in filesys.py
6b17e9
6b17e9
* Thu Feb 24 2011 Bryn M. Reeves <bmr@redhat.com> = 2.2-4
6b17e9
- Fix collection of logs and config files in sssd.py
6b17e9
- Add support for collecting entitlement certificates in rhn.py
6b17e9
6b17e9
* Thu Feb 03 2011 Bryn M. Reeves <bmr@redhat.com> = 2.2-3
6b17e9
- Fix cluster plugin dlm lockdump for el6
6b17e9
- Add sssd plugin to collect configuration and logs
6b17e9
- Collect /etc/anacrontab in system plugin
6b17e9
- Correct handling of redhat-release for el6
6b17e9
6b17e9
* Thu Jul 29 2010 Adam Stokes <ajs at redhat dot com> = 2.2-2
6b17e9
6b17e9
* Thu Jun 10 2010 Adam Stokes <ajs at redhat dot com> = 2.2-0
6b17e9
6b17e9
* Wed Apr 28 2010 Adam Stokes <ajs at redhat dot com> = 2.1-0
6b17e9
6b17e9
* Mon Apr 12 2010 Adam Stokes <ajs at redhat dot com> = 2.0-0
6b17e9
6b17e9
* Tue Mar 30 2010 Adam Stokes <ajs at redhat dot com> = 1.9-3
6b17e9
- fix setup.py to autocompile translations and man pages
6b17e9
- rebase 1.9
6b17e9
6b17e9
* Fri Mar 19 2010 Adam Stokes <ajs at redhat dot com> = 1.9-2
6b17e9
- updated translations
6b17e9
6b17e9
* Thu Mar 04 2010 Adam Stokes <ajs at redhat dot com> = 1.9-1
6b17e9
- version bump 1.9
6b17e9
- replaced compression utility with xz
6b17e9
- strip threading/multiprocessing
6b17e9
- simplified progress indicator
6b17e9
- pylint update
6b17e9
- put global vars in class container
6b17e9
- unittests
6b17e9
- simple profiling
6b17e9
- make use of xgettext as pygettext is deprecated
6b17e9
6b17e9
* Mon Jan 18 2010 Adam Stokes <ajs at redhat dot com> = 1.8-21
6b17e9
- more sanitizing options for log files
6b17e9
- rhbz fixes from RHEL version merged into trunk
6b17e9
- progressbar update
6b17e9
6b17e9
* Tue Nov 19 2009 Adam Stokes <ajs at redhat dot com> = 1.8-20
6b17e9
- dont copy unwanted files due to symlinks
6b17e9
- More plugin enhancements
6b17e9
6b17e9
* Tue Nov 5 2009 Adam Stokes <ajs at redhat dot com> = 1.8-18
6b17e9
- Option to enable selinux fixfiles check
6b17e9
- Start of replacing Thread module with multiprocessing
6b17e9
- Update translations
6b17e9
- More checks against conf file versus command line opts
6b17e9
6b17e9
* Tue Sep 9 2009 Adam Stokes <ajs at redhat dot com> = 1.8-16
6b17e9
- Update rh-upload-core to rh-upload and allows general files
6b17e9
- Fix cluster plugin with pwd mangling invalidating xml
6b17e9
- Cluster support detecting invalid fence_id and fence states
6b17e9
- Read variables from conf file
6b17e9
6b17e9
* Thu Jul 23 2009 Adam Stokes <ajs at redhat dot com> = 1.8-14
6b17e9
- resolves: rhbz512536 wrong group in spec file
6b17e9
- resolves: rhbz498398 A series of refactoring patches to sos
6b17e9
- resolves: rhbz501149 A series of refactoring patches to sos (2)
6b17e9
- resolves: rhbz503804 remove obsolete translation
6b17e9
- resolves: rhbz502455 tricking sosreport into rm -rf /
6b17e9
- resolves: rhbz501146 branding in fedora
6b17e9
6b17e9
* Mon Jul 20 2009 Adam Stokes <ajs at redhat dot com> = 1.8-13
6b17e9
- Add requirements for tar,bzip2 during minimal installs
6b17e9
- More merges from reports against RHEL version of plugins
6b17e9
- Remove unecessary definition of localdir in spec
6b17e9
6b17e9
* Wed May 05 2009 Adam Stokes <ajs at redhat dot com> - 1.8-11
6b17e9
- Remove all instances of sysrq
6b17e9
- Consistent macro usage in spec
6b17e9
6b17e9
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-10
6b17e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6b17e9
6b17e9
* Mon Dec 29 2008 Adam Stokes <ajs at redhat dot com> - 1.8-5
6b17e9
- removed source defines as python manifest handles this
6b17e9
6b17e9
* Fri Dec 19 2008 Adam Stokes <ajs at redhat dot com> - 1.8-4
6b17e9
- spec cleanup, fixed license, source
6b17e9
- reworked Makefile to build properly
6b17e9
6b17e9
* Thu Oct 23 2008 Adam Stokes <astokes at redhat dot com> - 1.8-1
6b17e9
6b17e9
* Wed Nov 21 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.8-0
6b17e9
- selinux: always collect sestatus
6b17e9
- added many languages
6b17e9
- added --debug option which causes exceptions not to be trapped
6b17e9
- updated to sysreport-1.4.3-13.el5
6b17e9
- ftp upload to dropbox with --upload
6b17e9
- cluster: major rewrite to support different versions of RHEL
6b17e9
- cluster: check rg_test for errors
6b17e9
- minor changes in various plug-ins (yum, networking, process, kernel)
6b17e9
- fixed some exceptions in threads which were not properly trapped
6b17e9
- veritas: don't run rpm -qa every time
6b17e9
- using rpm's python bindings instead of external binary
6b17e9
- corrected autofs and ldap plugin that were failing when debug option was not found in config file.
6b17e9
- implemented built-in checkdebug() that uses self.files and self.packages to make the decision
6b17e9
- missing binaries are properly detected now.
6b17e9
- better doExitCode handling
6b17e9
- fixed problem with rpm module intercepting SIGINT
6b17e9
- error when user specifies an invalid plugin or plugin option
6b17e9
- named: fixed indentation
6b17e9
- replaced isOptionEnabled() with getOption()
6b17e9
- tune2fs and fdisk were not always run against the correct devices/mountpoint
6b17e9
- added gpg key to package
6b17e9
- updated README with new svn repo and contributors
6b17e9
- updated manpage
6b17e9
- better signal handling
6b17e9
- caching of rpm -q outputs
6b17e9
- report filename includes rhnUsername if available
6b17e9
- report encryption via gpg and support pubkey
6b17e9
- autofs: removed redundant files
6b17e9
- filesys: better handling of removable devices
6b17e9
- added sosReadFile() returns a file's contents
6b17e9
- return after looping inside a directory
6b17e9
- collect udevinfo for each block device
6b17e9
- simply collect output of fdisk -l in one go
6b17e9
- handle sysreport invocation properly (warn if shell is interactive, otherwise spawn sysreport.legacy)
6b17e9
- progress bar don't show 100% until finished() is called
6b17e9
- now runs on RHEL3 as well (python 2.2)
6b17e9
- replaced commonPrefix() with faster code
6b17e9
- filesys: one fdisk -l for all
6b17e9
- selinux: collect fixfilex check output
6b17e9
- devicemapper: collect udevinfo for all block devices
6b17e9
- cluster: validate node names according to RFC 2181
6b17e9
- systemtap: cleaned up and added checkenabled() method
6b17e9
- added kdump plugin
6b17e9
- added collection of /etc/inittab
6b17e9
6b17e9
* Wed Aug 13 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-8
6b17e9
- added README.rh-upload-core
6b17e9
6b17e9
* Mon Aug 13 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-7
6b17e9
- added extras/rh-upload-core script from David Mair <dmair@redhat.com>
6b17e9
6b17e9
* Mon Aug  9 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-6
6b17e9
- more language fixes
6b17e9
- added arabic, italian and french
6b17e9
- package prepared for release
6b17e9
- included sysreport as sysreport.legacy
6b17e9
6b17e9
* Mon Aug  9 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-5
6b17e9
- package obsoletes sysreport and creates a link pointing to sosreport
6b17e9
- added some commands in cluster and process plugins
6b17e9
- fixed html output (wrong links to cmds, thanks streeter)
6b17e9
- process: back down sleep if D state doesn't change
6b17e9
6b17e9
* Mon Aug  1 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-4
6b17e9
- catch KeyboardInterrupt when entering sosreport name
6b17e9
- added color output for increased readability
6b17e9
- list was sorted twice, removing latter .sort()
6b17e9
6b17e9
* Mon Jul 31 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-3
6b17e9
- added preliminary problem diagnosis support
6b17e9
- better i18n initialization
6b17e9
- better user messages
6b17e9
- more progressbar fixes
6b17e9
- catch and log python exceptions in report
6b17e9
- use python native commands to create symlinks
6b17e9
- limit concurrent running threads
6b17e9
6b17e9
* Mon Jul 28 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-2
6b17e9
- initial language localization support
6b17e9
- added italian translation
6b17e9
6b17e9
* Mon Jul 16 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-1
6b17e9
- split up command outputs in sub-directories (sos_command/plugin/command instead of sos_command/plugin.command)
6b17e9
- fixed doExitCode() calling thread.wait() instead of join()
6b17e9
- curses menu is disabled by default
6b17e9
- multithreading is enabled by default
6b17e9
- major progressbar changes (now has ETA)
6b17e9
- multithreading fixes
6b17e9
- plugins class descriptions shortened to fix better in --list-plugins
6b17e9
- rpm -Va in plugins/rpm.py sets eta_weight to 200 (plugin 200 longer than other plugins, for ETA calculation)
6b17e9
- beautified command output filenames in makeCommandFilename()
6b17e9
6b17e9
* Mon Jul 12 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-0
6b17e9
- curses menu disabled by default (enable with -c)
6b17e9
- sosreport output friendlier to the user (and similar to sysreport)
6b17e9
- smarter plugin listing which also shows options and disable/enabled plugins
6b17e9
- require root permissions only for actual sosreport generation
6b17e9
- fix in -k where option value was treated as string instead of int
6b17e9
- made progressbar wider (60 chars)
6b17e9
- selinux plugin is enabled only if selinux is also enabled on the system
6b17e9
- made some errors less verbose to the user
6b17e9
- made sosreport not copy files pointed by symbolic links (same as sysreport, we don't need /usr/bin/X or /sbin/ifup)
6b17e9
- copy links as links (cp -P)
6b17e9
- added plugin get_description() that returns a short decription for the plugin
6b17e9
- guess sosreport name from system's name
6b17e9
6b17e9
* Mon Jul  5 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.6-5
6b17e9
- Yet more fixes to make package Fedora compliant.
6b17e9
6b17e9
* Mon Jul  5 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.6-4
6b17e9
- More fixes to make package Fedora compliant.
6b17e9
6b17e9
* Mon Jul  2 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.6-3
6b17e9
- Other fixes to make package Fedora compliant.
6b17e9
6b17e9
* Mon Jul  2 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.6-2
6b17e9
- Minor fixes.
6b17e9
6b17e9
* Mon Jul  2 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.6-1
6b17e9
- Beautified output of --list-plugins.
6b17e9
- GPL licence is now included in the package.
6b17e9
- added python-devel requirement for building package
6b17e9
6b17e9
* Fri May 25 2007 Steve Conklin <sconklin at redhat dot com> - 1.5-1
6b17e9
- Bumped version
6b17e9
6b17e9
* Fri May 25 2007 Steve Conklin <sconklin at redhat dot com> - 1.4-2
6b17e9
- Fixed a backtrace on nonexistent file in kernel plugin (thanks, David Robinson)
6b17e9
6b17e9
* Mon Apr 30 2007 Steve Conklin <sconklin at redhat dot com> - 1.4-1
6b17e9
- Fixed an error in option handling
6b17e9
- Forced the file generated by traceroute to not end in .com
6b17e9
- Fixed a problem with manpage
6b17e9
- Added optional traceroute collection to networking plugin
6b17e9
- Added clalance's patch to gather iptables info.
6b17e9
- Fixes to the device-mapper plugin
6b17e9
- Fixed a problem with installation of man page
6b17e9
6b17e9
* Mon Apr 16 2007 Steve Conklin <sconklin at redhat dot com> - 1.3-3
6b17e9
- including patches to fix the following:
6b17e9
6b17e9
* Tue Feb 20 2007 John Berninger <jwb at redhat dot com> - 1.3-2
6b17e9
- Add man page
6b17e9
6b17e9
* Fri Dec 15 2006 Steve Conklin <sconklin at redhat dot com> - 1.3-1
6b17e9
- really fixed bz_219654
6b17e9
6b17e9
* Fri Dec 15 2006 Steve Conklin <sconklin at redhat dot com> - 1.2-1
6b17e9
- fixed a build problem
6b17e9
6b17e9
* Fri Dec 15 2006 Steve Conklin <sconklin at redhat dot com> - 1.1-1
6b17e9
- Tighten permissions of tmp directory so only readable by creator bz_219657
6b17e9
- Don't print message 'Problem at path ...'  bz_219654
6b17e9
- Removed useless message bz_219670
6b17e9
- Preserve file modification times bz_219674
6b17e9
- Removed unneeded message about files on copyProhibitedList bz_219712
6b17e9
6b17e9
* Wed Aug 30 2006 Steve Conklin <sconklin at redhat dot com> - 1.0-1
6b17e9
- Seperated upstream and RPM versioning
6b17e9
6b17e9
* Mon Aug 21 2006 Steve Conklin <sconklin at redhat dot com> - 0.1-11
6b17e9
- Code cleanup, fixed a regression in threading
6b17e9
6b17e9
* Mon Aug 14 2006 Steve Conklin <sconklin at redhat dot com> - 0.1-10
6b17e9
- minor bugfixes, added miltithreading option, setup now quiet
6b17e9
6b17e9
* Mon Jul 17 2006 Steve Conklin <sconklin at redhat dot com> - 0.1-9
6b17e9
- migrated to svn on 108.redhat.com, fixed a problem with command output linking in report
6b17e9
6b17e9
* Mon Jun 19 2006 Steve Conklin <sconklin at redhat dot com> - 0.1-6
6b17e9
- Added LICENSE file containing GPL
6b17e9
6b17e9
* Wed May 31 2006 Steve Conklin <sconklin at redhat dot com> - 0.1-5
6b17e9
- Added fixes to network plugin and prepped for Fedora submission
6b17e9
6b17e9
* Wed May 31 2006 John Berninger <jwb at redhat dot com> - 0.1-4
6b17e9
- Reconsolidated subpackages into one package per discussion with sconklin
6b17e9
6b17e9
* Mon May 22 2006 John Berninger <jwb at redhat dot com> - 0.1-3
6b17e9
- Added ftp, ldap, mail, named, samba, squid SOS plugins
6b17e9
- Fixed various errors in kernel and hardware plugins
6b17e9
6b17e9
* Mon May 22 2006 John Benringer <jwb at redhat dot com> - 0.1-2
6b17e9
- split off cluster plugin into subpackage
6b17e9
- correct file payload lists
6b17e9
6b17e9
* Mon May 22 2006 John Berninger <jwb at redhat dot com> - 0.1-1
6b17e9
- initial package build
6b17e9