Compare commits
14 Commits
Author | SHA1 | Date |
---|---|---|
Petr Lautrbach | bf4ea6d308 | |
Petr Lautrbach | 7f36fd34fe | |
Petr Lautrbach | e7de89a4f9 | |
Igor Gnatenko | a846604058 | |
Petr Lautrbach | fb79019256 | |
Petr Lautrbach | dbfef2f329 | |
Igor Gnatenko | 61f1b10956 | |
Vit Mojzis | 99631a064d | |
Petr Lautrbach | 654ed5545e | |
Petr Lautrbach | f05d91cba4 | |
Petr Lautrbach | 7459b1a555 | |
Petr Lautrbach | 1d9814b7cb | |
Petr Lautrbach | e8f87acc6c | |
Petr Lautrbach | 8782905a75 |
|
@ -197,3 +197,7 @@ setroubleshoot-2.2.93.tar.gz
|
|||
/setroubleshoot-3.3.10.tar.gz
|
||||
/setroubleshoot-3.3.11.tar.gz
|
||||
/setroubleshoot-3.3.12.tar.gz
|
||||
/setroubleshoot-3.3.14.tar.gz
|
||||
/setroubleshoot-3.3.15.tar.gz
|
||||
/setroubleshoot-3.3.16.tar.gz
|
||||
/setroubleshoot-3.3.17.tar.gz
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
From a1d303150b341d6cfdc1f7d36c38004cee01fdb7 Mon Sep 17 00:00:00 2001
|
||||
From: Dominik Perpeet <dperpeet@redhat.com>
|
||||
Date: Wed, 6 Apr 2016 10:09:55 +0200
|
||||
Subject: [PATCH] setroubleshoot: Ensure that dbus string param isn't null
|
||||
|
||||
An alert's level can be None, but DBUS doesn't allow that for string parameters.
|
||||
---
|
||||
framework/src/setroubleshoot/server.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/framework/src/setroubleshoot/server.py b/framework/src/setroubleshoot/server.py
|
||||
index 87722c9..e788d41 100755
|
||||
--- a/framework/src/setroubleshoot/server.py
|
||||
+++ b/framework/src/setroubleshoot/server.py
|
||||
@@ -579,7 +579,7 @@ Return an alert with summary, audit events, fix suggestions
|
||||
|
||||
return (alert.local_id, alert.summary(), alert.report_count,
|
||||
audit_events, plugins,
|
||||
- str(alert.first_seen_date), str(alert.last_seen_date), alert.level
|
||||
+ str(alert.first_seen_date), str(alert.last_seen_date), alert.level or ''
|
||||
)
|
||||
|
||||
|
||||
--
|
||||
2.7.3
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
From 4271b72e879ca25ba244036c0c2b6b9dbf7b2edf Mon Sep 17 00:00:00 2001
|
||||
From: Petr Lautrbach <plautrba@redhat.com>
|
||||
Date: Thu, 14 Apr 2016 10:36:14 +0200
|
||||
Subject: [PATCH 2/2] framework: Drop unwanted debug message in sedispatch
|
||||
|
||||
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1326985
|
||||
---
|
||||
framework/src/sedispatch.c | 5 ++---
|
||||
1 file changed, 2 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/framework/src/sedispatch.c b/framework/src/sedispatch.c
|
||||
index 6417a10..bec3aa9 100644
|
||||
--- a/framework/src/sedispatch.c
|
||||
+++ b/framework/src/sedispatch.c
|
||||
@@ -147,10 +147,9 @@ int main(int argc __attribute__((unused)), char *argv[] __attribute__((unused)))
|
||||
FD_SET(0, &rfds);
|
||||
tv.tv_sec = 3;
|
||||
tv.tv_usec = 0;
|
||||
- if (select(1, &rfds, NULL, NULL, &tv) == 0) {
|
||||
- syslog(LOG_ERR, "timeout flush");
|
||||
+ if (select(1, &rfds, NULL, NULL, &tv) == 0)
|
||||
+ /* The timeout occurred, the event is probably complete */
|
||||
auparse_flush_feed(au);
|
||||
- }
|
||||
}
|
||||
if (feof(stdin))
|
||||
break;
|
||||
--
|
||||
2.7.3
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
Setroubleshoot translations currently live in the following locations:
|
||||
|
||||
- https://fedora.zanata.org/project/view/setroubleshoot
|
||||
- contains translations for both stable (RHEL) and master (Fedora) branches
|
||||
- maintains large number of languages (several of which do not actually contain any translated strings)
|
||||
- updated by community and partially by RH localization effort
|
||||
|
||||
- setroubleshoot source repositories (https://pagure.io/setroubleshoot and https://github.com/fedora-selinux/setroubleshoot)
|
||||
- is kept up-to-date with fedora.zanata
|
||||
|
||||
How to update source files on fedora.zanata:
|
||||
$ git clone git@github.com:fedora-selinux/setroubleshoot.git
|
||||
$ cd setroubleshoot/framework
|
||||
# Update Makefile
|
||||
$ ./autogen.sh
|
||||
# generate new potfile
|
||||
$ cd po
|
||||
$ make setroubleshoot.pot
|
||||
# Repeat the process for plugins
|
||||
# Push potfiles to zanata
|
||||
$ zanata-cli push --push-type source
|
||||
|
||||
How to pull new translations from zanata
|
||||
$ git clone git@github.com:fedora-selinux/setroubleshoot.git
|
||||
$ cd setroubleshoot
|
||||
# Make sure "zanata.xml" file pointing to corresponding translations branch is present
|
||||
# Optionally update source files on zanata
|
||||
# Pull new translations from zanata
|
||||
$ zanata-cli -e pull --pull-type trans
|
|
@ -1,19 +1,20 @@
|
|||
Summary: Helps troubleshoot SELinux problems
|
||||
Name: setroubleshoot
|
||||
Version: 3.3.12
|
||||
Release: 3%{?dist}
|
||||
Version: 3.3.17
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
URL: https://pagure.io/setroubleshoot
|
||||
Source0: https://releases.pagure.org/setroubleshoot/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}.tmpfiles
|
||||
BuildRequires: perl-XML-Parser
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: intltool gettext python3 python3-devel
|
||||
BuildRequires: desktop-file-utils dbus-glib-devel gtk2-devel gtk3-devel libnotify-devel audit-libs-devel libselinux-devel polkit-devel
|
||||
BuildRequires: desktop-file-utils dbus-glib-devel gtk2-devel libnotify-devel audit-libs-devel libselinux-devel polkit-devel
|
||||
BuildRequires: libselinux-python3 python3-pydbus python3-gobject gtk3-devel
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: gtk2
|
||||
Requires: gtk3, libnotify
|
||||
Requires: libreport-gtk >= 2.2.1-2, libreport-python3
|
||||
Requires: python3-gobject, python3-pydbus
|
||||
Requires(post): desktop-file-utils
|
||||
Requires(post): dbus
|
||||
Requires(postun): desktop-file-utils
|
||||
|
@ -56,31 +57,22 @@ to user preference. The same tools can be run on existing log files.
|
|||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.restart string:'rpm install' >/dev/null 2>&1 || :
|
||||
%systemd_post auditd.service
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
fi
|
||||
%systemd_postun_with_restart auditd.service
|
||||
|
||||
%posttrans
|
||||
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p 2
|
||||
|
||||
%build
|
||||
%configure PYTHON=%{__python3}
|
||||
%configure PYTHON=%{__python3} --enable-seappletlegacy=yes
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=%{buildroot} install
|
||||
make DESTDIR=%{buildroot} PREFIX=/usr install
|
||||
desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||
mkdir -p %{buildroot}%{pkgvardatadir}
|
||||
mkdir -p %{buildroot}%{_rundir}/setroubleshoot
|
||||
|
@ -95,9 +87,8 @@ install -m644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
|
|||
|
||||
%package server
|
||||
Summary: SELinux troubleshoot server
|
||||
Group: Applications/System
|
||||
|
||||
Requires: %{name}-plugins >= 3.3.4
|
||||
Requires: %{name}-plugins >= 3.3.9
|
||||
Requires: audit >= 1.2.6-3
|
||||
Requires: audit-libs-python3 >= 1.2.6-3
|
||||
Requires: libxml2-python3
|
||||
|
@ -131,9 +122,6 @@ getent passwd %{username} >/dev/null || useradd -r -U -s /sbin/nologin -d %{pkgv
|
|||
%triggerun server -- %{name}-server < 3.2.24-4
|
||||
chown -R setroubleshoot:setroubleshoot %{pkgvardatadir}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files server -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/sealert
|
||||
|
@ -200,8 +188,63 @@ rm -rf %{buildroot}
|
|||
%attr(0711,setroubleshoot,setroubleshoot) %dir %{_rundir}/setroubleshoot
|
||||
%doc AUTHORS COPYING ChangeLog DBUS.md NEWS README TODO
|
||||
|
||||
%package legacy
|
||||
Summary: SELinux troubleshoot legacy applet
|
||||
|
||||
Requires: gtk2
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description legacy
|
||||
SELinux troubleshoot legacy applet
|
||||
|
||||
%files legacy
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/seappletlegacy
|
||||
|
||||
%changelog
|
||||
* 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)
|
||||
|
||||
* Tue Feb 20 2018 Petr Lautrbach <plautrba@redhat.com> - 3.3.16-1
|
||||
- Do not show status_icon when there's no alert (#1543758)
|
||||
- Run seapplet only on SELinux enabled system (#1541631)
|
||||
- Use context in Gio.AppInfo.launch (#1542156)
|
||||
|
||||
* Fri Jan 19 2018 Petr Lautrbach <plautrba@redhat.com> - 3.3.15-1
|
||||
- Rewrite seapplet to Python3 to use Notify and Gtk 3.0
|
||||
- Add setroubleshoot-seappletlegacy with legacy seappletlegacy based on Gtk 2
|
||||
- sealert: Finish dbus communication after error
|
||||
|
||||
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.3.14-2
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Sat Nov 18 2017 Petr Lautrbach <plautrba@redhat.com> - 3.3.14-1
|
||||
- Increase the space for suggested solutions in sealert
|
||||
- Highlight suggestions with the highest confidence
|
||||
- Remove additional "If " string from plugin messages
|
||||
- Fix sealert message for process2 (#1507909)
|
||||
- Do not change if_string[0] to lowercase
|
||||
- Do not split If sentences to framework and plugins - requires
|
||||
setroubleshoot-plugins 3.3.8 at least (rhbz#1210243, rhbz#1322734,
|
||||
hbz#1115510)
|
||||
- Update translations
|
||||
|
||||
* Tue Sep 19 2017 Petr Lautrbach <plautrba@redhat.com> - 3.3.12-5
|
||||
- Install style.css file (rhbz#1492761)
|
||||
|
||||
* Fri Sep 15 2017 Petr Lautrbach <plautrba@redhat.com> - 3.3.12-4
|
||||
- Don't stop when the plugin directory is empty
|
||||
- Fix missing margins on Troubleshoot window
|
||||
- Resize all solutions panels horizontally
|
||||
- Fix missing priority color for proposed solutions
|
||||
- Set translation domain for Gtk.Builder() object to have strings
|
||||
correctly translated
|
||||
- Make labels on GtkButtons translatable
|
||||
- Handla all exceptions from do_analyze_logfile()
|
||||
- Fix semi-translated messages
|
||||
- Do not catch POSIX signals (rhbz#1366004, rhbz#1419245)
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.12-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (setroubleshoot-3.3.12.tar.gz) = 4538b5924b7564ca7d1543c39556042c42d605489cd158170f3c823ea0bc8d04c8a40d8048abc190962165e2f541ccdad9ebacde8087077d1fcd0ed7002665df
|
||||
SHA512 (setroubleshoot-3.3.17.tar.gz) = ae0083163f909fad3d5ef91dd3c80f3263452e50dd314ab0f1e6394022cbe771111655919f7518fd1351dcc195929dd81b838436ef797174f5bf3baf4f9adf15
|
||||
|
|
Loading…
Reference in New Issue