Compare commits

..

No commits in common. "c8" and "a9-beta" have entirely different histories.
c8 ... a9-beta

9 changed files with 193 additions and 592 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/sos-4.9.1.tar.gz SOURCES/sos-4.5.0.tar.gz
SOURCES/sos-audit-0.3-1.tgz SOURCES/sos-audit-0.3.tgz

View File

@ -1,2 +1,2 @@
9c7e8309a950a99ccd4f02268b7b842374f7da16 SOURCES/sos-4.9.1.tar.gz d5e166c75250aef01c86a3a9d8c9fcc8db335f4e SOURCES/sos-4.5.0.tar.gz
00752b68ec5e1141192a9dab7d44377b8d637bf7 SOURCES/sos-audit-0.3-1.tgz 9d478b9f0085da9178af103078bbf2fd77b0175a SOURCES/sos-audit-0.3.tgz

View File

@ -0,0 +1,36 @@
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-24 10:54:24.000000000 +0300
@@ -435,6 +435,16 @@
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"
msg = _("""\
@@ -592,6 +602,15 @@
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):
"""
The policy for Fedora based systems, regardless of spin/edition. This

View File

@ -1,37 +0,0 @@
From 1d449044caf2224da5e55d0de51459137feb0807 Mon Sep 17 00:00:00 2001
From: Pavel Moravec <pmoravec@redhat.com>
Date: Sun, 25 May 2025 11:46:34 +0200
Subject: [PATCH] [cleaner] Use "hostname -f" in HostnamePrepper
HostnamePrepper should always be fed by FQDN to ensure domain names are
recognized properly.
This is important esp. when:
- /etc/hosts is empty
- "hostname" contains shortname only
- "hostname -f" contains FQDN
Resolves: #4022
Closes: #4026
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
---
sos/cleaner/preppers/hostname.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sos/cleaner/preppers/hostname.py b/sos/cleaner/preppers/hostname.py
index 0812597e..b20f5679 100644
--- a/sos/cleaner/preppers/hostname.py
+++ b/sos/cleaner/preppers/hostname.py
@@ -29,7 +29,7 @@ class HostnamePrepper(SoSPrepper):
items = []
_file = 'hostname'
if archive.is_sos:
- _file = 'sos_commands/host/hostname'
+ _file = 'sos_commands/host/hostname_-f'
elif archive.is_insights:
_file = 'data/insights_commands/hostname_-f'
--
2.49.0

View File

@ -1,30 +0,0 @@
From c41fca3daed8b515c4022ab02232acab8b1ec4c4 Mon Sep 17 00:00:00 2001
From: Pavel Moravec <pmoravec@redhat.com>
Date: Tue, 20 May 2025 13:18:26 +0200
Subject: [PATCH] [dnf] Scrub passwords in repository URIs
Closes: #4018
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
---
sos/report/plugins/dnf.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/sos/report/plugins/dnf.py b/sos/report/plugins/dnf.py
index 4a1e52b9..69224955 100644
--- a/sos/report/plugins/dnf.py
+++ b/sos/report/plugins/dnf.py
@@ -150,4 +150,10 @@ class DNFPlugin(Plugin, RedHatPlugin):
#
self.do_file_sub("/etc/dnf/dnf.conf", regexp, repl)
+ # Scrub credentials in http URIs
+ self.do_paths_http_sub([
+ '/etc/yum.repos.d/*',
+ '/var/log/dnf.*',
+ ])
+
# vim: set et ts=4 sw=4 :
--
2.49.0

View File

@ -1,111 +0,0 @@
From 369e65acafa70a6d7a9751802395bddaaeafd141 Mon Sep 17 00:00:00 2001
From: Jose Castillo <jcastillo@redhat.com>
Date: Wed, 21 May 2025 10:10:41 +0100
Subject: [PATCH] [policy] Re-add logic to request case-id if not present
This commit re-adds the logic to ask for case-id if
the user hasn't specified it in the command line
explicitly.
Related: RHEL-92071
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
---
sos/policies/distros/__init__.py | 18 ++++++++++++++++--
sos/upload/__init__.py | 3 +++
sos/upload/targets/redhat.py | 22 ++--------------------
3 files changed, 21 insertions(+), 22 deletions(-)
diff --git a/sos/policies/distros/__init__.py b/sos/policies/distros/__init__.py
index 06327a6b..7004fdbd 100644
--- a/sos/policies/distros/__init__.py
+++ b/sos/policies/distros/__init__.py
@@ -13,6 +13,7 @@
import os
import re
+from sos import _sos as _
from sos.policies import Policy
from sos.policies.init_systems import InitSystem
from sos.policies.init_systems.systemd import SystemdInit
@@ -300,8 +301,21 @@ class LinuxPolicy(Policy):
if cmdline_opts.low_priority:
self._configure_low_priority()
- if cmdline_opts.case_id:
- self.case_id = cmdline_opts.case_id
+ # set or query for case id
+ self.case_id = self.prompt_for_case_id(cmdline_opts)
+
+ def prompt_for_case_id(self, cmdline_opts):
+ if not cmdline_opts.batch and not \
+ cmdline_opts.quiet:
+ if not cmdline_opts.case_id:
+ cmdline_opts.case_id = input(
+ _("Optionally, please enter the case id that you are "
+ "generating this report for: ")
+ )
+ self.case_id = cmdline_opts.case_id if \
+ cmdline_opts.case_id else ""
+
+ return self.case_id
def _configure_low_priority(self):
"""Used to constrain sos to a 'low priority' execution, potentially
diff --git a/sos/upload/__init__.py b/sos/upload/__init__.py
index 97872f69..7be33f65 100644
--- a/sos/upload/__init__.py
+++ b/sos/upload/__init__.py
@@ -282,6 +282,9 @@ this utility.
if self.from_cmdline:
self.intro()
self.archive = self.opts.upload_file
+ self.caseid = self.policy.prompt_for_case_id(
+ cmdline_opts=self.opts
+ )
cmdline_target = self.opts.upload_target
if cmdline_target and cmdline_target != 'local':
self.upload_target = self.upload_targets[cmdline_target]
diff --git a/sos/upload/targets/redhat.py b/sos/upload/targets/redhat.py
index b3e8e3c5..d5262af0 100644
--- a/sos/upload/targets/redhat.py
+++ b/sos/upload/targets/redhat.py
@@ -52,25 +52,6 @@ class RHELUploadTarget(UploadTarget):
self.upload_directory = self.commons['cmdlineopts'].upload_directory
- def prompt_for_case_id(self):
- caseid = self.commons['cmdlineopts'].case_id if \
- self.commons['cmdlineopts'].case_id else ""
-
- # set or query for case id
- if not self.commons['cmdlineopts'].batch and not \
- self.commons['cmdlineopts'].quiet:
- if caseid:
- self.commons['cmdlineopts'].case_id = caseid
- else:
- self.commons['cmdlineopts'].case_id = input(
- _("Optionally, please enter the case id that you are "
- "generating this report for: ")
- )
- if self.commons['cmdlineopts'].case_id:
- self.case_id = self.commons['cmdlineopts'].case_id
-
- return self.case_id
-
def prompt_for_upload_user(self):
if self.commons['cmdlineopts'].upload_user:
self.ui_log.info(
@@ -101,7 +82,8 @@ class RHELUploadTarget(UploadTarget):
if self.commons['cmdlineopts'].upload_protocol == 'sftp':
return self.RH_SFTP_HOST
if not self.commons['cmdlineopts'].case_id and not\
- self.prompt_for_case_id():
+ self.commons['policy'].prompt_for_case_id(
+ self.commons['cmdlineopts']):
return self.RH_SFTP_HOST
except Exception as e:
--
2.49.0

View File

@ -1,25 +0,0 @@
--- a/sos/report/plugins/coredump.py
+++ b/sos/report/plugins/coredump.py
@@ -72,8 +72,8 @@
cdump = line.split()
pid = cdump[4]
exe = cdump[-2]
- if regex := self.get_option("executable"):
- if not re.search(regex, exe, re.I):
+ if self.get_option("executable"):
+ if not re.search(self.get_option("executable"), exe, re.I):
continue
cinfo = self.collect_cmd_output(f"coredumpctl info {pid}")
if cinfo['status'] != 0:
--- a/sos/collector/sosnode.py
+++ b/sos/collector/sosnode.py
@@ -372,7 +372,8 @@
for line in result.splitlines():
if not is_list:
try:
- if ls := line.split():
+ ls = line.split()
+ if ls:
res.append(ls[0])
except Exception as err:
self.log_debug(f"Error parsing sos help: {err}")

View File

@ -1,29 +0,0 @@
--- /dev/null 2025-04-03 01:35:45.132999852 +0200
+++ sos-4.9.1/bin/sosreport 2025-04-15 13:54:04.924751581 +0200
@@ -0,0 +1,5 @@
+#!/usr/bin/python3
+msg = ("sosreport binary is deprecated, use 'sos report' instead")
+print(msg)
+
+# vim:ts=4 et sw=4
--- /dev/null 2025-04-03 01:35:45.132999852 +0200
+++ sos-4.9.1/bin/sos-collector 2025-04-15 15:10:17.780281627 +0200
@@ -0,0 +1,5 @@
+#!/usr/bin/python3
+msg = ("sos-collector binary is deprecated, use 'sos collector' instead")
+print(msg)
+
+# vim:ts=4 et sw=4
--- sos-4.9.1/setup.py 2025-04-15 15:17:21.938635468 +0200
+++ sos-4.9.1/setup.py 2025-04-15 15:17:41.328198501 +0200
@@ -19,7 +19,7 @@
maintainer_email='jacob.r.hunsaker@gmail.com',
url='https://github.com/sosreport/sos',
license="GPLv2+",
- scripts=['bin/sos'],
+ scripts=['bin/sos', 'bin/sosreport', 'bin/sos-collector'],
data_files=[
('share/man/man1', ['man/en/sos-report.1', 'man/en/sos.1',
'man/en/sos-collect.1', 'man/en/sos-clean.1',

View File

@ -1,32 +1,34 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%global auditversion 0.3-1 %global auditversion 0.3
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.9.1 Version: 4.5.0
Release: 2%{?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: tar
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 <= 1.9
Patch1: sos-python36-walrus-operator.patch
Patch2: sosreport-binary.patch
Patch3: sos-cleaner-Use-hostname-f-in-HostnamePrepper.patch
Patch4: sos-dnf-Scrub-passwords-in-repository-URIs.patch # almalinux
Patch5: sos-policy-Re-add-logic-to-request-case-id-if-not-presen.patch 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
@ -37,22 +39,25 @@ support technicians and developers.
%prep %prep
%setup -qn %{name}-%{version} %setup -qn %{name}-%{version}
%setup -T -D -a1 -q %setup -T -D -a1 -q
%patch -P 1 -p1
%patch -P 2 -p1
%patch -P 3 -p1 # almalinux
%patch -P 4 -p1 %patch1000 -p1
%patch -P 5 -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 -d -m 755 %{buildroot}%{_sysconfdir}/%{name}
install -Dm644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf install -d -m 700 %{buildroot}%{_sysconfdir}/%{name}/cleaner
install -d -m 755 %{buildroot}%{_sysconfdir}/tmpfiles.d/ install -d -m 755 %{buildroot}%{_sysconfdir}/%{name}/presets.d
install -m 644 tmpfiles/tmpfilesd-sos-rh.conf %{buildroot}%{_sysconfdir}/tmpfiles.d/%{name}.conf install -d -m 755 %{buildroot}%{_sysconfdir}/%{name}/groups.d
install -d -m 755 %{buildroot}%{_sysconfdir}/%{name}/extras.d
install -m 644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
rm -rf %{buildroot}/usr/config/
%find_lang %{name} || echo 0 %find_lang %{name} || echo 0
@ -60,35 +65,28 @@ cd %{name}-audit-%{auditversion}
DESTDIR=%{buildroot} ./install.sh DESTDIR=%{buildroot} ./install.sh
cd .. cd ..
mkdir -p %{buildroot}%{_sysconfdir}/sos/{cleaner,presets.d,extras.d,groups.d}
# internationalization is currently broken. Uncomment this line once fixed. # internationalization is currently broken. Uncomment this line once fixed.
# %%files -f %%{name}.lang # %%files -f %%{name}.lang
%files %files
%{_sbindir}/sos %{_sbindir}/sos
%{_sbindir}/sosreport %{_sbindir}/sosreport
%{_sbindir}/sos-collector %{_sbindir}/sos-collector
#%dir /etc/sos/cleaner
%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/sos-clean.1.gz %{_mandir}/man1/*
%{_mandir}/man1/sos-upload.1.gz
%{_mandir}/man1/sos-collect.1.gz
%{_mandir}/man1/sos-help.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 %{_mandir}/man5/sos.conf.5.gz
%doc AUTHORS README.md %doc AUTHORS README.md
%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
%package audit %package audit
Summary: Audit use of some commands for support purposes Summary: Audit use of some commands for support purposes
License: GPL-2.0-or-later License: GPLv2+
Group: Application/System Group: Application/System
%description audit %description audit
@ -111,447 +109,246 @@ of the system. Currently storage and filesystem commands are audited.
%{_mandir}/man8/sos-audit.sh.8.gz %{_mandir}/man8/sos-audit.sh.8.gz
%ghost /etc/audit/rules.d/40-sos-filesystem.rules %ghost /etc/audit/rules.d/40-sos-filesystem.rules
%ghost /etc/audit/rules.d/40-sos-storage.rules %ghost /etc/audit/rules.d/40-sos-storage.rules
%license LICENSE
%changelog %changelog
* Fri May 30 2025 Jan Jansky <jjansky@redhat.com> = 4.9.1-2 * Wed Mar 29 2023 Eduard Abdullin <eabdullin@almalinux.org> - 4.5.0-1.alma
- Update to 4.9.1-2 in RHEL 8 - Debrand for AlmaLinux
Resolves: RHEL-86645
* Tue Apr 15 2025 Jan Jansky <jjansky@redhat.com> = 4.9.1-1
- Update to 4.9.1 in RHEL 8
Resolves: RHEL-86645
* Tue Jan 07 2025 Jan Jansky <jjansky@redhat.com> = 4.8.2-1
- Update to 4.8.2 in RHEL 8
Resolves: RHEL-72941
* Wed Oct 23 2024 Jan Jansky <jjansky@redhat.com> = 4.8.1-1
- Update to 4.8.1 in RHEL 8
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
Resolves: bz2082614 Resolves: bz2082615
* Thu Nov 03 2022 Pavel Moravec <pmoravec@redhat.com> = 4.4-4 * Thu Nov 03 2022 Pavel Moravec <pmoravec@redhat.com> = 4.4-4
- [ocp] Add newly required labels to temp OCP namespace - [ocp] Add newly required labels to temp OCP namespace
Resolves: bz2130922 Resolves: bz2130976
* Fri Oct 28 2022 Pavel Moravec <pmoravec@redhat.com> = 4.4-3 * Fri Oct 28 2022 Pavel Moravec <pmoravec@redhat.com> = 4.4-3
- [cleaner] Apply compile_regexes after a regular parse line - [cleaner] Apply compile_regexes after a regular parse line
Resolves: bz2138173 Resolves: bz2138174
* Thu Sep 22 2022 Pavel Moravec <pmoravec@redhat.com> = 4.4-2 * Thu Sep 22 2022 Pavel Moravec <pmoravec@redhat.com> = 4.4-2
- [utilities] Relax from hard dependency of python3-magic - [utilities] Relax from hard dependency of python3-magic
Resolves: bz2129038 Resolves: bz2126089
- [dnf] Collect legacy yum config symlinks, properly obfuscate pwds - [dnf] Collect legacy yum config symlinks, properly obfuscate pwds
Resolves: bz2100154 Resolves: bz2125499
* Fri Sep 09 2022 Pavel Moravec <pmoravec@redhat.com> = 4.4-1 * Fri Sep 09 2022 Pavel Moravec <pmoravec@redhat.com> = 4.4-1
- Rebase on upstream 4.4 - Rebase on upstream 4.4
Resolves: bz2082614 Resolves: bz2082615
- [redhat] Honour credential-less --upload-url on RedHat distro properly - [redhat] Honour credential-less --upload-url on RedHat distro properly
Resolves: bz2059572 Resolves: bz2059573
- [sos] Fix unhandled exception when concurrently removing temp dir
Resolves: bz2088439
- [specfile] drop python3-libxml2 dependency
Resolves: bz2125486
- [md] Restrict data capture to raid members - [md] Restrict data capture to raid members
Resolves: bz2125485 Resolves: bz2062283
- [cleaner] Use compiled regex lists for parsers by default - [sos] Fix unhandled exception when concurrently removing temp dir
Resolves: bz2043233 Resolves: bz2088440
- [cgroups] not collect memory.kmem.slabinfo
Resolves: bz1995120
- [report] Fix loop devices data gathering
Resolves: bz2010735
- [insights] Collect /var/lib/insights
Resolves: bz2103233
- [candlepin] collect information about SCA
Resolves: bz2060925
- [manpages] Clarify --upload-directory applicable to FTP protocol only
Resolves: bz2063259
- [cleaner] Dont obfuscate tmpdir path of local private_map
Resolves: bz2064815
- [fibrechannel] collect Cisco fnic statistics
Resolves: bz2074715
- [pulpcore] Collect db_tables_sizes
Resolves: bz2081433
- [fibrechannel]: Update fibrechannel plugin to collect HBA logs
Resolves: bz2089591
- [arcconf]: Update arcconf plugin to collect UART logs
Resolves: bz2090283
- [pulpcore] Stop collecting commands relevant to old taskig system
Resolves: bz2093191
- [dnf,yum] Merge plugins into dnf, remove yum plugin
Resolves: bz2100154
- [policies] Simplify flow in _container_init()
Resolves: bz2100480
- [pacemaker] Update collect cluster profile for pacemaker
Resolves: bz2065821
* Mon Aug 29 2022 Pavel Moravec <pmoravec@redhat.com> = 4.3-3 * Mon Aug 29 2022 Pavel Moravec <pmoravec@redhat.com> = 4.3-3
- [vdsm] Set LVM option use_devicesfile=0 - [vdsm] Set LVM option use_devicesfile=0
Resolves: bz2093993 Resolves: bz2122355
- [Plugin] Make forbidden path checks more efficient - [Plugin] Make forbidden path checks more efficient
Resolves: bz2099598 Resolves: bz2122354
* Thu Jun 16 2022 Pavel Moravec <pmoravec@redhat.com> = 4.3-2 * Thu Jun 16 2022 Pavel Moravec <pmoravec@redhat.com> = 4.3-2
- [ovirt] answer files: Filter out all password keys - [ocp, openshift] Re-align API collection options and rename
Resolves: bz2095263 Resolves: bz2065563
- [plugins] Allow 'str' PlugOpt type to accept any value
Resolves: bz2079485
- [tigervnc] Update collections for newer versions of TigerVNC
Resolves: bz2062908
- [pacemaker] Redesign node enumeration logic
Resolves: bz2065805
- crio: switch from parsing output in table format to json
Resolves: bz2092969
- [report] Honor plugins' hardcoded plugin_timeout
Resolves: bz2079187
- [report] --list-plugins should report used, not default,
Resolves: bz2079484
- [utilities] Close file only when storing to file - [utilities] Close file only when storing to file
Resolves: bz2079486 Resolves: bz2079492
- [presets] Adjust OCP preset options, more OCP backports - [report] --list-plugins should report used, not default,
Resolves: bz2058279 Resolves: bz2079490
- [report] Honor plugins' hardcoded plugin_timeout
Resolves: bz2079188
- crio: switch from parsing output in table format to json
Resolves: bz2097674
- [pacemaker] Redesign node enumeration logic
Resolves: bz2082914
- [tigervnc] Update collections for newer versions of TigerVNC
Resolves: bz2066181
- [plugins] Allow 'str' PlugOpt type to accept any value
Resolves: bz2079491
- [ovirt] answer files: Filter out all password keys
Resolves: bz2095267
* Mon Apr 04 2022 Pavel Moravec <pmoravec@redhat.com> = 4.3-1 * Thu Mar 24 2022 Pavel Moravec <pmoravec@redhat.com> = 4.3-1
- Rebase on upstream 4.3 - Rebase on upstream 4.3
Resolves: bz2055002 Resolves: 2055003
- [sapnw] Fix IndexError exception - [sapnw] Fix IndexError exception
Resolves: bz1992938 Resolves: 2065551
- [subscription_manager] collect syspurpose data via sub-man
Resolves: 2002333
- [Plugin, utilities] Allow writing command output directly to disk - [Plugin, utilities] Allow writing command output directly to disk
Resolves: bz1726023 Resolves: 2065564
- [Ceph] Add support for containerized Ceph setup - [Ceph] Add support for containerized Ceph setup
Resolves: bz1882544 Resolves: 2065562
- [unbound] Add new plugin for Unbound DNS resolver - [unbound] Add new plugin for Unbound DNS resolver
Resolves: bz2018228 Resolves: 2065560
- [discovery] Add new discovery plugin - [discovery] Add new discovery plugin
Resolves: bz2018549 Resolves: 2065558
- [vdsm] Exclude /var/lib/vdsm/storage/transient_disks - [system] Collect glibc tuning decisions
Resolves: bz2029154 Resolves: 2032913
* Wed Feb 23 2022 Pavel Moravec <pmoravec@redhat.com> = 4.2-15 * Wed Feb 23 2022 Pavel Moravec <pmoravec@redhat.com> = 4.2-15
- [sosnode] Handle downstream versioning for runtime option - [sosnode] Handle downstream versioning for runtime option
Resolves: bz2036697 Resolves: bz2037350
- [options] Fix logging on plugopts in effective sos command - [options] Fix logging on plugopts in effective sos command
Resolves: bz2054882 Resolves: bz2054883
- [report] Honor plugins' hardcoded plugin_timeout - [report] Honor plugins' hardcoded plugin_timeout
Resolves: bz2055547 Resolves: bz2055548
- [policies] Set fallback to None sysroot, don't chroot to '/' - [policies] Set fallback to None sysroot, don't chroot to '/'
Resolves: bz1873185 Resolves: bz2011537
- [ovn_central] Rename container responsable of Red Hat - [ovn_central] Rename container responsable of Red Hat
Resolves: bz2042966 Resolves: bz2043488
* Wed Jan 26 2022 Pavel Moravec <pmoravec@redhat.com> = 4.2-13 * Wed Jan 26 2022 Pavel Moravec <pmoravec@redhat.com> = 4.2-13
- [virsh] Catch parsing exception - [virsh] Catch parsing exception
Resolves: bz2041488 Resolves: bz2041855
* Tue Jan 25 2022 Pavel Moravec <pmoravec@redhat.com> = 4.2-12 * Tue Jan 25 2022 Pavel Moravec <pmoravec@redhat.com> = 4.2-12
- [foreman] Use psql-msgpack-decode wrapper for dynflow >= 1.6 - [foreman] Use psql-msgpack-decode wrapper for dynflow >= 1.6
Resolves: bz2043102 Resolves: bz2043104
- [virsh] Call virsh commands in the foreground / with a TTY - [virsh] Call virsh commands in the foreground / with a TTY
Resolves: bz2041488 Resolves: bz2041855
- [ovn_central] Account for Red Hat ovn package naming - [ovn_central] Account for Red Hat ovn package naming
Resolves: bz2042966 Resolves: bz2043488
- [clean,parsers] Build regex lists for static items only once - [clean,parsers] Build regex lists for static items only once
Resolves: bz2036697 Resolves: bz2037350
* Mon Jan 10 2022 Pavel Moravec <pmoravec@redhat.com> = 4.2-11 * Mon Jan 10 2022 Pavel Moravec <pmoravec@redhat.com> = 4.2-11
- [report] Add journal logs for NetworkManager plugin - [report] Add journal logs for NetworkManager plugin
Resolves: bz2036697 Resolves: bz2037350
* Fri Jan 07 2022 Pavel Moravec <pmoravec@redhat.com> = 4.2-9 * Fri Jan 07 2022 Pavel Moravec <pmoravec@redhat.com> = 4.2-9
- add oc transport, backport various PRs for OCP - add oc transport, backport various PRs for OCP
Resolves: bz2036697 Resolves: bz2037350
- [report] Provide better warning about estimate-mode - [report] Provide better warning about estimate-mode
Resolves: bz1873185 Resolves: bz2011537
- [hostname] Fix loading and detection of long base domains - [hostname] Fix loading and detection of long base domains
Resolves: bz2023867 Resolves: bz2024893
* Sun Dec 19 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-8 * Sun Dec 19 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-8
- [rhui] New log folder - [rhui] New log folder
Resolves: bz2030741 Resolves: bz2031777
- nvidia]:Patch to update nvidia plugin for GPU info - nvidia]:Patch to update nvidia plugin for GPU info
Resolves: bz2025403 Resolves: bz2034001
- [hostname] Fix edge case for new hosts in a known subdomain - [hostname] Fix edge case for new hosts in a known subdomain
Resolves: bz2023867 Resolves: bz2024893
* Wed Dec 08 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-7 * Wed Dec 08 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-7
- [hostname] Simplify case matching for domains - [hostname] Simplify case matching for domains
Resolves: bz2023867 Resolves: bz2024893
* Tue Nov 30 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-6 * Tue Nov 30 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-6
- [redhat] Fix broken URI to upload to customer portal - [redhat] Fix broken URI to upload to customer portal
Resolves: bz2025610 Resolves: bz2025611
* Mon Nov 22 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-5 * Mon Nov 22 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-5
- [clean,hostname_parser] Source /etc/hosts for obfuscation - [clean,hostname_parser] Source /etc/hosts for obfuscation
Resolves: bz2023867 Resolves: bz2024893
- [clean, hostname] Fix unintentionally case sensitive - [clean, hostname] Fix unintentionally case sensitive
Resolves: bz2023863 Resolves: bz2024892
- [redhat] update SFTP API version to v2 - [redhat] update SFTP API version to v2
Resolves: bz2025610 Resolves: bz2025611
* Tue Nov 16 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-4 * Tue Nov 16 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-4
- [report] Calculate sizes of dirs, symlinks and manifest in - [report] Calculate sizes of dirs, symlinks and manifest in
Resolves: bz1873185 Resolves: bz2011537
- [report] shutdown threads for timeouted plugins - [report] shutdown threads for timeouted plugins
Resolves: bz2012857 Resolves: bz2012859
- [report] fix filter_namespace per pattern - [report] fix filter_namespace per pattern
Resolves: bz2020777 Resolves: bz2020778
- Ensure specific plugin timeouts are only set - Ensure specific plugin timeouts are only set
Resolves: bz2018033 Resolves: bz2023481
* Wed Nov 03 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-2 * Wed Nov 03 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-2
- [firewall_tables] call iptables -t <table> based on nft - [firewall_tables] call iptables -t <table> based on nft
Resolves: bz2005195 Resolves: bz2011536
- [report] Count with sos_logs and sos_reports in - [report] Count with sos_logs and sos_reports in
Resolves: bz1873185 Resolves: bz2011537
- [foreman] Collect puma status and stats - [foreman] Collect puma status and stats
Resolves: bz2011506 Resolves: bz2011507
- [report] Overwrite pred=None before refering predicate - [report] Overwrite pred=None before refering predicate
Resolves: bz2012856 Resolves: bz2012858
- [openvswitch] add commands for offline analysis - [openvswitch] add commands for offline analysis
Resolves: bz2004929 Resolves: bz2019697
* Wed Oct 06 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-1 * Wed Oct 06 2021 Pavel Moravec <pmoravec@redhat.com> = 4.2-1
- Rebase on upstream 4.2 - Rebase on upstream 4.2
Resolves: bz1998133 Resolves: bz1998134
- [report] Implement --estimate-only - [report] Implement --estimate-only
Resolves: bz1873185 Resolves: bz2011537
- [omnipath_client] Opacapture to run only with allow changes - [omnipath_client] Opacapture to run only with allow changes
Resolves: bz1998433 Resolves: bz2011534
- [unpackaged] deal with recursive loop of symlinks properly - [unpackaged] deal with recursive loop of symlinks properly
Resolves: bz1998521 Resolves: bz2011533
- [networking] prevent iptables-save commands to load nf_tables - [networking] prevent iptables-save commands to load nf_tables
Resolves: bz2001096 Resolves: bz2011538
- [kernel] Capture Pressure Stall Information - [kernel] Capture Pressure Stall Information
Resolves: bz2002145 Resolves: bz2011535
- [processor] Apply sizelimit to /sys/devices/system/cpu/cpuX - [processor] Apply sizelimit to /sys/devices/system/cpu/cpuX
Resolves: bz2011413 Resolves: bz1869561
* Wed Aug 11 2021 Pavel Moravec <pmoravec@redhat.com> = 4.1-5 * Wed Aug 11 2021 Pavel Moravec <pmoravec@redhat.com> = 4.1-8
- [report,collect] unify --map-file arguments - [report,collect] unify --map-file arguments
Resolves: bz1923938 Resolves: bz1985985
- [rhui] add new plugin for RHUI 4 - [rhui] add new plugin for RHUI 4
Resolves: bz1665947 Resolves: bz1992859
- [username parser] Load usernames from `last` for LDAP users - [username parser] Load usernames from `last` for LDAP users
Resolves: bz1985037 Resolves: bz1992861
* Mon Jul 26 2021 Pavel Moravec <pmoravec@redhat.com> = 4.1-4 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 4.1-7
- [options] allow variant option names in config file - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Resolves: bz1923938 Related: rhbz#1991688
- [plugins] Set default predicate instead of None
Resolves: bz1985986
- [MigrationResults] collect info about conversions
Resolves: bz1959598
* Mon Jun 21 2021 Pavel Moravec <pmoravec@redhat.com> = 4.1-3 * Tue Jul 27 2021 Pavel Moravec <pmoravec@redhat.com> - 4.1-6
- [gluster] collect public keys from the right dir
Resolves: bz1925419
- [cleaner] Only skip packaging-based files for the IP parse
Resolves: bz1964499
- [networking] collect also tc filter show ingress - [networking] collect also tc filter show ingress
Resolves: bz1886711 Resolves: bz1985976
- [archive] skip copying SELinux context for /proc and /sys - [cleaner] Only skip packaging-based files for the IP parser
Resolves: bz1965001 Resolves: bz1985982
- [sssd] sssd plugin when sssd-common - [sssd] sssd plugin when sssd-common
Resolves: bz1967613 Resolves: bz1967718
- Various OCP/cluster/cleanup enhancements - Various OCP/cluster/cleanup enhancements
Resolves: bz1973675 Resolves: bz1985983
- [options] allow variant option names in config file
Resolves: bz1985985
- [plugins] Set default predicate instead of None
Resolves: bz1938874
- [MigrationResults] collect info about conversions and
Resolves: bz1959779
* Tue May 18 2021 Pavel Moravec <pmoravec@redhat.com> = 4.1-2 * Wed Jun 02 2021 Pavel Moravec <pmoravec@redhat.com> - 4.1-4
- [archive] skip copying SELinux context for /proc and /sys everytime
Resolves: bz1965002
- Load maps from all archives before obfuscation - Load maps from all archives before obfuscation
Resolves: bz1930181 Resolves: bz1967110
- Multiple fixes in man pages - Multiple fixes in man pages
Resolves: bz1935603 Resolves: bz1967111
- [ds] Mask password and encryption keys in ldif files - [ds] Mask password and encryption keys in ldif files
Resolves: bz1937298 Resolves: bz1967112
- [report] add --cmd-timeout option - [report] add --cmd-timeout option
Resolves: bz1937418 Resolves: bz1967113
- [cups] Add gathering cups-browsed logs - [cups] Add gathering cups-browsed logs
Resolves: bz1939963 Resolves: bz1967114
- [sssd] Collect memory cache / individual logfiles - [sssd] Collect memory cache / individual logfiles
Resolves: bz1940502 Resolves: bz1967115
- Collect ibmvNIC dynamic_debugs - Collect ibmvNIC dynamic_debugs
Resolves: bz1942276 Resolves: bz1967116
- [pulpcore] add plugin for pulp-3 - [pulpcore] add plugin for pulp-3
Resolves: bz1956673 Resolves: bz1967117
- [saphana] remove redundant unused argument of get_inst_info - [saphana] remove redundant unused argument of get_inst_info
Resolves: bz1959413 Resolves: bz1967118
- [networking] Add nstat command support - [networking] Add nstat command support
Resolves: bz1961458 Resolves: bz1967119
- [snapper] add a new plugin - [snapper] add a new plugin
Resolves: bz1961229 Resolves: bz1967120
* Mon Apr 26 2021 Pavel Moravec <pmoravec@redhat.com> = 4.1-1 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.1-4
- Rebase on upstream 4.1 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Resolves: bz1928679
* Tue Feb 16 2021 Pavel Moravec <pmoravec@redhat.com> = 4.0-8 * Thu Apr 01 2021 Pavel Moravec <pmoravec@redhat.com> - 4.1-3
- Automatically create directory for sos-cleaner default_mapping - adding sos-audit
Resolves: bz1923937 - [gluster] Add glusterd public keys and status files
Resolves: bz1925419
* Fri Jan 29 2021 Pavel Moravec <pmoravec@redhat.com> = 4.0-7 * Wed Mar 10 2021 Sandro Bonazzola <sbonazzo@redhat.com> - 4.1-1
- [kdump] Gather the file kexec-dmesg.log - Rebase to 4.1
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