|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Summary: Helps troubleshoot SELinux problems
|
|
|
|
|
Name: setroubleshoot
|
|
|
|
|
Version: 3.3.17
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 3.3.19
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://pagure.io/setroubleshoot
|
|
|
|
|
Source0: https://releases.pagure.org/setroubleshoot/%{name}-%{version}.tar.gz
|
|
|
|
@ -55,19 +55,11 @@ to user preference. The same tools can be run on existing log files.
|
|
|
|
|
%{_bindir}/seapplet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.restart string:'rpm install' >/dev/null 2>&1 || :
|
|
|
|
|
%systemd_post auditd.service
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
%systemd_postun_with_restart auditd.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p 2
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure PYTHON=%{__python3} --enable-seappletlegacy=yes
|
|
|
|
|
%configure PYTHON=%{__python3} --enable-seappletlegacy=yes --with-auditpluginsdir=/etc/audisp/plugins.d
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -80,14 +72,14 @@ touch %{buildroot}%{pkgvardatadir}/email_alert_recipients
|
|
|
|
|
rm -rf %{buildroot}/usr/share/doc/
|
|
|
|
|
# create /run/setroubleshoot on boot
|
|
|
|
|
install -m644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
|
|
|
|
|
|
|
|
|
|
mv %{buildroot}/etc/audisp/plugins.d/sedispatch.conf %{buildroot}/etc/audisp/plugins.d/sedispatch-3.conf
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%package server
|
|
|
|
|
Summary: SELinux troubleshoot server
|
|
|
|
|
|
|
|
|
|
Requires: %{name}-plugins >= 3.3.8
|
|
|
|
|
Requires: %{name}-plugins >= 3.3.10
|
|
|
|
|
Requires: audit >= 1.2.6-3
|
|
|
|
|
Requires: audit-libs-python3 >= 1.2.6-3
|
|
|
|
|
Requires: libxml2-python3
|
|
|
|
@ -113,10 +105,10 @@ to user preference. The same tools can be run on existing log files.
|
|
|
|
|
getent passwd %{username} >/dev/null || useradd -r -U -s /sbin/nologin -d %{pkgvardatadir} %{username}
|
|
|
|
|
|
|
|
|
|
%post server
|
|
|
|
|
%systemd_post auditd.service
|
|
|
|
|
/sbin/service auditd reload >/dev/null 2>&1 || :
|
|
|
|
|
|
|
|
|
|
%postun server
|
|
|
|
|
%systemd_postun_with_restart auditd.service
|
|
|
|
|
/sbin/service auditd reload >/dev/null 2>&1 || :
|
|
|
|
|
|
|
|
|
|
%triggerun server -- %{name}-server < 3.2.24-4
|
|
|
|
|
chown -R setroubleshoot:setroubleshoot %{pkgvardatadir}
|
|
|
|
@ -177,7 +169,7 @@ chown -R setroubleshoot:setroubleshoot %{pkgvardatadir}
|
|
|
|
|
%{_mandir}/man8/sealert.8.gz
|
|
|
|
|
%{_mandir}/man8/sedispatch.8.gz
|
|
|
|
|
%{_mandir}/man8/setroubleshootd.8.gz
|
|
|
|
|
%config /etc/audisp/plugins.d/sedispatch.conf
|
|
|
|
|
%config /etc/audisp/plugins.d/sedispatch-3.conf
|
|
|
|
|
%{_datadir}/dbus-1/system-services/org.fedoraproject.Setroubleshootd.service
|
|
|
|
|
%{_datadir}/polkit-1/actions/org.fedoraproject.setroubleshootfixit.policy
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.fedoraproject.SetroubleshootFixit.conf
|
|
|
|
@ -199,6 +191,16 @@ SELinux troubleshoot legacy applet
|
|
|
|
|
%{_bindir}/seappletlegacy
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Dec 29 2018 Petr Lautrbach <plautrba@redhat.com> - 3.3.19-2
|
|
|
|
|
- Use the correct audit plugin path (#1662256)
|
|
|
|
|
|
|
|
|
|
* Sat Dec 8 2018 Petr Lautrbach <plautrba@redhat.com> - 3.3.19-1
|
|
|
|
|
- Require plugins >= 3.3.10
|
|
|
|
|
- Update scriptlets to reload auditd after install or uninstall
|
|
|
|
|
- Update translations
|
|
|
|
|
- Improve myplatform detection in get_os_environment()
|
|
|
|
|
- Fix summary and "if" text for AVCs with unknown target path
|
|
|
|
|
|
|
|
|
|
* Mon Feb 26 2018 Petr Lautrbach <plautrba@redhat.com> - 3.3.17-1
|
|
|
|
|
- Set auto_save_interval to 5 (#1548913,#1523406,#1539180)
|
|
|
|
|
- seapplet: Try send and close notifications (#1541624,#1541719,#1544222,#1539367)
|
|
|
|
|