Commit Graph

408 Commits

Author SHA1 Message Date
Petr Lautrbach
e5d099e99c setroubleshoot-3.3.19
- Require plugins >= 3.3.10
2018-12-08 22:54:51 +01:00
Petr Lautrbach
a4ac25c20f setroubleshoot-3.3.18-3
- Update scriptlets to reload auditd after install or uninstall
2018-11-29 11:59:39 +01:00
Petr Lautrbach
ea0d9634a3 Update scriptlets to reload auditd service
When setroubleshoot sedispatch is installed, or updated, auditd needs to be
reloaded so that it runs the new installed plugin. Since auditd needs to know
who reloaded him, `systemctl` can't be used. We need to use `service` script.

This fixes the problem when setroubleshoot is installed, but it doesn't collect
AVC denial messages until the machine is rebooted.

/com/redhat/setroubleshootd interface is not used for years therefore we can
drop it.
2018-11-29 11:54:54 +01:00
Petr Lautrbach
68fd5e93b2 setroubleshoot-3.3.18-2
- Update translations
- Improve myplatform detection in get_os_environment()
2018-09-20 10:49:46 +02:00
Petr Lautrbach
390018d909 setroubleshoot-3.3.18-1
- Move sedispatch.conf to /etc/audit/plugins.d/
- Fix summary and "if" text for AVCs with unknown target path
2018-07-18 22:08:30 +02:00
Petr Lautrbach
e6ad318f5b Disable automatic compilation of Python files in extra directories
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/IDDR65FMKZYZYLL6DGFEKFACC55PELW3/
https://fedoraproject.org/wiki/Packaging:Python_Appendix#Manual_byte_compilation
2018-07-16 13:10:41 +02:00
Fedora Release Engineering
2ac92dadc6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 06:00:15 +00:00
Miro Hrončok
9402ffe298 Rebuilt for Python 3.7 2018-06-19 11:27:25 +02:00
Petr Lautrbach
8dfd332b08 setroubleshoot-3.3.17-1
- Set auto_save_interval to 5 (#1548913,#1523406,#1539180)
- seapplet: Try send and close notifications (#1541624,#1541719,#1544222,#1539367)
2018-02-26 21:17:57 +01:00
Petr Lautrbach
a6f6a4c670 List gcc in BuildRequires
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/IJFYI5Q2BYZKIGDFS2WLOBDUSEGWHIKV/
https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires
2018-02-20 10:20:05 +01:00
Petr Lautrbach
2c1d331cf5 setroubleshoot-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)
2018-02-20 10:04:27 +01:00
Petr Lautrbach
b38f5c7b27 Spec file cleanup
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MRWOMRZ6KPCV25EFHJ2O67BCCP3L4Y6N/
2018-02-16 13:06:20 +01:00
Igor Gnatenko
5fa4687faf
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:39:16 +01:00
Igor Gnatenko
ac7c38c70b
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:06:16 +01:00
Björn Esser
870ec3c38b
Fix runtime dependency: 's!lipreport!libreport!g' (#1536580)
Prefer %%global over %%define
Remove obsolete %%defattr(-,root,root,-)
2018-01-19 17:59:12 +01:00
Petr Lautrbach
b748a74d0a setroubleshoot-3.3.15
- 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
2018-01-19 17:08:56 +01:00
Igor Gnatenko
66eddf963e Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-06 00:36:21 +01:00
Petr Lautrbach
68760e80b6 setroubleshoot-3.3.14-3
- Update translations
2017-11-23 09:08:10 +01:00
Petr Lautrbach
ad328e7b5e setroubleshoot-3.3.14-2
- Update translations
2017-11-20 07:25:18 +01:00
Petr Lautrbach
90373a5b74 setroubleshoot-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
2017-11-18 22:14:01 +01:00
Petr Lautrbach
d3a05435be setroubleshoot-3.3.13-1
- 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
- Do not split If sentences to framework and plugins - requires
  setroubleshoot-plugins 3.3.8 at least (rhbz#1210243, rhbz#1322734,
hbz#1115510)
- 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
- Update translations
- Do not catch POSIX signals (rhbz#1366004, rhbz#1419245)
2017-09-15 08:02:41 +02:00
Fedora Release Engineering
95f01e48d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 08:21:41 +00:00
Fedora Release Engineering
3b1b354a9e - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 18:28:22 +00:00
Petr Lautrbach
36fe5b517c setroubleshoot-3.3.12-1
- Remove "Report bug" button when mozplugger plugin is used (#1290135)
- Change "check_for_man" return value upon failure (#1431191)
- Fix "plugin details" message content
- Add "init_args" function to Plugin
- Fix sealert crash when setroubleshootd fails to start (#1405003)
- Improve obtaining AVC object path
- Fix setroubleshootd.8
- Fix report problem summary string
- sealert - provide a better error message when SELinux is disabled
- Spelling fixes
- Python 3.6 invalid escape sequence deprecation fixes
2017-06-13 16:51:49 +02:00
Petr Lautrbach
2dbc30bae4 Change links from fedorahosted.org to pagure.io 2017-03-02 10:39:06 +01:00
Petr Lautrbach
9a15d74ce0 Remove -S git from %autosetup to prevent FTBFS in rawhide (#1424428) 2017-02-19 13:37:58 +01:00
Fedora Release Engineering
ac3de9585d - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 13:20:09 +00:00
Petr Lautrbach
2b98cfec14 Own __pycache__ directory
Resolves: rhbz#1413004
2017-01-16 18:50:37 +01:00
Miro Hrončok
be1dffd065 Rebuild for Python 3.6 2016-12-19 18:20:38 +01:00
Petr Lautrbach
3878bfdd1e setroubleshoot-3.3.11-1
- Fix "list all alerts" in sealert gui (#1370272, #1332485)
- Fix sealert message for capability2 (#1360392)
2016-08-31 15:07:54 +02:00
Fedora Release Engineering
64ebe7704b - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 12:36:30 +00:00
Petr Lautrbach
90b19d66d1 setroubleshoot-3.3.10-1
- setroubleshootd fixed to catch all subprocess exceptions
- Translations updated
2016-07-16 16:04:04 +02:00
Petr Lautrbach
ce9c2af5de setroubleshoot-3.3.9.1-1
- Do not use dangerous shell=True
- Use subprocess.check_output() with a sequence of program arguments
2016-06-21 16:57:35 +02:00
Petr Lautrbach
e68bd478ee setroubleshoot-3.3.8.1-1
- fixed get_all_alerts_ignored()
2016-06-02 18:50:29 +02:00
Petr Lautrbach
3e8751de38 setroubleshoot-3.3.8-1
- added setroubleshootd_log.log_full=True|False directive
- setroubleshootd_log.level and sealert_log.level can be set to
  different values
- get_alert() and get_all_alerts_since() DBUS APIs change to use
  number of microseconds instead of date string
- setroubleshoot.conf cleanup
2016-06-02 15:18:33 +02:00
Petr Lautrbach
288066f917 Move /run/setroubleshoot to setroubleshoot-server
setroubleshootd listens for clients on socket created in
/run/setroubleshoot by default. Therefore this directory and related
tmpfiles.d file belongs to setroubleshoot-server.

Fixes: rhbz#1329550
/bin/sealert[22726]: attempt to open server connection failed: No such
file or directory
2016-05-31 19:03:58 +02:00
Petr Lautrbach
28deddb948 setroubleshoot-3.3.7-1
- Added new methods to DBUS API:
  set_filter(), get_all_alerts_ignored(), delete_alert()
2016-05-18 22:18:31 +02:00
Petr Lautrbach
d6a205f01b setroubleshoot-3.3.6-1
- Translations updated (#1322654)
- Suggest my-<command>.pp modules instead of mypol.pp (#1329037)
2016-05-06 13:59:55 +02:00
Petr Lautrbach
f6e56901ad setroubleshoot-3.3.5-3
- Drop unwanted debug message in sedispatch (#1326985)
2016-04-14 11:28:55 +02:00
Petr Lautrbach
ce197f93a4 setroubleshoot-3.3.5-2
- setroubleshoot: Ensure that dbus string param isn't null
2016-04-07 11:39:16 +02:00
Petr Lautrbach
6143dd987f Ensure that dbus string param isn't null
An alert's level can be None, but DBUS doesn't allow that for
string parameters.

Resolves: https://github.com/fedora-selinux/setroubleshoot/pull/27
2016-04-07 11:32:18 +02:00
Petr Lautrbach
89d148b7e2 setroubleshoot-3.3.5-1
- get_alert() DBUS API extended with more parameters
- sedispatch uses a timeout when collecting audit events (#1322771)
- Use correct packaging for byte compiled files (#1321047)
2016-04-04 21:16:54 +02:00
Petr Lautrbach
c964568ba8 Use correct packaging for byte compiled files
setroubleshoot and setroubleshoot-server use same python directory.
Therefore we need to list all byte compiled files in each sub-package.

Resolves: rhbz#1321047
2016-03-27 23:09:57 +02:00
Petr Lautrbach
dafb5b6519 setroubleshoot-3.3.4
* Thu Feb 11 2016 Petr Lautrbach <plautrba@redhat.com> 3.3.4-1
- fixed traceback in SetroubleshootFixit.py (#1279396)
2016-02-11 14:00:58 +01:00
Fedora Release Engineering
94626bf95d - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 23:53:10 +00:00
Petr Lautrbach
a265a5e810 Remove 3.3.2-1 changelog entry 2016-01-21 14:51:54 +01:00
Petr Lautrbach
c408ea6407 setroubleshoot-3.3.3-1
* Thu Jan 21 2016 Petr Lautrbach <plautrba@redhat.com> 3.3.3-1
- fixed few UI browser problems
- extended DBUS API, see DBUS.md
- import MIMEText from the right module (#1297111)
2016-01-21 14:49:31 +01:00
Petr Lautrbach
36ec75fd22 setroubleshoot-3.3.2-1 2016-01-21 14:49:28 +01:00
Peter Robinson
03a0683b83 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-10 18:07:24 +00:00
Richard Hughes
1af0470727 Move the AppData file to the right subpackage so it gets used 2015-09-16 17:48:13 +01:00
Miroslav Grepl
91df1b8f65 * Fri Aug 28 2015 Michal Srb <msrb@redhat.com> - 3.3.1-0.2
- Sanitize requires for Python 3
2015-08-28 12:45:01 +02:00
Petr Lautrbach
f37e9eb044 setroubleshoot-3.3.1-0.1
- port setroubleshoot to Python 3
- based on python3 branch fedora-selinux/setroubleshoot
- HEAD e52a05819c4dfe5bdc6998c75780c890ca9ed288
2015-08-18 18:14:09 +02:00
Petr Lautrbach
162fd460fb Change owner of files in /var/lib/setroubleshoot when updating from older release 2015-08-12 17:25:29 +02:00
Petr Lautrbach
da781da597 setroubleshoot-server depends on policycoreutils-python-utils (#1246625)
setroubleshoot-3.2.24-3
2015-07-27 10:41:59 +02:00
Dennis Gilmore
1bef540bf9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 00:40:34 +00:00
Petr Lautrbach
ef2d2417ea * Thu Apr 23 2015 Petr Lautrbach <plautrba@redhat.com> 3.2.24-1
- translations updated from https://fedora.zanata.org/project/view/setroubleshoot
- setroubleshoot_database.xml and email_alert_recipients are %ghost again
2015-04-23 15:12:39 +02:00
Petr Lautrbach
06c37a06e3 setroubleshoot_database.xml and email_alert_recipients needs to be
%ghost in order not to overwrite existing files
2015-04-23 15:09:37 +02:00
Petr Lautrbach
0d5986d28b * Thu Apr 09 2015 Petr Lautrbach <plautrba@redhat.com> 3.2.23-1
- setroubleshootd is set to be run as setroubleshoot user instead of root user
- several bugfixes
2015-04-09 15:42:50 +02:00
Richard Hughes
329c7eab28 Add an AppData file for the software center 2015-03-26 16:43:04 +00:00
Petr Lautrbach
b66f1cfa5c * Thu Mar 26 2015 Petr Lautrbach <plautrba@redhat.com> 3.2.22-1
- Ship a symbolic setroubleshoot icon (#1182652)
- Fix get_rpm_nvr_*_temporary functions - CVE-2015-1815 (#1203352)
2015-03-26 09:17:31 +01:00
Petr Lautrbach
579a0b7a35 Provide the policy rpm in Bugzilla bug reports by jfilak@redhat.com
setroubleshoot-3.2.21-1
2015-02-11 11:29:24 +01:00
Kevin Fenzi
f039224019 Rebuild for rpm bug 1131960 2014-08-21 11:49:55 -06:00
Peter Robinson
c51f88e9e4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 02:03:34 +00:00
Dan Walsh
b4e6193762 Fix handling of target paths that decode screws up 2014-06-11 05:17:14 -07:00
Dennis Gilmore
11f98dd53a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 01:11:06 -05:00
Dan Walsh
c2e9eb8bae Remove at_console lines from policykit so cockpit can use dbus interfaces. 2014-05-19 09:42:52 -04:00
Miroslav Grepl
d9b3c82f47 Require libreport-gtk >= 2.2.1-2 2014-04-11 07:58:37 +02:00
Miroslav Grepl
3a6a1a6ee6 * Thu Apr 10 2014 Miroslav Grepl <mgrepl@redhat.com> - 3.2.18-1.1
- Add the policy rpm string to the user comments of an already reported bug from jfilak@redhat.com
2014-04-10 16:43:17 +02:00
Dan Walsh
f48447593a Stop sending syslog.LOG_DEBUG Messages unless loglevel is set to debug 2014-03-25 09:12:02 -04:00
Dan Walsh
c0d103c4e0 Fix unicode settings 2014-01-20 17:46:53 -05:00
Dan Walsh
05a8fc5fc8 Remove requires for notify-python and yum 2014-01-07 17:24:46 -05:00
Dan Walsh
dc5526b3dc Don't error out on no policy installed
- Update translations.
2014-01-02 18:22:00 -05:00
Dan Walsh
08bbf91b68 Eliminate requirement on service script. 2014-01-02 13:25:47 -05:00
Dan Walsh
417635d010 Update Lanquages
- Use setup.py in Makefile for setroubleshoot dir
2013-12-03 09:55:48 -05:00
Dan Walsh
31aefd2430 Add requires for libreport-python 2013-11-20 10:05:53 -05:00
Dan Walsh
eaab26adc9 Add requires for libreport-python 2013-11-20 09:36:13 -05:00
Dan Walsh
49bf583c35 Remove "the the" typo from code.
- Update Translations
2013-09-16 14:57:43 -04:00
Dan Walsh
082ab32e4c Move some of the Requires block down to -server package 2013-09-10 10:55:33 -04:00
Dan Walsh
14da5f414a Fix typo again in audit_data.py
- Make setroubleshoot less noicy in logs
2013-08-05 14:28:15 -04:00
Dan Walsh
39e41a4a3b Fix typo in audit_data.py 2013-08-01 21:39:50 -04:00
Adam Williamson
1e3091af04 fix up RPM changelog date, fix systemd-python requirement versioning 2013-08-01 08:58:19 -07:00
Dan Walsh
4dae46179d Add journald support for OBJECT_ID when logging journal messages
- Update Translations.
2013-07-31 14:40:35 -04:00
Dan Walsh
820ebc2e9c Make audit2allow optional, only requre policycoreutils-python not -devel.
- Update Translations.
2013-05-21 09:52:13 -04:00
Dan Walsh
07b8e47f99 On update cp instead of rename, since there could be a situation where
someone has ~/.config on a different file sytem then ~.  It has happened.
- Fix --password spelling error
- Remove --quit option from sealert
- Update translations
2013-05-07 14:24:39 -04:00
Dan Walsh
a8fa0aa2cd Fix handling of timeout attempt #2 2013-04-19 13:51:44 -04:00
Dan Walsh
0347255963 Fix translations to show in browser 2013-04-19 11:22:45 -04:00
Dan Walsh
f7b12f03ce Fix handling of timeout
- Update Translations
2013-04-19 08:32:49 -04:00
Dan Walsh
abf12c936e Remove old options from setroubleshoot usage statement.
- Update Translations
2013-04-08 14:01:24 -04:00
Dan Walsh
b485199b61 Fix usage of "it's" versus its in man pages.
- Update Translations

- Remove requirement for setools-libs-python, no longer needed.
2013-03-27 12:14:31 -04:00
Dan Walsh
6a5acd7336 Remove requirement for setools-libs-python, no longer needed. 2013-03-26 13:02:20 -04:00
Dan Walsh
5a67529501 Remove requirement for setools-libs-python, no longer needed. 2013-03-26 11:28:24 -04:00
Dan Walsh
c51057549a Update Translations
- Fix audit2allow -R output to actually work.
2013-03-05 14:00:27 -05:00
Dan Walsh
c161aacacb Fix handling of sesearch data 2013-02-15 11:48:34 -05:00
Dan Walsh
d463db3293 Remove sesearch from package and start using sepolicy from policycoreutils-python
- Fix retrieval of writable types to translate attributes into the group of types available, and not return non file types.
2013-02-04 14:11:28 -05:00
Dan Walsh
cdc4090d18 Remove sesearch from package and start using sepolicy from policycoreutils-python
- Fix retrieval of writable types to translate attributes into the group of types available, and not return non file types.
2013-01-31 14:16:51 -05:00
Dan Walsh
105601e9d4 Update translations.
- Restart auditd service on install and removal
2013-01-22 15:08:39 -05:00
Dan Walsh
09d8f014ad Update translations. 2013-01-14 16:40:51 -05:00
Dan Walsh
db70389507 Require policycoreutils-devel to pull in audit2allow 2013-01-14 16:40:06 -05:00
Dan Walsh
7d712361d7 More translation fixes. 2012-07-27 07:41:36 -04:00
Dan Walsh
6ae2837091 Fix Translations code to actually show translations 2012-07-25 11:10:22 -04:00