Compare commits
No commits in common. "c8" and "a8-beta" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
SOURCES/sos-4.8.1.tar.gz
|
SOURCES/sos-4.5.0.tar.gz
|
||||||
SOURCES/sos-audit-0.3.tgz
|
SOURCES/sos-audit-0.3.tgz
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
26aee6ec0ad73c12a4ad0cf50c02082777d654cc SOURCES/sos-4.8.1.tar.gz
|
d5e166c75250aef01c86a3a9d8c9fcc8db335f4e SOURCES/sos-4.5.0.tar.gz
|
||||||
9d478b9f0085da9178af103078bbf2fd77b0175a SOURCES/sos-audit-0.3.tgz
|
9d478b9f0085da9178af103078bbf2fd77b0175a SOURCES/sos-audit-0.3.tgz
|
||||||
|
33
SOURCES/sos-almalinux-branding.patch
Normal file
33
SOURCES/sos-almalinux-branding.patch
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
diff -aruN sos-4.3/sos/policies/distros/redhat.py sos-4.3.alma/sos/policies/distros/redhat.py
|
||||||
|
--- sos-4.3/sos/policies/distros/redhat.py 2022-02-15 07:20:20.000000000 +0300
|
||||||
|
+++ sos-4.3.alma/sos/policies/distros/redhat.py 2022-10-10 11:40:12.000000000 +0300
|
||||||
|
@@ -434,6 +434,14 @@
|
||||||
|
vendor = "CentOS"
|
||||||
|
vendor_urls = [('Community Website', 'https://www.centos.org/')]
|
||||||
|
|
||||||
|
+class AlmaLinuxPolicy(RHELPolicy):
|
||||||
|
+ distro = "AlmaLinux"
|
||||||
|
+ vendor = "AlmaLinux OS Foundation"
|
||||||
|
+ vendor_urls = [
|
||||||
|
+ ('Distribution Website', 'https://www.almalinux.org/'),
|
||||||
|
+ ('Commercial Support', 'https://tuxcare.com/linux-support-services/')
|
||||||
|
+ ]
|
||||||
|
+
|
||||||
|
|
||||||
|
class RedHatAtomicPolicy(RHELPolicy):
|
||||||
|
distro = "Red Hat Atomic Host"
|
||||||
|
@@ -591,6 +599,14 @@
|
||||||
|
vendor = "CentOS"
|
||||||
|
vendor_urls = [('Community Website', 'https://www.centos.org/')]
|
||||||
|
|
||||||
|
+class AlmaLinuxAtomicPolicy(RedHatAtomicPolicy):
|
||||||
|
+ distro = "AlmaLinux Atomic Host"
|
||||||
|
+ vendor = "AlmaLinux OS Foundation"
|
||||||
|
+ vendor_urls = [
|
||||||
|
+ ('Distribution Website', 'https://www.almalinux.org/'),
|
||||||
|
+ ('Commercial Support', 'https://tuxcare.com/linux-support-services/')
|
||||||
|
+ ]
|
||||||
|
+
|
||||||
|
|
||||||
|
class FedoraPolicy(RedHatPolicy):
|
||||||
|
"""
|
131
SPECS/sos.spec
131
SPECS/sos.spec
@ -4,25 +4,29 @@
|
|||||||
|
|
||||||
Summary: A set of tools to gather troubleshooting information from a system
|
Summary: A set of tools to gather troubleshooting information from a system
|
||||||
Name: sos
|
Name: sos
|
||||||
Version: 4.8.1
|
Version: 4.5.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}.alma
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Source0: https://github.com/sosreport/sos/archive/%{version}/sos-%{version}.tar.gz
|
Source0: https://github.com/sosreport/sos/archive/%{version}/sos-%{version}.tar.gz
|
||||||
Source1: sos-audit-%{auditversion}.tgz
|
Source1: sos-audit-%{auditversion}.tgz
|
||||||
License: GPL-2.0-or-later
|
License: GPLv2+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Url: https://github.com/sosreport/sos
|
Url: https://github.com/sosreport/sos
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
Requires: bzip2
|
||||||
|
Requires: xz
|
||||||
Requires: python3-requests
|
Requires: python3-requests
|
||||||
Requires: python3-setuptools
|
|
||||||
Recommends: python3-magic
|
Recommends: python3-magic
|
||||||
Recommends: python3-pexpect
|
Recommends: python3-pexpect
|
||||||
Recommends: python3-pyyaml
|
Recommends: python3-pyyaml
|
||||||
Conflicts: vdsm < 4.40
|
Conflicts: vdsm < 4.40
|
||||||
Obsoletes: sos-collector
|
Obsoletes: sos-collector
|
||||||
|
|
||||||
|
# AlmaLinux patches
|
||||||
|
Patch1000: sos-almalinux-branding.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Sos is a set of tools that gathers information about system
|
Sos is a set of tools that gathers information about system
|
||||||
hardware and configuration. The information can then be used for
|
hardware and configuration. The information can then be used for
|
||||||
@ -33,16 +37,16 @@ support technicians and developers.
|
|||||||
%setup -qn %{name}-%{version}
|
%setup -qn %{name}-%{version}
|
||||||
%setup -T -D -a1 -q
|
%setup -T -D -a1 -q
|
||||||
|
|
||||||
|
# AlmaLinux patches
|
||||||
|
%patch1000 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install '--install-scripts=%{_sbindir}'
|
%py3_install '--install-scripts=%{_sbindir}'
|
||||||
rm -f %{buildroot}/usr/config/sos.conf
|
|
||||||
rm -f %{buildroot}/usr/config/tmpfilesd-sos-rh.conf
|
|
||||||
install -Dm644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
|
install -Dm644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
|
||||||
install -d -m 755 %{buildroot}%{_sysconfdir}/tmpfiles.d/
|
|
||||||
install -m 644 tmpfiles/tmpfilesd-sos-rh.conf %{buildroot}%{_sysconfdir}/tmpfiles.d/%{name}.conf
|
|
||||||
|
|
||||||
%find_lang %{name} || echo 0
|
%find_lang %{name} || echo 0
|
||||||
|
|
||||||
@ -61,7 +65,6 @@ mkdir -p %{buildroot}%{_sysconfdir}/sos/{cleaner,presets.d,extras.d,groups.d}
|
|||||||
%dir /etc/sos/presets.d
|
%dir /etc/sos/presets.d
|
||||||
%dir /etc/sos/extras.d
|
%dir /etc/sos/extras.d
|
||||||
%dir /etc/sos/groups.d
|
%dir /etc/sos/groups.d
|
||||||
/etc/tmpfiles.d/%{name}.conf
|
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
%{_mandir}/man1/sosreport.1.gz
|
%{_mandir}/man1/sosreport.1.gz
|
||||||
%{_mandir}/man1/sos-clean.1.gz
|
%{_mandir}/man1/sos-clean.1.gz
|
||||||
@ -76,6 +79,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/sos/{cleaner,presets.d,extras.d,groups.d}
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%config(noreplace) %{_sysconfdir}/sos/sos.conf
|
%config(noreplace) %{_sysconfdir}/sos/sos.conf
|
||||||
%config(noreplace) %{_sysconfdir}/sos/cleaner
|
%config(noreplace) %{_sysconfdir}/sos/cleaner
|
||||||
|
%config /usr/config/sos.conf
|
||||||
|
|
||||||
%package audit
|
%package audit
|
||||||
Summary: Audit use of some commands for support purposes
|
Summary: Audit use of some commands for support purposes
|
||||||
@ -104,113 +108,8 @@ of the system. Currently storage and filesystem commands are audited.
|
|||||||
%ghost /etc/audit/rules.d/40-sos-storage.rules
|
%ghost /etc/audit/rules.d/40-sos-storage.rules
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Oct 23 2024 Jan Jansky <jjansky@redhat.com> = 4.8.1-1
|
* Wed Mar 29 2023 Eduard Abdullin <eabdullin@almalinux.org> - 4.5.0-1.alma
|
||||||
- Update to 4.8.1 in RHEL 8
|
- AlmaLinux changes
|
||||||
Resolves: RHEL-64160
|
|
||||||
|
|
||||||
* Fri Sep 27 2024 Jan Jansky <jjansky@redhat.com> = 4.8.0-3
|
|
||||||
- Added credentials obfuscation from multiple files
|
|
||||||
Resolves: RHEL-58097
|
|
||||||
|
|
||||||
* Sat Sep 14 2024 Pierguido Lambri <plambri@redhat.com> = 4.8.0-2
|
|
||||||
- Resolves: RHEL-22732
|
|
||||||
Fix wrong formatting
|
|
||||||
|
|
||||||
* Mon Sep 09 2024 Pierguido Lambri <plambri@redhat.com> = 4.8.0-1
|
|
||||||
- New upstream release
|
|
||||||
Resolves: RHEL-58097
|
|
||||||
|
|
||||||
* Wed Aug 21 2024 Pavel Moravec <pmoravec@redhat.com> = 4.7.2-2
|
|
||||||
- reverting RHEL-22732 patch due to regressions
|
|
||||||
Resolves: RHEL-49779
|
|
||||||
|
|
||||||
* Fri Jun 21 2024 Pierguido Lambri <plambri@redhat.com> = 4.7.2-1
|
|
||||||
- New upstream release
|
|
||||||
Resolves: RHEL-40871
|
|
||||||
Resolves: RHEL-33703
|
|
||||||
Resolves: RHEL-22732
|
|
||||||
|
|
||||||
* Thu May 09 2024 Pavel Moravec <pmoravec@redhat.com> = 4.7.1-3
|
|
||||||
- [archive] Fix get_archive_root after files reordering
|
|
||||||
Resolves: RHEL-35945
|
|
||||||
|
|
||||||
* Mon Apr 08 2024 Jan Jansky <jjansky@redhat.com> = 4.7.1-1
|
|
||||||
- rebase to upstream 4.7.1
|
|
||||||
Resolves: RHEL-32104
|
|
||||||
|
|
||||||
* Tue Feb 20 2024 Jan Jansky <jjansky@redhat.com> = 4.7.0-1
|
|
||||||
- rebase to upstream 4.7.0
|
|
||||||
Resolves: RHEL-26111
|
|
||||||
|
|
||||||
* Thu Jan 11 2024 Pavel Moravec <pmoravec@redhat.com> = 4.6.1-1
|
|
||||||
- rebase to upstream 4.6.1
|
|
||||||
Resolves: RHEL-21173
|
|
||||||
- [redhat] Change authentication method for RHEL
|
|
||||||
Resolves: RHEL-21177
|
|
||||||
|
|
||||||
* Wed Oct 18 2023 Pavel Moravec <pmoravec@redhat.com> = 4.6.0-5
|
|
||||||
[pulpcore] Scrub AUTH_LDAP_BIND_PASSWORD value
|
|
||||||
Resolves: RHEL-13697
|
|
||||||
|
|
||||||
* Tue Oct 17 2023 Pavel Moravec <pmoravec@redhat.com> = 4.6.0-4
|
|
||||||
- [pulp] Fix dynaconf obfuscation and add AUTH_LDAP_BIND_PASSWORD
|
|
||||||
Resolves: RHEL-13697
|
|
||||||
|
|
||||||
* Fri Sep 01 2023 Pavel Moravec <pmoravec@redhat.com> = 4.6.0-2
|
|
||||||
- [openshift_ovn] Collect additional ovnkube node logs
|
|
||||||
Resolves: SUPDEV145
|
|
||||||
|
|
||||||
* Wed Aug 23 2023 Jan Jansky <jjansky@redhat.com> = 4.6.0-1
|
|
||||||
- [cleaner] Use data filter for extraction
|
|
||||||
Resolves: bz2218873
|
|
||||||
|
|
||||||
* Thu Jul 27 2023 Pavel Moravec <pmoravec@redhat.com> = 4.5.6-1
|
|
||||||
- Rebase sos to 4.5.6
|
|
||||||
Resolves: bz2226724
|
|
||||||
|
|
||||||
* Fri Jul 14 2023 Jan Jansky <jjansky@redhat.com> = 4.5.5-2
|
|
||||||
- Adding patch for mac obfuscation
|
|
||||||
Resolves: bz2218279
|
|
||||||
Resolves: bz2216608
|
|
||||||
Resolves: bz2207562
|
|
||||||
|
|
||||||
* Mon Jul 03 2023 Jan Jansky <jjansky@redhat.com> = 4.5.5-1
|
|
||||||
- [clean] Respect permissions of sanitised files
|
|
||||||
Resolves: bz2218279
|
|
||||||
- [plugin] Fix exception when calling os.makedirs
|
|
||||||
Resolves: bz2216608
|
|
||||||
- [cleaner] Enhance trailing characters list after AMC address
|
|
||||||
Resolves: bz2207562
|
|
||||||
|
|
||||||
* Thu Jun 01 2023 Pavel Moravec <pmoravec@redhat.com> = 4.5.4-1
|
|
||||||
- [plugins] collect strings before commands
|
|
||||||
Resolves: bz2203141
|
|
||||||
- [collector] collect report from primary node if in node_list
|
|
||||||
Resolves: bz2186460
|
|
||||||
- [powerpc] collect invscout logs
|
|
||||||
Resolves: bz2210543
|
|
||||||
- [rhc] New plugin for RHC
|
|
||||||
Resolves: bz2196649
|
|
||||||
|
|
||||||
* Fri May 05 2023 Jan Jansky <jjansky@redhat.com> = 4.5.3-1
|
|
||||||
- [report] Ignore case when scrubbing via do_file_sub
|
|
||||||
Resolves: bz2143272
|
|
||||||
- [subscription_manager] Scrub proxy passwords from repo_server_val
|
|
||||||
Resolves: bz2177282
|
|
||||||
- [virsh] Scrub passwords in virt-manager logs
|
|
||||||
Resolves: bz2184062
|
|
||||||
|
|
||||||
* Wed Mar 08 2023 Pavel Moravec <pmoravec@redhat.com> = 4.5.1-3
|
|
||||||
- Rebase on upstream 4.5.1
|
|
||||||
Resolves: bz2175806
|
|
||||||
- [composer] Capure /etc/osbuild-composer file
|
|
||||||
Resolves: bz2169776
|
|
||||||
- [ostree] Collect "ostree fsck" under plugin specific opt
|
|
||||||
Resolves: bz2161533
|
|
||||||
- [iprconfig] guard whole plugin by sg kmod predicate
|
|
||||||
Resolves: bz2176086
|
|
||||||
- [cleaner] dont clean sys_tmp from final_path
|
|
||||||
Resolves: bz2176218
|
|
||||||
|
|
||||||
* Tue Feb 07 2023 Pavel Moravec <pmoravec@redhat.com> = 4.5.0-1
|
* Tue Feb 07 2023 Pavel Moravec <pmoravec@redhat.com> = 4.5.0-1
|
||||||
- Rebase on upstream 4.5.0
|
- Rebase on upstream 4.5.0
|
||||||
|
Loading…
Reference in New Issue
Block a user