From 8ca77a2768d59bc0ccbcc2ccd8f76fc2021ce315 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 28 Jul 2020 10:10:30 -0400 Subject: [PATCH] import setroubleshoot-3.3.23-1.el8 --- .gitignore | 2 +- .setroubleshoot.metadata | 2 +- SPECS/setroubleshoot.spec | 40 +++++++++++++++++++++++++++++++++++---- 3 files changed, 38 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 0eead1b..9c03822 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/setroubleshoot-3.3.21.tar.gz +SOURCES/setroubleshoot-3.3.23.tar.gz diff --git a/.setroubleshoot.metadata b/.setroubleshoot.metadata index 55bddc9..d68e795 100644 --- a/.setroubleshoot.metadata +++ b/.setroubleshoot.metadata @@ -1 +1 @@ -7953c5ee1c9afc998fa162cadbe0f3443b3884c0 SOURCES/setroubleshoot-3.3.21.tar.gz +65498823e9c7d6510b60b342f2342c72ff2028bb SOURCES/setroubleshoot-3.3.23.tar.gz diff --git a/SPECS/setroubleshoot.spec b/SPECS/setroubleshoot.spec index 8b79e71..c473a9a 100644 --- a/SPECS/setroubleshoot.spec +++ b/SPECS/setroubleshoot.spec @@ -1,11 +1,13 @@ Summary: Helps troubleshoot SELinux problems Name: setroubleshoot -Version: 3.3.21 +Version: 3.3.23 Release: 1%{?dist} License: GPLv2+ URL: https://pagure.io/setroubleshoot Source0: https://releases.pagure.org/setroubleshoot/%{name}-%{version}.tar.gz Source1: %{name}.tmpfiles +# git format-patch -N setroubleshoot-3.3.23 -- framework +# i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done BuildRequires: gcc BuildRequires: libcap-ng-devel BuildRequires: intltool gettext python3 python3-devel @@ -59,6 +61,7 @@ to user preference. The same tools can be run on existing log files. %autosetup -p 2 %build +autoreconf -f %configure PYTHON=%{__python3} --enable-seappletlegacy=yes --with-auditpluginsdir=/etc/audit/plugins.d make @@ -101,7 +104,7 @@ BuildRequires: python3-devel Requires: python3-slip-dbus systemd-python3 >= 206-1 Requires: python3-gobject >= 3.11 Requires: dbus -Requires: python3-dbus +Requires: python3-dbus python3-pydbus Requires: polkit Requires: initscripts Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd @@ -170,10 +173,11 @@ chown -R setroubleshoot:setroubleshoot %{pkgvardatadir} %{pkgpythondir}/__pycache__/uuid.cpython* %{pkgpythondir}/__pycache__/xml_serialize.cpython* %dir %{pkgdatadir} -%{pkgdatadir}/SetroubleshootFixit.py* -%{pkgdatadir}/updater.py* +%{pkgdatadir}/SetroubleshootFixit.py +%{pkgdatadir}/SetroubleshootPrivileged.py %config(noreplace) %{pkgconfigdir}/%{name}.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.fedoraproject.Setroubleshootd.conf +%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.fedoraproject.SetroubleshootPrivileged.conf %attr(0700,setroubleshoot,setroubleshoot) %dir %{pkgvardatadir} %ghost %attr(0600,setroubleshoot,setroubleshoot) %{pkgdatabase} %ghost %attr(0600,setroubleshoot,setroubleshoot) %{pkgvardatadir}/email_alert_recipients @@ -183,6 +187,7 @@ chown -R setroubleshoot:setroubleshoot %{pkgvardatadir} %{_mandir}/man8/setroubleshootd.8.gz %config /etc/audit/plugins.d/sedispatch.conf %{_datadir}/dbus-1/system-services/org.fedoraproject.Setroubleshootd.service +%{_datadir}/dbus-1/system-services/org.fedoraproject.SetroubleshootPrivileged.service %{_datadir}/polkit-1/actions/org.fedoraproject.setroubleshootfixit.policy %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.fedoraproject.SetroubleshootFixit.conf %{_datadir}/dbus-1/system-services/org.fedoraproject.SetroubleshootFixit.service @@ -203,6 +208,33 @@ SELinux troubleshoot legacy applet %{_bindir}/seappletlegacy %changelog +* Mon Apr 27 2020 Vit Mojzis - 3.3.23-1 +- browser: Check return value of Gdk.Screen().get_default() (#1574434) +- Improve and unify error messages (#1763982) +- setroubleshoot.util: Catch exceptions from sepolicy import +- Add dpkg support +- Do not refer to hardcoded selinux-policy rpm in signature +- Make date/time format locale specific (#1812674) +- Improve speed of plugin evaluation (#1794807) +- Do not try to report a bug on None package +- sealert: Drop unused import slib.dbus.service +- Drop updater.py - it's not used and doesn't work +- root user doesn't need to use SetroubleshootPrivileged API +- Use pydbus, a modern Python dbus API, for SetroubleshootPrivileged +- Report bug on a package which owns the related SELinux domain (#1811644) + https://pagure.io/setroubleshoot/issue/18 +- Add Local SELinux policy package version to analyses reports +- setroubleshoot.utils.get_rpm_nvr_by_scontext add option to use DBUS method +- Export setroubleshoot.utils.get_rpm_nvr_by_scontext via DBUS +- setroubleshoot.util: get_rpm_nvr_by_type() and get_rpm_nvr_by_scontext() + +* Sat Jan 11 2020 Petr Lautrbach - 3.3.22-2 +- Log plugin exception traceback when log level is DEBUG +- sepolicy.info() returns a generator, not a list (#1784564) + +* Thu Jan 2 2020 Petr Lautrbach - 3.3.22-1 +- sepolicy.info() returns a generator, not a list (#1784564) + * Wed Dec 11 2019 Vit Mojzis - 3.3.21-1 - Use dbus.mainloop.glib.DBusGMainLoop() instead of dbus.glib - Fix AVC.__typeMatch to handle aliases properly