Commit Graph

391 Commits

Author SHA1 Message Date
Petr Lautrbach
242da2b976 setroubleshoot-3.3.27 2022-01-13 15:12:30 +01:00
Petr Lautrbach
85a820031f setroubleshoot-3.3.26-5
- Improve sedispatch performance

Requires audit >= 3.0.1

- Improve Python 3.10 compatibility
  https://pagure.io/setroubleshoot/issue/58
2021-07-27 11:41:38 +02:00
Fedora Release Engineering
446ccd7b9c - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 17:25:01 +00:00
Petr Lautrbach
5b9a88224f setroubleshoot-3.3.26-3
- Fix file mode of email_alert_recipients
2021-07-02 14:33:48 +02:00
Python Maint
420234f39a Rebuilt for Python 3.10 2021-06-04 21:14:44 +02:00
Petr Lautrbach
9eb5fb83b3 setroubleshoot-3.3.26
- Fix plugin exception reporting
- Update translations
- Stop SetroubleshootFixit after 10 seconds of inactivity
- Do not use Python slip package
2021-04-15 11:46:34 +02:00
Petr Lautrbach
e538407cbb setroubleshoot-3.3.25-1
- Use Python dasbus instead of pydbus
- Optimize get_rpm_nvr_by_type by adding a cache
- Update translations
2021-03-10 20:08:14 +01:00
Vit Mojzis
c42ca71e46 setroubleshoot-3.3.24-4
- sealert: exit on any connection close
2021-02-02 17:26:53 +01:00
Fedora Release Engineering
179d13d432 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 20:15:22 +00:00
Vit Mojzis
9718e5e570 setroubleshoot-3.3.24-2
- Optimize get_rpm_nvr_by_type by adding a cache
- Stop building seappletlegacy
2021-01-19 17:18:06 +01:00
Vit Mojzis
714bed8c42 Stop building seappletlegacy
setroubleshoot-legacy is not being shipped in RHEL
See: https://errata.devel.redhat.com/advisory/45364/builds

Resolves: rhbz#1878792
2021-01-16 21:15:36 +01:00
Petr Lautrbach
e961adbdaf Add make to BuildRequires 2020-12-14 12:18:54 +01:00
Petr Lautrbach
beb2a71e3f setroubleshoot-3.3.24-1
- Add 'fur' into shipped locales
- Update translations
- Log full reports with correct syslog identifier
- Cancel pending alarm during AVC analyses
2020-10-13 10:10:10 +02:00
Fedora Release Engineering
3502f40970 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 09:02:16 +00:00
Fedora Release Engineering
eed1173ddb - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 10:35:09 +00:00
Tom Stellard
6edc7d2d0f Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-14 14:08:30 +00:00
Petr Lautrbach
ce0b7236a0 Cancel pending alarm during AVC analyses
Previously the alarm was reset only in main DBUS thread and only when a new AVC
appeared. In cases when there were several AVC messages in short time, analyses
could take more than a default timeout and later analyses were not saved to
the database. Now we cancel pending timeouts before analyze_avc() and reset the
timeout back to default when it's done.

Fixes:
    $ journalctl | grep 'sealert -l'
    setroubleshoot[314039]: SELinux is preventing bash from search access on the directory .local. For complete SELinux messages run: sealert -l ccf3307a-f4ab-4584-87c6-63884daf841a

    $ sealert -l ccf3307a-f4ab-4584-87c6-63884daf841a
    Error
    query_alerts error (1003): id (ccf3307a-f4ab-4584-87c6-63884daf841a) not found
2020-05-27 13:59:07 +02:00
Miro Hrončok
4810120f39 Rebuilt for Python 3.9 2020-05-26 03:50:21 +02:00
Vit Mojzis
9c9318679f setroubleshoot-3.3.23-1
- browser: Check return value of Gdk.Screen().get_default()
- Improve and unify error messages
- 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
- Improve speed of plugin evaluation
2020-04-21 22:50:41 +02:00
Petr Lautrbach
3242bcadb0 setroubleshoot-3.3.22-6.fc33
- Do not try to report a bug on None package (#1809801)
2020-03-04 20:26:36 +01:00
Petr Lautrbach
678fd233e3 setroubleshoot-3.3.22-5
- root user doesn't need to use SetroubleshootPrivileged API
2020-02-28 13:37:14 +01:00
Petr Lautrbach
e2dfff1666 setroubleshoot-3.3.22-4
- sealert to report a bug on a package which owns the related SELinux domain
  https://pagure.io/setroubleshoot/issue/18
2020-02-27 15:04:17 +01:00
Fedora Release Engineering
4759318f5d - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 23:17:11 +00:00
Petr Lautrbach
61171038c2 setroubleshoot-3.3.22-2
- Log plugin exception traceback when log level is DEBUG
- sepolicy.info() returns a generator, not a list (#1784564)
2020-01-11 21:06:38 +01:00
Petr Lautrbach
1bbd702684 setroubleshoot-3.3.22
- sepolicy.info() returns a generator, not a list (#1784564)
2020-01-02 16:16:57 +01:00
Vit Mojzis
82e602850c setroubleshoot-3.3.21-1
- Fix AVC.__typeMatch to handle aliases properly
- Handle sockets with abstract path properly (#1775135)
2019-12-11 16:39:29 +01:00
Miro Hrončok
f13e6870bb Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:38:42 +02:00
Petr Lautrbach
160875de3e setroubleshoot-3.3.20-3.fc32
- Use dbus.mainloop.glib.DBusGMainLoop() instead of dbus.glib
2019-08-27 23:22:54 +02:00
Miro Hrončok
e305bc4874 Rebuilt for Python 3.8 2019-08-19 11:05:48 +02:00
Vit Mojzis
24d5048bc1 setroubleshoot-3.3.20-1
- Update "missing" scripts to automake-1.15
- Add active polling for acquiring policy file
- Fix translation of hex values in AVCs
- require initscripts to ensure that "service" call works properly
- Add man page for seapplet
- setroubleshoot-server: only require gobject-base
2019-07-26 10:13:32 +02:00
Stephen Gallagher
746ad7cd5d
setroubleshoot-server: only require gobject-base
When only the server is being installed, there is no need for the
cairo portions of gobject. This change avoids pulling in the X11
stack.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-07-25 11:14:51 -04:00
Martin Kutlak
6f74db21dd Correct the name for libreport Python3 require
The name of the package changed after [1].

We kept a provide for libreport-python3 but it will be removed with new release of libreport.

[1] https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3#Packages_with_Python_modules

Signed-off-by: Martin Kutlak <mkutlak@redhat.com>
2019-07-02 15:19:15 +02:00
Fedora Release Engineering
f8ff97289e - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 15:14:31 +00:00
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