Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
d74526892e !6 Update to 3.3.14
Merge pull request !6 from panxh_purple/master
2021-12-29 09:05:08 +00:00
panxiaohe
5c5a2d6335 update to 3.3.14 2021-12-29 15:36:56 +08:00
openeuler-ci-bot
d182090eb5 !5 【Mainline】Update to 3.3.12
From: @yixiangzhike
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
2021-01-25 17:11:18 +08:00
yixiangzhike
f098aff985 Update to 3.3.12 2021-01-22 15:17:07 +08:00
openeuler-ci-bot
fdd6d37bb1 !3 modify the URL of Source
Merge pull request !3 from linwei9/master
2020-09-09 18:45:40 +08:00
linwei9
c9099ff156 modify the URL of Source 2020-09-08 16:55:29 +08:00
openeuler-ci-bot
1e1ebb88b0 !2 add yaml file
Merge pull request !2 from wangchen/wangchen
2020-06-22 09:32:18 +08:00
wangchen2020
7172519e92 add yaml file 2020-06-18 13:54:21 +08:00
openeuler-ci-bot
f399d1d76c !1 delete unused patches
Merge pull request !1 from syyhao/next
2020-01-02 16:03:34 +08:00
guoxiaoqi
d6db3dfc44 delete unused patches 2019-12-31 14:45:59 +08:00
7 changed files with 49 additions and 3150 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,26 @@
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

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@ -1,23 +1,23 @@
Name: setroubleshoot-plugins
Version: 3.3.9
Release: 7
Version: 3.3.14
Release: 1
Summary: Analysis plugins for setroubleshoot
License: GPLv3
URL: https://github.com/fedora-selinux/setroubleshoot
BuildArch: noarch
Source0: %{name}-%{version}.tar.gz
Patch1: 0001-plugins-Update-translations.patch
Patch2: 0002-plugins-Update-translations.patch
Source0: https://releases.pagure.org/setroubleshoot/%{name}-%{version}.tar.gz
Patch0: 0001-restorecon.py-exclude-more-paths.patch
BuildRequires: gcc perl-XML-Parser intltool gettext python3-devel
Requires: setroubleshoot-server >= 3.3.13
Requires: setroubleshoot-server >= 3.3.23
%description
These are the analysis plugins for setroubleshoot.
%prep
%autosetup -p2
%autosetup -p1
%build
%configure PYTHON=/usr/bin/python3
@ -36,5 +36,17 @@ rm -rf %{buildroot}
%{_datadir}/setroubleshoot/plugins
%changelog
* Tue Dec 28 2021 panxiaohe <panxiaohe@huawei.com> -3.3.14-1
- update to 3.3.14
* Fri Jan 22 2021 yixiangzhike <zhangxingliang3@huawei.com> -3.3.12-1
- update to 3.3.12
* Tue Sep 8 2020 linwei <linwei54@openeuler.org> -3.3.9-9
- modify the URL of Source
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> -3.3.9-8
- Delete unused patches
* Thu Sep 5 2019 openEuler Buildteam <buildteam@openeuler.org> -3.3.9-7
- Package init

View File

@ -0,0 +1,4 @@
version_control: github
src_repo: "fedora-selinux/setroubleshoot"
tag_prefix: "^setroubleshoot-plugins-"
seperator: