import sos-4.1-1.el8
This commit is contained in:
commit
45825dca01
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
SOURCES/sos-4.1.tar.gz
|
||||
SOURCES/sos-audit-0.3.tgz
|
2
.sos.metadata
Normal file
2
.sos.metadata
Normal file
@ -0,0 +1,2 @@
|
||||
7d4d03af232e2357e3359ad564a59f4c3654eac0 SOURCES/sos-4.1.tar.gz
|
||||
9d478b9f0085da9178af103078bbf2fd77b0175a SOURCES/sos-audit-0.3.tgz
|
161
SPECS/sos.spec
Normal file
161
SPECS/sos.spec
Normal file
@ -0,0 +1,161 @@
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
%global auditversion 0.3
|
||||
|
||||
Summary: A set of tools to gather troubleshooting information from a system
|
||||
Name: sos
|
||||
Version: 4.1
|
||||
Release: 1%{?dist}
|
||||
Group: Applications/System
|
||||
Source0: https://github.com/sosreport/sos/archive/%{version}/sos-%{version}.tar.gz
|
||||
Source1: sos-audit-%{auditversion}.tgz
|
||||
License: GPLv2+
|
||||
BuildArch: noarch
|
||||
Url: http://github.com/sosreport/sos
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: gettext
|
||||
Requires: libxml2-python3
|
||||
Requires: bzip2
|
||||
Requires: xz
|
||||
Conflicts: vdsm < 4.40
|
||||
Obsoletes: sos-collector
|
||||
Recommends: python3-pexpect
|
||||
|
||||
|
||||
%description
|
||||
Sos is a set of tools that gathers information about system
|
||||
hardware and configuration. The information can then be used for
|
||||
diagnostic purposes and debugging. Sos is commonly used to help
|
||||
support technicians and developers.
|
||||
|
||||
%prep
|
||||
%setup -qn %{name}-%{version}
|
||||
%setup -T -D -a1 -q
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install '--install-scripts=%{_sbindir}'
|
||||
|
||||
install -Dm644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
|
||||
|
||||
%find_lang %{name} || echo 0
|
||||
|
||||
cd %{name}-audit-%{auditversion}
|
||||
DESTDIR=%{buildroot} ./install.sh
|
||||
cd ..
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/sos/cleaner
|
||||
|
||||
%files -f %{name}.lang
|
||||
%{_sbindir}/sosreport
|
||||
%{_sbindir}/sos
|
||||
%{_sbindir}/sos-collector
|
||||
%{python3_sitelib}/*
|
||||
%{_mandir}/man1/sosreport.1.gz
|
||||
%{_mandir}/man1/sos-clean.1.gz
|
||||
%{_mandir}/man1/sos-collect.1.gz
|
||||
%{_mandir}/man1/sos-collector.1.gz
|
||||
%{_mandir}/man1/sos-mask.1.gz
|
||||
%{_mandir}/man1/sos-report.1.gz
|
||||
%{_mandir}/man1/sos.1.gz
|
||||
%{_mandir}/man5/sos.conf.5.gz
|
||||
%doc AUTHORS README.md
|
||||
%license LICENSE
|
||||
%config(noreplace) %{_sysconfdir}/sos/sos.conf
|
||||
%config(noreplace) %{_sysconfdir}/sos/cleaner
|
||||
%config /usr/config/sos.conf
|
||||
|
||||
%package audit
|
||||
Summary: Audit use of some commands for support purposes
|
||||
License: GPLv2+
|
||||
Group: Application/System
|
||||
|
||||
%description audit
|
||||
|
||||
Sos-audit provides configuration files for the Linux Auditing System
|
||||
to track the use of some commands capable of changing the configuration
|
||||
of the system. Currently storage and filesystem commands are audited.
|
||||
|
||||
%post audit
|
||||
%{_sbindir}/sos-audit.sh
|
||||
|
||||
%files audit
|
||||
%defattr(755,root,root,-)
|
||||
%{_sbindir}/sos-audit.sh
|
||||
%defattr(644,root,root,-)
|
||||
%config(noreplace) %{_sysconfdir}/sos/sos-audit.conf
|
||||
%defattr(444,root,root,-)
|
||||
%{_prefix}/lib/sos/audit/*
|
||||
%{_mandir}/man5/sos-audit.conf.5.gz
|
||||
%{_mandir}/man8/sos-audit.sh.8.gz
|
||||
%ghost /etc/audit/rules.d/40-sos-filesystem.rules
|
||||
%ghost /etc/audit/rules.d/40-sos-storage.rules
|
||||
|
||||
%changelog
|
||||
* Mon Apr 26 2021 Pavel Moravec <pmoravec@redhat.com> = 4.1-1
|
||||
- Rebase on upstream 4.1
|
||||
Resolves: bz1928679
|
||||
|
||||
* Tue Feb 16 2021 Pavel Moravec <pmoravec@redhat.com> = 4.0-8
|
||||
- Automatically create directory for sos-cleaner default_mapping
|
||||
Resolves: bz1923937
|
||||
|
||||
* Fri Jan 29 2021 Pavel Moravec <pmoravec@redhat.com> = 4.0-7
|
||||
- [kdump] Gather the file kexec-dmesg.log
|
||||
Resolves: bz1887402
|
||||
- [Policy] Handle additional FTP authentication issues
|
||||
Resolves: bz1916729
|
||||
|
||||
* Thu Jan 21 2021 Pavel Moravec <pmoravec@redhat.com> = 4.0-6
|
||||
- [networking] Collect 'ethtool -e <device>' conditionally only
|
||||
Resolves: bz1917196
|
||||
|
||||
* Wed Jan 06 2021 Pavel Moravec <pmoravec@redhat.com> = 4.0-5
|
||||
- [component] honour plugopts from config file
|
||||
Resolves: bz1912889
|
||||
- [collector] declare sysroot for each component
|
||||
Resolves: bz1912821
|
||||
- [plugins] Dont stop collecting by empty specfile when sizelimit=0
|
||||
Resolves: bz1912910
|
||||
|
||||
* Mon Jan 04 2021 Pavel Moravec <pmoravec@redhat.com> = 4.0-4
|
||||
- [component] Use sysroot from Policy when opts doesn't specify it
|
||||
Resolves: bz1881118
|
||||
|
||||
* Mon Dec 14 2020 Pavel Moravec <pmoravec@redhat.com> = 4.0-3
|
||||
- [ovirt] collect /etc/pki/ovirt-engine/.truststore
|
||||
Resolves: bz1848095
|
||||
- [collector] allow overriding plain --cluster-type
|
||||
Resolves: bz1895316
|
||||
- [component] Add log verbosity from presets
|
||||
Resolves: bz1904045
|
||||
- [options] Fix --log-size=0 being ignored and unreported
|
||||
Resolves: bz1905657
|
||||
- [report] collect broken symlinks
|
||||
Resolves: bz1906598
|
||||
|
||||
* Thu Oct 29 2020 Pavel Moravec <pmoravec@redhat.com> = 4.0-2
|
||||
- [cleaner] more streamlined sanitize_item method
|
||||
Resolves: bz1827801
|
||||
- [openstack_ironic] Missing ironic-inspector configs
|
||||
Resolves: bz1874295
|
||||
- Add support to collect hardware component logs
|
||||
Resolves: bz1880372
|
||||
- [crio] collect /etc/crio/crio.conf.d/
|
||||
Resolves: bz1881118
|
||||
- [policy] Handle additional failure conditions for FTP uploads
|
||||
Resolves: bz1882368
|
||||
- [filesys] never collect content of /proc/fs/panfs
|
||||
Resolves: bz1886782
|
||||
- [kdump] Collect new kdump logfiles
|
||||
Resolves: bz1887390
|
||||
- [stratis] Collect key list and report engine
|
||||
Resolves: bz1888012
|
||||
- return tmp-dir with absolute path
|
||||
Resolves: bz1891562
|
||||
|
||||
* Tue Oct 13 2020 Pavel Moravec <pmoravec@redhat.com> = 4.0-1
|
||||
- Rebase on upstream 4.0
|
||||
Resolves: bz1827801
|
Loading…
Reference in New Issue
Block a user