setroubleshoot-plugins-3.3.15

- restorecon.py: exclude more paths
- Improve disable_ipv6 plugin then_text
- Update generated configuration files
- Update translations
This commit is contained in:
Petr Lautrbach 2026-05-07 12:57:25 +02:00 committed by Vit Mojzis
parent 9338153710
commit c7492c936d
6 changed files with 12 additions and 1099 deletions

1
.gitignore vendored
View File

@ -123,3 +123,4 @@ setroubleshoot-plugins-2.1.55.tar.gz
/setroubleshoot-plugins-3.3.11.tar.gz
/setroubleshoot-plugins-3.3.12.tar.gz
/setroubleshoot-plugins-3.3.14.tar.gz
/setroubleshoot-plugins-3.3.15.tar.gz

View File

@ -1,26 +0,0 @@
From 0f508191647a41f92264c0c8fc877b0110bbd468 Mon Sep 17 00:00:00 2001
From: Petr Lautrbach <plautrba@redhat.com>
Date: Tue, 10 Aug 2021 20:11:20 +0200
Subject: [PATCH] restorecon.py: exclude more paths
It doesn't make sense to run restorecon on /sys/ /proc/ and /memfd:
---
src/restorecon.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/restorecon.py b/src/restorecon.py
index e3044c742367..9594c0d59d96 100644
--- a/src/restorecon.py
+++ b/src/restorecon.py
@@ -39,7 +39,7 @@ def customizable(target):
# List of path prefixes for which this plugin is not executed
-excluded_paths = ["/sys/fs"]
+excluded_paths = ["/sys/", "/proc/", "/memfd:"]
# Test if the specified path starts with some excluded prefix
def excluded_path(target_path):
for path in excluded_paths:
--
2.32.0

View File

@ -1,29 +0,0 @@
From f8a5ef9b783f4be5fcb2fa711dd3b550b312a629 Mon Sep 17 00:00:00 2001
From: Vit Mojzis <vmojzis@redhat.com>
Date: Wed, 23 Nov 2022 18:25:20 +0100
Subject: [PATCH] Improve disable_ipv6 plugin then_text
Content-type: text/plain
Use more conscious language and be more explicit.
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
---
src/disable_ipv6.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/disable_ipv6.py b/src/disable_ipv6.py
index 1c858213ddea..ca0b9cc7f49f 100644
--- a/src/disable_ipv6.py
+++ b/src/disable_ipv6.py
@@ -38,7 +38,7 @@ Disable IPV6 properly.
fix_cmd = ""
if_text = _("If you want to disable IPV6 on this machine")
- then_text = _("you need to set /proc/sys/net/ipv6/conf/all/disable_ipv6 to 1 and do not blacklist the module'")
+ then_text = _("you need to set /proc/sys/net/ipv6/conf/all/disable_ipv6 to 1 and do not disable the ipv6 kernel module'")
do_text = _("""Add
net.ipv6.conf.all.disable_ipv6 = 1
to /etc/sysctl.conf
--
2.41.0

File diff suppressed because it is too large Load Diff

View File

@ -5,16 +5,13 @@
Summary: Analysis plugins for use with setroubleshoot
Name: setroubleshoot-plugins
Version: 3.3.14
Release: 11%{?dist}
Version: 3.3.15
Release: 1%{?dist}
License: GPL-2.0-or-later
URL: https://github.com/fedora-selinux/setroubleshoot
Source0: https://releases.pagure.org/setroubleshoot/%{name}-%{version}.tar.gz
URL: https://gitlab.com/setroubleshoot/plugins
Source0: https://gitlab.com/-/project/24478430/uploads/1d856bff1c9fb16a8c6fc877d7fe91ca/setroubleshoot-plugins-3.3.15.tar.gz
# git format-patch -N setroubleshoot-plugins-<version> -- plugins
# i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done
Patch0001: 0001-restorecon.py-exclude-more-paths.patch
Patch0002: 0002-Improve-disable_ipv6-plugin-then_text.patch
Patch0003: 0003-Update-generated-configuration-files.patch
BuildArch: noarch
# gcc is needed only for ./configure
@ -52,6 +49,12 @@ rm -rf %{buildroot}
%{_datadir}/setroubleshoot/plugins
%changelog
* Mon Jan 06 2025 Petr Lautrbach <lautrbach@redhat.com> - 3.3.15-1
- restorecon.py: exclude more paths
- Improve disable_ipv6 plugin then_text
- Update generated configuration files
- Update translations
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.3.14-11
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018

View File

@ -1 +1 @@
SHA512 (setroubleshoot-plugins-3.3.14.tar.gz) = da6882a998aeade67891a722a5b94e2ba1072d9db5d73031854a2c0b51083a0eaf9519dd7987938a86c1f8d263d08882642ac447d7b4bbcd8a859db4b44d61c1
SHA512 (setroubleshoot-plugins-3.3.15.tar.gz) = 9741ecd48a7e0cde376ac0f818d94dad32c74acd2afc01ec6f5e3cf74ff9075d4f3406f1a3905cbbdd3833c8c2ef4213deaaf00d0012dbea582eb2b825618d5f