Compare commits

...
Sign in to create a new pull request.

106 commits

Author SHA1 Message Date
Vit Mojzis
240f0409e2 setroubleshoot-3.3.37-5
- Update GPL2 license texts to the latest version
- Limit RPC request size in RequestReceiver to prevent memory exhaustion
2026-07-29 13:04:17 +02:00
Python Maint
4c02befbcb Rebuilt for Python 3.15.0b4 ABI change 2026-07-22 10:20:39 +02:00
Fedora Release Engineering
e877718bf6 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 06:25:41 +00:00
Ondrej Mosnáček
38052ffc8f
Remove the obsolete libxml2-python3 dependency
It is no longer needed after the migration in version 3.3.37.

Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2026-07-14 20:01:40 +02:00
Vit Mojzis
081fabe6be setroubleshoot-3.3.37-1
- Migrate from libxml2 to xml.etree.ElementTree
- Handle ImportError when setroubleshoot.browser is not available
- Add support for multiple commands in fix_cmd
2026-06-18 16:01:36 +02:00
Python Maint
b1535bd5ab Rebuilt for Python 3.15 2026-06-03 23:53:42 +02:00
Fedora Release Engineering
d1ab3c4d18 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 17:55:30 +00:00
Vit Mojzis
805fa2759c setroubleshoot-3.3.36-2
- browser: Always show "Report Bug" button
- Switch libreport to a weak dependency

Libreport depends on dnf-data, which is being phased out
see: https://gitlab.com/setroubleshoot/setroubleshoot/-/issues/10
2025-12-17 16:01:08 +01:00
Petr Lautrbach
806ca1f2bf setroubleshoot-3.3.36
- audit_data: include syslog when needed
- Rename appdata to metainfo
- Replace python-six with python 3 only code
2025-12-10 09:43:54 +01:00
Petr Lautrbach
36eb0c472e Fix manpages pattern
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages

    When installing man pages, note that RPM will re-compress them into
    its preferred format. So the %files section MUST reference manpages
    with a pattern that takes this into account:

    %files
    %{_mandir}/man1/foo.1*
2025-12-09 07:41:56 +01:00
jan janasek
1402004a33 fmf test plan update
updating plan due to new destination of tests
and therefore removing tests/ directory

Signed-off-by: Jan Janasek <jjanasek@redhat.com>
2025-10-07 07:31:08 +02:00
Python Maint
da7e26145b Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 14:56:13 +02:00
Python Maint
79fb858b11 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:17:36 +02:00
Miro Hrončok
b0aea9f463 Drop unused BuildRequires on python3-wheel
See https://github.com/fedora-eln/eln/issues/284

When pip sees a setup.py file and it has setuptools and wheel installed
it does not use build isolation (by default).
When we remove wheel, the default changes, so we need to be explicit.

Note that setting PIP_NO_BUILD_ISOLATION=0 disables build isolation,
which is a tad confusing, see https://github.com/pypa/pip/issues/5735
2025-07-29 22:59:24 +02:00
Fedora Release Engineering
73900f0cdb Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 18:10:45 +00:00
Python Maint
7fef72d510 Rebuilt for Python 3.14 2025-06-03 14:09:11 +02:00
Petr Lautrbach
8cade1ba68 Use released tarball and avoid autotools
Fixes: rhbz#2366708 - gettext 0.25 moves m4 files which is causing many
FTBFS
2025-05-19 17:12:15 +02:00
Petr Lautrbach
dbcf987fe2 setroubleshoot-3.3.35-5
- Reload auditd using auditctl instead of service
- Drop dependency on initscripts-service
Resolves: rhbz#2365614
2025-05-19 14:35:42 +02:00
Petr Lautrbach
08ddf0d47d setroubleshoot-3.3.35-4
- Update tmpfiles.d config (bz#2346971)
2025-03-03 14:30:00 +01:00
Petr Lautrbach
e8153bc27e Create /var/lib/setroubleshoot directory
On image based system, /var/lib/setroubleshoot is not created during rpm
installation but needs to be created during boot using tmpfiles.d

Fixes:
    setroubleshoot[96947]: cannot create file /var/lib/setroubleshoot/setroubleshoot_database.xml [No such file or directory]
    setroubleshoot[96947]: cannot chmod /var/lib/setroubleshoot/setroubleshoot_database.xml to 600 [No such file or directory]
    setroubleshoot[96947]: cannot chown /var/lib/setroubleshoot/setroubleshoot_database.xml to setroubleshoot:setroubleshoot [No such file or directory]
    setroubleshoot[96947]: cannot create file /var/lib/setroubleshoot/email_alert_recipients [No such file or directory]
    setroubleshoot[96947]: cannot chmod /var/lib/setroubleshoot/email_alert_recipients to 600 [No such file or directory]
    setroubleshoot[96947]: cannot chown /var/lib/setroubleshoot/email_alert_recipients to setroubleshoot:setroubleshoot [No such file or directory]

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2346971
2025-02-28 17:06:32 +01:00
ddab109d07 Drop call to %sysusers_create_compat
After https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers,
rpm will handle account creation automatically.
2025-02-11 18:03:10 +01:00
Fedora Release Engineering
ba0f75d429 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 10:28:11 +00:00
Petr Lautrbach
2fdbf78a20 setroubleshoot-3.3.35
- Adjust seapplet notification to desktop file
 - Fix icon file name
 - Do not hardcode /var/lib/selinux as store_root
 - data: Fix AppStream metadata
2024-11-26 14:54:18 +01:00
Petr Lautrbach
9b0d80c065 setroubleshoot-3.3.34-2
- Do not hardcode /var/lib/selinux as store_root
Fixes: https://gitlab.com/setroubleshoot/setroubleshoot/-/issues/11

- Fix icon file name
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2300369
2024-11-20 13:40:44 +01:00
Petr Lautrbach
9d089ce520 setroubleshoot-3.3.34
- data: update app icon
- Disable bug reporting, if libreport is not available
- Enable Georgian and Arabic (ar) languages in configure.ac
- Update translations
2024-11-04 20:35:00 +01:00
Yaakov Selkowitz
ca66ae67a5 Disable bug reporting, if libreport is not available
Resolves: RHEL-52902
2024-08-22 17:11:11 -04:00
Fedora Release Engineering
225c950548 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 05:18:30 +00:00
Petr Lautrbach
0e1ef881eb Rebuild with patches added to specfile
Also use %autosetup -S git

Fixes:
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
File gui/16x16/setroubleshoot_icon.png: git binary diffs are not supported.
File gui/16x16/setroubleshoot_red_icon.png: git binary diffs are not supported.
2024-06-11 11:03:33 +02:00
Python Maint
5fef4166c3 Rebuilt for Python 3.13 2024-06-07 22:11:26 +02:00
Petr Lautrbach
50f3e68b9c setroubleshoot-3.3.33-2
https://gitlab.com/setroubleshoot/setroubleshoot/-/issues/8

- Ship with contemporary app icon
2024-06-03 19:57:14 +02:00
Vit Mojzis
1a11b3af0a setroubleshoot-3.3.33-1
- Check that SELinux is enabled before running (rhbz#2178950)
- Improve limiting RAM utilization
2024-01-31 18:46:01 +01:00
Fedora Release Engineering
6a4fd9320c Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 02:41:34 +00:00
Petr Lautrbach
1c5594f8c5 setroubleshoot-3.3.32-7
- Always reset pending alarms when alarm(0) (rhbz#2112573)
2023-07-25 16:07:40 +02:00
Petr Lautrbach
47767e1756 setroubleshoot-3.3.32-6
- 'imp' module is deprecated in favor of 'importlib' (rhbz#2224393)
2023-07-25 11:21:16 +02:00
Fedora Release Engineering
95d38b7207 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 01:28:20 +00:00
Python Maint
f479eb3835 Rebuilt for Python 3.12 2023-06-15 17:00:51 +02:00
Miro Hrončok
9abfd82bd1 Fix build with pip 23.1.2+
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2209022
2023-05-26 11:33:22 +02:00
Tomas Popela
dc409d3423 Remove dbus-glib-devel BR as it's only needed when compiled with seappletlegacy 2023-05-15 13:38:14 +02:00
Petr Lautrbach
5a05936055 setroubleshoot-3.3.32-1
- Rename session bus name to org.fedoraproject.sealert
- seapplet: wrap SEApplet() to try except
- util.py: Add doctext test for build_module_type_cache()
- Update translations
2023-02-15 16:13:33 +01:00
Petr Lautrbach
0ef6904e8c Require python3-six
Fixes: https://gitlab.com/setroubleshoot/setroubleshoot/-/issues/5
2023-01-23 08:44:44 +00:00
Fedora Release Engineering
3941edca6c Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 03:03:31 +00:00
Petr Lautrbach
e7d96b6145 tests: ausearch needs --input-logs in order not to read from stdin 2022-11-23 18:27:49 +01:00
Petr Lautrbach
71579d9c77 setroubleshoot-3.3.31
- Add a screen reader label to the icon
- seapplet: avoid ValueError when parsing sealert.conf
- doc: Document performance related changes
- Decrease setroubleshootd priority and limit RAM utilization to 1GB
- Use setup from setuptools
- Use `pip install` instead of `setup.py install`
2022-11-23 17:01:54 +01:00
Milos Malik
cf56395c07 run Tier1 tests via TMT/FMF
Use the TMT/FMF instead of STI for running tests. STI does not respect
the adjust section in main.fmf files of stored tests.

Related: rhbz#2107109
2022-11-10 11:07:58 +01:00
Petr Lautrbach
c3f497359d Migrate License tag to SPDX
https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1
2022-11-10 09:31:56 +01:00
Petr Lautrbach
2ebb87bdb3 Drop gtk2-devel BR
It's not necessary anymore
2022-10-31 11:59:36 +01:00
Fedora Release Engineering
41a59deb77 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 08:25:54 +00:00
Petr Lautrbach
ab44fbbbb7 setroubleshoot-3.3.30
- Miscellaneous python and build system changes
- Fix couple of typos
- Drop Python2 support
- Use inspect.signature() instead of instead.getargspec()
- Update translations
2022-06-28 11:23:28 +02:00
Python Maint
d6c96a4e3b Rebuilt for Python 3.11 2022-06-13 20:59:55 +02:00
Petr Lautrbach
32884f31db setroubleshoot-3.3.29
- Introduce email.use_sendmail option
- Update translations
2022-03-30 14:16:51 +02:00
Timothée Ravier
9dd21d3b55 Install sysusers configuration
User and group are now created by the macro but the configuration file
should be installed on the systemd too:
https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/#_dynamic_allocation

Also remove the Requires(pre) for useradd & groupadd as it is handled by
the %sysusers_create_compat macro:
https://src.fedoraproject.org/rpms/systemd/blob/rawhide/f/macros.sysusers
2022-02-09 12:21:17 +01:00
Petr Lautrbach
37c8e795f1 setroubleshoot-3.3.28-2
- Use %sysusers_create_compat instead of useradd
- Set right ownership on /var/lib/setroubleshoot
2022-02-08 16:50:11 +01:00
Petr Lautrbach
73eee022be Use %sysusers_create_compat instead of useradd
See https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2046458
2022-02-08 16:47:26 +01:00
Petr Lautrbach
e53fbd0923 Set right ownership on /var/lib/setroubleshoot
A system which uses rpm ostree doesn't install rpms but images which are
pre-created in a build system. There's no guarantee that the build
system has the same uid/gid mapping for setroubleshoot as the local system.

systemd-tmpfiles's 'Z' type recursivelly sets the user and group
ownership on every reboot.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2012943
2022-02-08 16:32:38 +01:00
Petr Lautrbach
db9ec84c0b setroubleshoot-3.3.28 2022-02-08 14:49:57 +01:00
Petr Lautrbach
2c88c3cee0 setroubleshoot-3.3.27-2
- Improve DSP module reporting
- Require initscripts-service - /sbin/service
2022-01-19 16:31:46 +01:00
Petr Lautrbach
7c46629c9c /sbin/service is in initscripts-service now 2022-01-19 14:44:19 +01:00
Petr Lautrbach
05aacc00c1 Improve DSP module reporting 2022-01-19 13:40:47 +01:00
Petr Lautrbach
58c30239f8 %{_tmpfilesdir} macro is provided by systemd-rpm-macros 2022-01-13 16:32:50 +01:00
Petr Lautrbach
242da2b976 setroubleshoot-3.3.27 2022-01-13 15:12:30 +01:00
Vit Mojzis
38d9ec3188 Update instructions for working with translations 2022-01-13 13:59:55 +01:00
Timothée Ravier
46d862d45c Remove deprecated init script 2021-11-11 10:30:51 +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
Vit Mojzis
5886bbdd11 tests/Regression/Report-bugs: Add new test RPM 2020-08-05 18:05:15 +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
Petr Lautrbach
6882e142b6 tests: Add public_content test
Does public_content plugin work as expected with the current
setroubleshoot-server?
2020-05-27 13:58:28 +02:00
Miro Hrončok
4810120f39 Rebuilt for Python 3.9 2020-05-26 03:50:21 +02:00
Vit Mojzis
01e036ef43 tests: Add Regression/Report-bugs-on-corresponding-components
Policy packages to be used in the test are specified using
TEST_PACKAGES variable in the Makefile. Corresponding avc_<package_name>
file has to exist for each such package.

avc_<package_name> files contain AVCs with "scontext" domain defined
in policy module installed by <package_name> RPM. The test verifies that
setroubleshoot is able to properly identify the source package.
2020-05-22 13:17:51 +02:00
Vit Mojzis
bb3d75bf71 tests/sealert-s-traceback-invalid-display: remove invalid argument
The argument was never used since sealert always crashed on GUI setup,
but it iss still better to remove it to avoid issues in the future.
2020-05-13 16:44:48 +02:00
Vit Mojzis
8e35736477 tests: Add Regression/sealert-s-traceback-invalid-display
This test should make sure that "sealert -s" does not traceback
with DISPLAY set to invalid value.
2020-04-28 15:56:44 +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
2751df1935 no-plugin-exception-during-analyses: Fix indentation 2020-01-11 19:46:39 +01:00
Petr Lautrbach
e4ba63e00b no-plugin-exception-during-analyses: Test sealert -a ./short.log
short.log exposes a problem with Plugin Exception in catchall_labels plugin

Covers "'generator' object is not subscriptable" in sealert output:

    $ sealert -a ./short.log
    100% done'generator' object is not subscriptable
    100% done
    found 2 alerts in ./short.log
    ...
2020-01-11 19:28:15 +01:00
Petr Lautrbach
77e7a0320c tests: Few no-plugin-exception-during-analyses improvements
- when first grep fails print journal as well
- check for setroubleshoot-server instead of setroubleshoot
- improve grep assert to match "passwd" and "/usr/bin/passwd"
2020-01-06 16:05:21 +01:00
Petr Lautrbach
0340721f20 tests: Add Regression/no-plugin-exception-during-analyses to CI tests 2020-01-06 09:52:59 +01:00
Petr Lautrbach
8937bc78c8 tests: Report setroubleshoot-server version during no-plugin-exception-during-analyses 2020-01-06 09:49:41 +01:00
Petr Lautrbach
2602b87ed0 tests: Does setroubleshoot report any 'Plugin Exception' during analyses?
This test should cover cases when setroubleshoot reports "Plugin Exception"
during analyses, see https://bugzilla.redhat.com/show_bug.cgi?id=1784564

Example log with the reported problem:
    setroubleshoot[834]: Plugin Exception catchall_labels
    setroubleshoot[834]: Plugin Exception file
    setroubleshoot[834]: Plugin Exception openvpn
2020-01-03 15:57:56 +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
Vit Mojzis
7573f5f239 tests: Add Regression/embedded-null-byte-in-audit-records 2019-12-11 16:16:13 +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
12 changed files with 921 additions and 288 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

18
.gitignore vendored
View file

@ -204,3 +204,21 @@ setroubleshoot-2.2.93.tar.gz
/setroubleshoot-3.3.17.tar.gz
/setroubleshoot-3.3.18.tar.gz
/setroubleshoot-3.3.19.tar.gz
/setroubleshoot-3.3.20.tar.gz
/setroubleshoot-3.3.21.tar.gz
/setroubleshoot-3.3.22.tar.gz
/setroubleshoot-3.3.23.tar.gz
/setroubleshoot-3.3.24.tar.gz
/setroubleshoot-3.3.25.tar.gz
/setroubleshoot-3.3.26.tar.gz
/framework-3.3.27.tar.gz
/setroubleshoot-3.3.28.tar.gz
/setroubleshoot-3.3.29.tar.gz
/setroubleshoot-3.3.30.tar.gz
/setroubleshoot-3.3.31.tar.gz
/setroubleshoot-3.3.32.tar.gz
/setroubleshoot-3.3.33.tar.gz
/setroubleshoot-3.3.34.tar.gz
/setroubleshoot-3.3.35.tar.gz
/setroubleshoot-3.3.36.tar.gz
/setroubleshoot-3.3.37.tar.gz

View file

@ -0,0 +1,443 @@
From 96f8442e292e651437004d78abdbb8586ebb728e Mon Sep 17 00:00:00 2001
From: Petr Lautrbach <lautrbach@redhat.com>
Date: Tue, 2 Jun 2026 11:15:33 +0200
Subject: [PATCH] Update GPL2 license texts to the latest version
Fixes: https://gitlab.com/setroubleshoot/setroubleshoot/-/work_items/6
setroubleshoot.x86_64: E: incorrect-fsf-address /usr/lib/python3.12/site-packages/setroubleshoot/browser.py
setroubleshoot.x86_64: E: incorrect-fsf-address /usr/lib/python3.12/site-packages/setroubleshoot/gui_utils.py
setroubleshoot-server.x86_64: E: incorrect-fsf-address /usr/bin/sealert
setroubleshoot-server.x86_64: E: incorrect-fsf-address /usr/lib/python3.12/site-packages/setroubleshoot/Plugin.py
...
---
COPYING | 15 +++++++--------
src/SetroubleshootPrivileged.py | 5 ++---
src/config.py.in | 3 +--
src/default_encoding.c | 3 +--
src/sealert | 3 +--
src/seappletlegacy.c | 3 +--
src/sedbus.c | 3 +--
src/sedispatch.c | 3 +--
src/setroubleshoot/Plugin.py | 3 +--
src/setroubleshoot/__init__.py | 3 +--
src/setroubleshoot/access_control.py | 3 +--
src/setroubleshoot/analyze.py | 3 +--
src/setroubleshoot/audit_data.py | 3 +--
src/setroubleshoot/avc_audit.py | 3 +--
src/setroubleshoot/browser.py | 3 +--
src/setroubleshoot/email_alert.py | 3 +--
src/setroubleshoot/errcode.py | 3 +--
src/setroubleshoot/gui_utils.py | 3 +--
src/setroubleshoot/html_util.py | 3 +--
src/setroubleshoot/rpc.py | 3 +--
src/setroubleshoot/rpc_interfaces.py | 3 +--
src/setroubleshoot/server.py | 3 +--
src/setroubleshoot/signature.py | 3 +--
src/setroubleshoot/util.py | 3 +--
src/setroubleshoot/xml_serialize.py | 3 +--
src/setroubleshootd | 3 +--
26 files changed, 33 insertions(+), 59 deletions(-)
diff --git a/COPYING b/COPYING
index 623b625..6c6dbab 100644
--- a/COPYING
+++ b/COPYING
@@ -1,8 +1,8 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -15,7 +15,7 @@ software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
+the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
@@ -304,8 +304,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ along with this program; if not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
@@ -330,11 +329,11 @@ necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
- <signature of Ty Coon>, 1 April 1989
- Ty Coon, President of Vice
+ <signature of Moe Ghoul>, 1 April 1989
+ Moe Ghoul, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Library General
+library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
diff --git a/src/SetroubleshootPrivileged.py b/src/SetroubleshootPrivileged.py
index c9f46da..845a006 100644
--- a/src/SetroubleshootPrivileged.py
+++ b/src/SetroubleshootPrivileged.py
@@ -14,9 +14,8 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
import signal
from gi.repository import GLib
diff --git a/src/config.py.in b/src/config.py.in
index 48a670a..d8e7e35 100644
--- a/src/config.py.in
+++ b/src/config.py.in
@@ -14,8 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
__all__ = ['config_init',
diff --git a/src/default_encoding.c b/src/default_encoding.c
index 61d6382..75e9930 100644
--- a/src/default_encoding.c
+++ b/src/default_encoding.c
@@ -15,8 +15,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with this program; if not, see <https://www.gnu.org/licenses/>.
*/
#include <Python.h>
diff --git a/src/sealert b/src/sealert
index c45f4fc..91af079 100755
--- a/src/sealert
+++ b/src/sealert
@@ -16,8 +16,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
from __future__ import print_function
diff --git a/src/seappletlegacy.c b/src/seappletlegacy.c
index d6ce7ec..1e14482 100644
--- a/src/seappletlegacy.c
+++ b/src/seappletlegacy.c
@@ -17,8 +17,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * along with this program; if not, see <https://www.gnu.org/licenses/>.
*
* compile command
* gcc -g sealerttrayicon.c -o sealerttrayicon `pkg-config --cflags --libs gtk+-2.0` -lnotify
diff --git a/src/sedbus.c b/src/sedbus.c
index 702bed7..fd4a860 100644
--- a/src/sedbus.c
+++ b/src/sedbus.c
@@ -13,8 +13,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with this program; if not, see <https://www.gnu.org/licenses/>.
*
* Authors:
* Dan Walsh <dwalsh@redhat.com>
diff --git a/src/sedispatch.c b/src/sedispatch.c
index 07d9c90..b1b80fc 100644
--- a/src/sedispatch.c
+++ b/src/sedispatch.c
@@ -13,8 +13,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with this program; if not, see <https://www.gnu.org/licenses/>.
*
* Authors:
* Dan Walsh <dwalsh@redhat.com>
diff --git a/src/setroubleshoot/Plugin.py b/src/setroubleshoot/Plugin.py
index 3c52b7f..13f31f0 100644
--- a/src/setroubleshoot/Plugin.py
+++ b/src/setroubleshoot/Plugin.py
@@ -15,8 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
import gettext
diff --git a/src/setroubleshoot/__init__.py b/src/setroubleshoot/__init__.py
index ccb6b8b..0fe4d80 100644
--- a/src/setroubleshoot/__init__.py
+++ b/src/setroubleshoot/__init__.py
@@ -12,6 +12,5 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
diff --git a/src/setroubleshoot/access_control.py b/src/setroubleshoot/access_control.py
index de16e32..3c2c02b 100644
--- a/src/setroubleshoot/access_control.py
+++ b/src/setroubleshoot/access_control.py
@@ -13,8 +13,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
"""Access control for setroubleshoot. For now this is only used for
diff --git a/src/setroubleshoot/analyze.py b/src/setroubleshoot/analyze.py
index d1c7ac6..b2bbce8 100644
--- a/src/setroubleshoot/analyze.py
+++ b/src/setroubleshoot/analyze.py
@@ -13,8 +13,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
from __future__ import print_function
diff --git a/src/setroubleshoot/audit_data.py b/src/setroubleshoot/audit_data.py
index 34cc3b1..d1e03d7 100644
--- a/src/setroubleshoot/audit_data.py
+++ b/src/setroubleshoot/audit_data.py
@@ -15,8 +15,7 @@ import sys
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
__all__ = ['derive_record_format',
diff --git a/src/setroubleshoot/avc_audit.py b/src/setroubleshoot/avc_audit.py
index 5419280..2f61349 100644
--- a/src/setroubleshoot/avc_audit.py
+++ b/src/setroubleshoot/avc_audit.py
@@ -13,8 +13,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
__all__ = [
diff --git a/src/setroubleshoot/browser.py b/src/setroubleshoot/browser.py
index 47788a7..d8e9921 100644
--- a/src/setroubleshoot/browser.py
+++ b/src/setroubleshoot/browser.py
@@ -13,8 +13,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
from __future__ import absolute_import
diff --git a/src/setroubleshoot/email_alert.py b/src/setroubleshoot/email_alert.py
index 0921b99..8e41124 100644
--- a/src/setroubleshoot/email_alert.py
+++ b/src/setroubleshoot/email_alert.py
@@ -14,8 +14,7 @@ from __future__ import absolute_import
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
__all__ = ['email_alert',
diff --git a/src/setroubleshoot/errcode.py b/src/setroubleshoot/errcode.py
index 2a2aa21..7a925b9 100644
--- a/src/setroubleshoot/errcode.py
+++ b/src/setroubleshoot/errcode.py
@@ -13,8 +13,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
import gettext
from setroubleshoot.config import parse_config_setting, get_config
diff --git a/src/setroubleshoot/gui_utils.py b/src/setroubleshoot/gui_utils.py
index e28673a..cbec874 100644
--- a/src/setroubleshoot/gui_utils.py
+++ b/src/setroubleshoot/gui_utils.py
@@ -14,8 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# Needed to silence warnings if X display is not present
diff --git a/src/setroubleshoot/html_util.py b/src/setroubleshoot/html_util.py
index 5021683..c08e5b5 100644
--- a/src/setroubleshoot/html_util.py
+++ b/src/setroubleshoot/html_util.py
@@ -13,8 +13,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
diff --git a/src/setroubleshoot/rpc.py b/src/setroubleshoot/rpc.py
index 82fc294..2a874ae 100755
--- a/src/setroubleshoot/rpc.py
+++ b/src/setroubleshoot/rpc.py
@@ -15,8 +15,7 @@ from __future__ import print_function
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
import xml.etree.ElementTree as ET
diff --git a/src/setroubleshoot/rpc_interfaces.py b/src/setroubleshoot/rpc_interfaces.py
index ec7ff50..5a42f0b 100644
--- a/src/setroubleshoot/rpc_interfaces.py
+++ b/src/setroubleshoot/rpc_interfaces.py
@@ -13,8 +13,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
from setroubleshoot.rpc import rpc_method, rpc_arg_type, rpc_callback, rpc_signal
diff --git a/src/setroubleshoot/server.py b/src/setroubleshoot/server.py
index 3369af1..cf0f345 100755
--- a/src/setroubleshoot/server.py
+++ b/src/setroubleshoot/server.py
@@ -16,8 +16,7 @@ from __future__ import absolute_import
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
__all__ = ['RunFaultServer',
diff --git a/src/setroubleshoot/signature.py b/src/setroubleshoot/signature.py
index cf675ff..e4fee53 100755
--- a/src/setroubleshoot/signature.py
+++ b/src/setroubleshoot/signature.py
@@ -17,8 +17,7 @@ from __future__ import print_function
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
import syslog
diff --git a/src/setroubleshoot/util.py b/src/setroubleshoot/util.py
index b6125aa..dd331b7 100755
--- a/src/setroubleshoot/util.py
+++ b/src/setroubleshoot/util.py
@@ -14,8 +14,7 @@ from __future__ import absolute_import
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
__all__ = [
diff --git a/src/setroubleshoot/xml_serialize.py b/src/setroubleshoot/xml_serialize.py
index e1adf7f..596e276 100755
--- a/src/setroubleshoot/xml_serialize.py
+++ b/src/setroubleshoot/xml_serialize.py
@@ -14,8 +14,7 @@ from __future__ import absolute_import
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
# Escaping
diff --git a/src/setroubleshootd b/src/setroubleshootd
index 3affe3a..2ad355b 100755
--- a/src/setroubleshootd
+++ b/src/setroubleshootd
@@ -17,8 +17,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
#
import sys
import os
--
2.53.0

View file

@ -0,0 +1,80 @@
From 4ffb87384c1c104f14db183b26d445c1685fb053 Mon Sep 17 00:00:00 2001
From: Vit Mojzis <vmojzis@redhat.com>
Date: Mon, 27 Jul 2026 17:06:52 +0200
Subject: [PATCH] Limit RPC request size in RequestReceiver to prevent memory
exhaustion
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
A local attacker could connect to the world-writable setroubleshootd
UNIX socket and send a crafted RPC header with an arbitrarily large
content-length value, then continuously stream body data. Because
RequestReceiver.feed() appended incoming data to feed_buf without any
upper bound and parse_header() trusted the content-length value
directly, memory usage would grow until the daemon was OOM-killed by
the MemoryMax=1G cgroup limit.
Add size limits at three levels:
- Reject content-length values that are missing, negative, or exceed
MAX_BODY_LEN (1 MiB) in parse_header()
- Reject incomplete headers once feed_buf exceeds MAX_HEADER_LEN
(8 KiB) without a terminator in process()
- Cap total feed_buf size to MAX_HEADER_LEN + MAX_BODY_LEN in feed()
as a catch-all safety net
All ValueError exceptions propagate to the existing except handler in
handle_client_io(), which logs the error and closes only the offending
client connection — the daemon continues serving other clients.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---
src/setroubleshoot/rpc.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/setroubleshoot/rpc.py b/src/setroubleshoot/rpc.py
index 2a874ae..aca2d7e 100755
--- a/src/setroubleshoot/rpc.py
+++ b/src/setroubleshoot/rpc.py
@@ -710,6 +710,8 @@ class ListeningServer(ConnectionIO):
class RequestReceiver:
+ MAX_HEADER_LEN = 8192
+ MAX_BODY_LEN = 1024 * 1024
def __init__(self, dispatchFunc):
self.dispatchFunc = dispatchFunc
@@ -736,6 +738,8 @@ class RequestReceiver:
self.parse_header()
continue
else:
+ if len(self.feed_buf) > self.MAX_HEADER_LEN:
+ raise ValueError("RPC header too large")
# Can't read header till more data arrives
break
if len(self.feed_buf) >= self.headerLen + self.bodyLen:
@@ -754,6 +758,8 @@ class RequestReceiver:
def feed(self, data):
self.feed_buf += data
+ if len(self.feed_buf) > self.MAX_HEADER_LEN + self.MAX_BODY_LEN:
+ raise ValueError("RPC request exceeds maximum allowed size")
self.process()
def parse_header(self):
@@ -768,7 +774,11 @@ class RequestReceiver:
begin = match.end()
else:
break
+ if 'content-length' not in self.header:
+ raise ValueError("RPC request missing content-length")
self.bodyLen = int(self.header['content-length'])
+ if self.bodyLen < 0 or self.bodyLen > self.MAX_BODY_LEN:
+ raise ValueError("RPC body length out of range")
#-----------------------------------------------------------------------------
--
2.53.0

View file

@ -1,29 +1,47 @@
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
- https://translate.fedoraproject.org/projects/setroubleshoot/
- contains translations for both stable (rhel8) and main (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
- setroubleshoot source repositories
- https://gitlab.com/setroubleshoot
- used for development
- separate repos for plugins and framework
- https://pagure.io/setroubleshoot and https://github.com/fedora-selinux/setroubleshoot
- no longer updated
- plugins and framework in the same repo
How to update source files on fedora.zanata:
$ git clone git@github.com:fedora-selinux/setroubleshoot.git
$ cd setroubleshoot/framework
# Update Makefile
How to update source files on weblate:
# install dependencies
$ sudo dnf install automake autoconf inittool gettext glib2-devel dbus-devel libnotify-devel gtk3-devel audit-libs-devel
$ git clone git@gitlab.com:setroubleshoot/framework.git
$ git clone git@gitlab.com:setroubleshoot/plugins.git
$ cd framework
# Update Makefile
$ ./autogen.sh
# generate new potfile
# generate new potfile
$ cd po
$ make setroubleshoot.pot
# Repeat the process for plugins
# Push potfiles to zanata
$ zanata-cli push --push-type source
# https://translate.fedoraproject.org/projects/setroubleshoot/setroubleshoot/en/
# Files -> Upload translations
# Repeat the process for plugins
# https://translate.fedoraproject.org/projects/setroubleshoot/plugins/en/
# Files -> Upload translations
# or use weblate command line tool:
$ wlc --key <API key> --url https://translate.fedoraproject.org/api/ upload --input framework/po/setroubleshoot.pot setroubleshoot/setroubleshoot/en
$ wlc --key <API key> --url https://translate.fedoraproject.org/api/ upload --input plugins/po/setroubleshoot.pot setroubleshoot/plugins/en/
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
How to pull new translations from weblate
$ git clone git@gitlab.com:setroubleshoot/framework.git
$ git clone git@gitlab.com:setroubleshoot/plugins.git
# https://translate.fedoraproject.org/projects/setroubleshoot/setroubleshoot
# Files -> Download translation files as ZIP file
# https://translate.fedoraproject.org/projects/setroubleshoot/plugins/
# Files -> Download translation files as ZIP file
$ unzip setroubleshoot-setroubleshoot.zip
$ cp setroubleshoot/setroubleshoot/framework/po/*.po /framework/po
$ unzip setroubleshoot-plugins.zip
$ cp setroubleshoot/plugins/plugins/po/*.po /plugins/po
# wlc doesn't support batch download yet https://github.com/WeblateOrg/wlc/issues/17

8
plans/tests.fmf Normal file
View file

@ -0,0 +1,8 @@
summary: Tier 1 setroubleshoot test plan
discover:
how: fmf
url: https://gitlab.com/setroubleshoot/tests.git
filter: "component:setroubleshoot & tier: 1"
execute:
how: tmt

View file

@ -1,26 +0,0 @@
diff -up setroubleshoot-3.2.14/po/bn_IN.po~ setroubleshoot-3.2.14/po/bn_IN.po
--- setroubleshoot-3.2.14/po/bn_IN.po~ 2013-11-20 10:01:40.717181224 -0500
+++ setroubleshoot-3.2.14/po/bn_IN.po 2013-11-20 10:02:47.154195170 -0500
@@ -165,9 +165,7 @@ msgstr "উৎসের পà§<C3A0>রকà§<C3A0>à
#: ../src/browser.py:269
msgid "Attempted Access"
-msgstr ""
-"\n"
-"বà§<C3A0>যবহারের পà§<C3A0>রয়াস\n"
+msgstr "বà§<C3A0>যবহারের পà§<C3A0>রয়াস"
#: ../src/browser.py:269
msgid "On this"
@@ -222,9 +220,8 @@ msgstr ""
msgid ""
"Report\n"
"Bug"
-msgstr ""
-"বাগ সমà§<C3A0>পরà§<C3A0>কে\n"
-"সূচিত করà§<C3A0>ন\n"
+msgstr "বাগ সমà§<C3A0>পরà§<C3A0>কে\n"
+"সূচিত করà§<C3A0>ন"
#: ../src/browser.py:543
#, python-format

View file

@ -1,195 +0,0 @@
#!/bin/bash
#
# setroubleshoot This starts and stops setroubleshoot daemon
#
# chkconfig: 345 13 87
# description: This starts the SELinux Troubleshooting Daemon
#
# processname: /usr/sbin/setroubleshootd
# config: /etc/setroubleshoot/setroubleshoot.cfg
# pidfile: /var/run/setroubleshoot.pid
#
### BEGIN INIT INFO
# Provides: lsb-setroubleshootd
# Required-Start: $local_fs $syslog $network $named $messagebus
# Required-Stop: $local_fs $syslog $network $named $messagebus
# Default-Start: 3 4 5
# Default-Stop: 0 1 6
# Short-Description: start and stop SELinux Troubleshooting Daemon
# Description: controls operation of the SELinux Troubleshooting Daemon
# (setroubleshootd) which listens for SELinux AVC denial messages
# analyzes it and provides a friendly interpretation.
### END INIT INFO
# Return values according to LSB for all commands but status:
# 0 success
# 1 generic or unspecified error (current practice)
# 2 invalid or excess argument(s)
# 3 unimplemented feature (for example, "reload")
# 4 user had insufficient privilege
# 5 program is not installed
# 6 program is not configured
# 7 program is not running
# Command argument
# start start the service
# stop stop the service
# restart stop and restart the service if the service is already running, otherwise start the service
# try-restart restart the service if the service is already running
# reload cause the configuration of the service to be reloaded without actually stopping and restarting the service
# force-reload cause the configuration to be reloaded if the service supports this, otherwise restart the service if it is running
# status print the current status of the service
# start, stop, restart, force-reload, and status actions must be supported
# reload and the try-restart actions are optional.
# the init script.
PATH=/sbin:/bin:/usr/bin:/usr/sbin
# Source function library.
. /etc/init.d/functions
RETVAL=0
prog="setroubleshootd"
usage(){
echo $"Usage: $0 {start|stop|status|restart|try-restart|condrestart|reload|force-reload|cleardb [test][verbose]}"
}
command=$1
shift
[ $command ] || (usage; exit 3)
# look for extra options
while [ $# -gt 0 ]; do
arg=$1
case "$arg" in
test)
EXTRAOPTIONS="$EXTRAOPTIONS -c audit.text_protocol_socket_path=/tmp/audispd_events"
;;
verbose)
EXTRAOPTIONS="$EXTRAOPTIONS -V"
;;
*)
echo "unknown arg $arg"
esac
shift
done
rhstatus(){
status $prog
RETVAL=$?
return $RETVAL
}
# Allow status as non-root and also if SELinux is disabled
if [ "$command" = status ]; then
rhstatus
RETVAL=$?
exit $RETVAL
fi
# Silently exit is SELinux is not enabled
[ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled || exit 1
# Check that we are root ... so non-root users stop here
if test `id -u` != 0; then
echo "You must be root"
exit 4
fi
start(){
echo -n $"Starting $prog: "
unset HOME MAIL USER USERNAME
daemon $prog "$EXTRAOPTIONS"
RETVAL=$?
echo
if test $RETVAL = 0 ; then
touch /var/lock/subsys/$prog
fi
if test $RETVAL = 3 ; then
echo -n $"Cannot start $prog: SELinux not enabled"
fi
return $RETVAL
}
stop(){
echo -n $"Stopping $prog: "
killproc $prog
RETVAL=$?
echo
rm -f /var/lock/subsys/$prog
return $RETVAL
}
reload(){
echo -n $"Reloading configuration: "
killproc $prog -HUP
RETVAL=$?
echo
return $RETVAL
}
restart(){
stop
start
RETVAL=$?
return $RETVAL
}
condrestart(){
[ -e /var/lock/subsys/$prog ] && restart
RETVAL=0
return $RETVAL
}
cleardb(){
running=0
[ -e /var/lock/subsys/$prog ] && running=1
[ $running == 1 ] && stop
echo $"Clearing database"
rm -f /var/lib/setroubleshoot/database.xml
rm -f /var/lib/setroubleshoot/audit_listener_database.xml
[ $running == 1 ] && start
RETVAL=0
return $RETVAL
}
# See how we were called.
case "$command" in
start)
start
RETVAL=$?
;;
stop)
stop
RETVAL=$?
;;
status)
rhstatus
RETVAL=$?
;;
restart)
restart
RETVAL=$?
;;
force-reload|reload)
reload
RETVAL=$?
;;
try-restart|condrestart)
condrestart
RETVAL=$?
;;
cleardb)
cleardb
RETVAL=$?
;;
*)
usage
RETVAL=3
esac
exit $RETVAL

View file

@ -1,23 +1,38 @@
# Disable automatic compilation of Python files in extra directories
%global _python_bytecompile_extra 0
%bcond libreport %{undefined rhel}
Summary: Helps troubleshoot SELinux problems
Name: setroubleshoot
Version: 3.3.19
Release: 1%{?dist}
License: GPLv2+
URL: https://pagure.io/setroubleshoot
Source0: https://releases.pagure.org/setroubleshoot/%{name}-%{version}.tar.gz
Version: 3.3.37
Release: 5%{?dist}
License: GPL-2.0-or-later
URL: https://gitlab.com/setroubleshoot/setroubleshoot
Source0: https://gitlab.com/-/project/24478376/uploads/cbdfc2a87b350583c32b168fd9aad9fd/setroubleshoot-3.3.37.tar.gz
Source1: %{name}.tmpfiles
Source2: %{name}.sysusers
# git format-patch -N 3.3.37 -- . ':!src/sedispatch.h' ':!test'
# for j in 00*patch; do printf "Patch: %s\n" $j; done
Patch: 0001-Update-GPL2-license-texts-to-the-latest-version.patch
Patch: 0002-Limit-RPC-request-size-in-RequestReceiver-to-prevent.patch
BuildRequires: gcc
BuildRequires: make
BuildRequires: libcap-ng-devel
BuildRequires: intltool gettext python3 python3-devel
BuildRequires: desktop-file-utils dbus-glib-devel gtk2-devel libnotify-devel audit-libs-devel libselinux-devel polkit-devel
BuildRequires: python3-libselinux python3-pydbus python3-gobject gtk3-devel
Requires: %{name}-server = %{version}-%{release}
BuildRequires: intltool gettext python3 python3-devel python3-setuptools python3-pip
BuildRequires: (python3-wheel if python3-setuptools < 71)
BuildRequires: desktop-file-utils libnotify-devel libselinux-devel polkit-devel
BuildRequires: audit-libs-devel >= 3.0.1
BuildRequires: python3-libselinux python3-dasbus python3-gobject gtk3-devel
# for the _tmpfilesdir macro
BuildRequires: systemd-rpm-macros
BuildRequires: git-core
Requires: %{name}-server = %{version}-%{release}
Requires: gtk3, libnotify
Requires: libreport-gtk >= 2.2.1-2, libreport-python3
Requires: python3-gobject, python3-pydbus
%if %{with libreport}
Recommends: libreport-gtk >= 2.2.1-2, python3-libreport
%endif
Requires: python3-gobject, python3-dasbus
Requires(post): desktop-file-utils
Requires(post): dbus
Requires(postun): desktop-file-utils
@ -33,7 +48,6 @@ Requires: xdg-utils
%global pkgvardatadir %{_localstatedir}/lib/%{name}
%global pkgconfigdir %{_sysconfdir}/%{name}
%global pkgdatabase %{pkgvardatadir}/setroubleshoot_database.xml
%global username setroubleshoot
%description
setroubleshoot GUI. Application that allows you to view setroubleshoot-server
@ -47,8 +61,8 @@ to user preference. The same tools can be run on existing log files.
%{pkgguidir}
%config(noreplace) %{_sysconfdir}/xdg/autostart/*
%{_datadir}/applications/*.desktop
%{_datadir}/appdata/*.appdata.xml
%{_datadir}/dbus-1/services/sealert.service
%{_metainfodir}/*.metainfo.xml
%{_datadir}/dbus-1/services/org.fedoraproject.sealert.service
%{_datadir}/icons/hicolor/*/*/*
%dir %attr(0755,root,root) %{pkgpythondir}
%{pkgpythondir}/browser.py
@ -59,14 +73,14 @@ to user preference. The same tools can be run on existing log files.
%prep
%autosetup -p 2
%autosetup -p 1 -S git
%build
%configure PYTHON=%{__python3} --enable-seappletlegacy=yes --with-auditpluginsdir=/etc/audit/plugins.d
%configure PYTHON=%{__python3} --enable-seappletlegacy=no --with-auditpluginsdir=/etc/audit/plugins.d
make
%install
make DESTDIR=%{buildroot} PREFIX=/usr install
%make_install PREFIX=/usr PIP_NO_BUILD_ISOLATION=0
desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{buildroot}/%{_datadir}/applications/%{name}.desktop
mkdir -p %{buildroot}%{pkgvardatadir}
mkdir -p %{buildroot}%{_rundir}/setroubleshoot
@ -74,7 +88,8 @@ touch %{buildroot}%{pkgdatabase}
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
install -p -m644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
install -p -m644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_sysusersdir}/%{name}.conf
%find_lang %{name}
@ -82,21 +97,19 @@ install -m644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
%package server
Summary: SELinux troubleshoot server
Requires: %{name}-plugins >= 3.3.10
Requires: audit >= 3
Requires: %{name}-plugins >= 3.3.15-7
Requires: audit >= 3.0.1
Requires: audit-libs-python3
Requires: libxml2-python3
Requires: rpm-python3
Requires: libselinux-python3 >= 2.1.5-1
Requires: policycoreutils-python-utils
BuildRequires: intltool gettext python3
BuildRequires: python3-devel
Requires: python3-slip-dbus systemd-python3 >= 206-1
Requires: python3-gobject >= 3.11
Requires: systemd-python3 >= 206-1
Requires: python3-gobject-base >= 3.11
Requires: dbus
Requires: python3-dbus
Requires: python3-dbus python3-dasbus
Requires: polkit
Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd
%description server
Provides tools to help diagnose SELinux problems. When AVC messages
@ -104,23 +117,18 @@ are generated an alert can be generated that will give information
about the problem and help track its resolution. Alerts can be configured
to user preference. The same tools can be run on existing log files.
%pre server
getent passwd %{username} >/dev/null || useradd -r -U -s /sbin/nologin -d %{pkgvardatadir} %{username}
%post server
/sbin/service auditd reload >/dev/null 2>&1 || :
/usr/bin/auditctl --signal reload >/dev/null 2>&1 || :
%postun server
/sbin/service auditd reload >/dev/null 2>&1 || :
%triggerun server -- %{name}-server < 3.2.24-4
chown -R setroubleshoot:setroubleshoot %{pkgvardatadir}
/usr/bin/auditctl --signal reload >/dev/null 2>&1 || :
%files server -f %{name}.lang
%{_bindir}/sealert
%{_sbindir}/sedispatch
%{_sbindir}/setroubleshootd
%{python3_sitelib}/setroubleshoot*.egg-info
%{python3_sitelib}/setroubleshoot*.dist-info
%dir %attr(0755,root,root) %{pkgconfigdir}
%dir %{pkgpythondir}
%dir %{pkgpythondir}/__pycache__
@ -162,37 +170,312 @@ chown -R setroubleshoot:setroubleshoot %{pkgvardatadir}
%{pkgpythondir}/__pycache__/xml_serialize.cpython*
%dir %{pkgdatadir}
%{pkgdatadir}/SetroubleshootFixit.py
%{pkgdatadir}/updater.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(0644,setroubleshoot,setroubleshoot) %{pkgvardatadir}/email_alert_recipients
%{_mandir}/man8/sealert.8.gz
%{_mandir}/man8/sedispatch.8.gz
%{_mandir}/man8/setroubleshootd.8.gz
%ghost %attr(0600,setroubleshoot,setroubleshoot) %{pkgvardatadir}/email_alert_recipients
%{_mandir}/man1/seapplet.1*
%{_mandir}/man8/sealert.8*
%{_mandir}/man8/sedispatch.8*
%{_mandir}/man8/setroubleshootd.8*
%config /etc/audit/plugins.d/sedispatch.conf
%{_unitdir}/setroubleshootd.service
%{_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
%attr(0644,root,root) %{_tmpfilesdir}/%{name}.conf
%attr(0644,root,root) %{_sysusersdir}/%{name}.conf
%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
%{_bindir}/seappletlegacy
%changelog
* Wed Jul 29 2026 Vit Mojzis <vmojzis@redhat.com> - 3.3.37-5
- Update GPL2 license texts to the latest version
- Limit RPC request size in RequestReceiver to prevent memory exhaustion
* Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 3.3.37-4
- Rebuilt for Python 3.15.0b4 ABI change
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.37-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Tue Jul 14 2026 Ondrej Mosnáček <omosnacek@gmail.com> - 3.3.37-2
- Remove the obsolete libxml2-python3 dependency
* Thu Jun 18 2026 Vit Mojzis <vmojzis@redhat.com> - 3.3.37-1
- Migrate from libxml2 to xml.etree.ElementTree
- Handle ImportError when setroubleshoot.browser is not available
- Add support for multiple commands in fix_cmd
* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 3.3.36-4
- Rebuilt for Python 3.15
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.36-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Thu Dec 11 2025 Vit Mojzis <vmojzis@redhat.com> - 3.3.36-2
- browser: Always show "Report Bug" button
- Switch libreport to a weak dependency
* Wed Dec 10 2025 Petr Lautrbach <lautrbach@redhat.com> - 3.3.36-1
- audit_data: include syslog when needed
- Rename appdata to metainfo
- Replace python-six with python 3 only code
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 3.3.35-10
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 3.3.35-9
- Rebuilt for Python 3.14.0rc2 bytecode
* Tue Jul 29 2025 Miro Hrončok <mhroncok@redhat.com> - 3.3.35-8
- Drop unused BuildRequires on python3-wheel
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.35-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 3.3.35-6
- Rebuilt for Python 3.14
* Mon May 19 2025 Petr Lautrbach <lautrbach@redhat.com> - 3.3.35-5
- Reload auditd using auditctl instead of service
- Drop dependency on initscripts-service
Resolves: rhbz#2365614
* Mon Mar 03 2025 Petr Lautrbach <lautrbach@redhat.com> - 3.3.35-4
- Update tmpfiles.d config (bz#2346971)
* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.3.35-3
- Drop call to %sysusers_create_compat
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.35-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Tue Nov 26 2024 Petr Lautrbach <lautrbach@redhat.com> - 3.3.35-1
- Do not hardcode /var/lib/selinux as store_root
* Fri Nov 15 2024 Petr Lautrbach <lautrbach@redhat.com> - 3.3.34-2
- Do not hardcode /var/lib/selinux as store_root
- Fix icon file name (bz#2300369)
* Mon Nov 04 2024 Petr Lautrbach <lautrbach@redhat.com> - 3.3.34-1
- data: update app icon
- Disable bug reporting, if libreport is not available
- Enable Georgian and Arabic (ar) languages in configure.ac
- Update translations
* Wed Aug 21 2024 Michal Srb <michal@redhat.com> - 3.3.33-6
- Disable bug reporting, if libreport is not available
- Resolves: RHEL-52902
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.33-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue Jun 11 2024 Petr Lautrbach <lautrbach@redhat.com> - 3.3.33-4
- Rebuild with missing icons patches
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.3.33-3
- Rebuilt for Python 3.13
* Mon Jun 03 2024 Petr Lautrbach <lautrbach@redhat.com> - 3.3.33-2
- Ship with contemporary app icon
* Wed Jan 31 2024 Vit Mojzis <vmojzis@redhat.com> - 3.3.33-1
- Check that SELinux is enabled before running (rhbz#2178950)
- Improve limiting RAM utilization
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.32-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Jul 25 2023 Petr Lautrbach <lautrbach@redhat.com> - 3.3.32-7
- Always reset pending alarms when alarm(0) (rhbz#2112573)
* Tue Jul 25 2023 Petr Lautrbach <lautrbach@redhat.com> - 3.3.32-6
- 'imp' module is deprecated in favor of 'importlib' (rhbz#2224393)
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.32-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 3.3.32-4
- Rebuilt for Python 3.12
* Fri May 26 2023 Miro Hrončok <mhroncok@redhat.com> - 3.3.32-3
- Fix build with pip 23.1.2+
- Fixes: rhbz#2209022
* Mon May 15 2023 Tomas Popela <tpopela@redhat.com> - 3.3.32-2
- Remove dbus-glib-devel BR as it's only needed when compiled with seappletlegacy
* Wed Feb 15 2023 Petr Lautrbach <lautrbach@redhat.com> - 3.3.32-1
- Rename session bus name to org.fedoraproject.sealert
- seapplet: wrap SEApplet() to try except
- util.py: Add doctext test for build_module_type_cache()
- Update translations
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.31-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Nov 23 2022 Petr Lautrbach <lautrbach@redhat.com> - 3.3.31-1
- Add a screen reader label to the icon
- seapplet: avoid ValueError when parsing sealert.conf
- doc: Document performance related changes
- Decrease setroubleshootd priority and limit RAM utilization to 1GB
- Use setup from setuptools
- Use `pip install` instead of `setup.py install`
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.30-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jun 28 2022 Petr Lautrbach <plautrba@redhat.com> - 3.3.30-1
- Miscellaneous python and build system changes
- Fix couple of typos
- Drop Python2 support
- Use inspect.signature() instead of instead.getargspec()
- Update translations
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.3.29-2
- Rebuilt for Python 3.11
* Wed Mar 30 2022 Petr Lautrbach <plautrba@redhat.com> - 3.3.29-1
- Introduce email.use_sendmail option
- Update translations
* Wed Feb 09 2022 Timothée Ravier <tim@siosm.fr> - 3.3.28-3
- Install systemd-sysusers config
- Remove Requires(pre) useradd & groupadd
* Tue Feb 8 2022 Petr Lautrbach <plautrba@redhat.com> - 3.3.28-2
- Use %sysusers_create_compat instead of useradd
- Set right ownership on /var/lib/setroubleshoot
* Tue Feb 8 2022 Petr Lautrbach <plautrba@redhat.com> - 3.3.28-1
- Look for modules in /usr/share/selinux/packages
- Always use rpm source package for reporting
- Improve after_first email filter behavior
* Wed Jan 19 2022 Petr Lautrbach <plautrba@redhat.com> - 3.3.27-2
- Improve DSP module reporting
- Require initscripts-service - /sbin/service
* Thu Jan 13 2022 Petr Lautrbach <plautrba@redhat.com> - 3.3.27-1
- sedispatch: check read_size
- SafeConfigParser is deprecated and will be dropped
- Fix typos in --help, man pages and developer's guide
- Update translations
* Tue Jul 27 2021 Petr Lautrbach <plautrba@redhat.com> - 3.3.26-5
- Improve sedispatch performance
- Improve Python 3.10 compatibility
https://pagure.io/setroubleshoot/issue/58
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.26-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jul 2 2021 Petr Lautrbach <plautrba@redhat.com> - 3.3.26-3
- Fix file mode of email_alert_recipients
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.3.26-2
- Rebuilt for Python 3.10
* Thu Apr 15 2021 Petr Lautrbach <plautrba@redhat.com> - 3.3.26-1
- Fix plugin exception reporting
- Update translations
- Stop SetroubleshootFixit after 10 seconds of inactivity
- Do not use Python slip package
* Wed Mar 10 2021 Petr Lautrbach <plautrba@redhat.com> - 3.3.25-1
- Use Python dasbus instead of pydbus
- Optimize get_rpm_nvr_by_type by adding a cache
- Update translations
* Tue Feb 02 2021 Vit Mojzis <vmojzis@redhat.com> - 3.3.24-4
- sealert: exit on any connection close
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.24-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Jan 16 2021 Vit Mojzis <vmojzis@redhat.com> - 3.3.24-2
- framework/util: optimize get_rpm_nvr_by_type by adding a cache
- Stop building seappletlegacy
* Tue Oct 13 2020 Petr Lautrbach <plautrba@redhat.com> - 3.3.24-1
- Add 'fur' into shipped locales
- Update translations
- Log full reports with correct syslog identifier
- Cancel pending alarm during AVC analyses
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.23-5
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.23-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 3.3.23-3
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.3.23-2
- Rebuilt for Python 3.9
* Tue Apr 21 2020 Vit Mojzis <vmojzis@redhat.com> - 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
* Wed Mar 4 2020 Petr Lautrbach <plautrba@redhat.com> - 3.3.22-6
- Do not try to report a bug on None package (#1809801)
* Fri Feb 28 2020 Petr Lautrbach <plautrba@redhat.com> - 3.3.22-5
- root user doesn't need to use SetroubleshootPrivileged API
* Thu Feb 27 2020 Petr Lautrbach <plautrba@redhat.com> - 3.3.22-4
- sealert to report a bug on a package which owns the related SELinux domain
https://pagure.io/setroubleshoot/issue/18
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.22-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jan 11 2020 Petr Lautrbach <plautrba@redhat.com> - 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 <plautrba@redhat.com> - 3.3.22-1
- sepolicy.info() returns a generator, not a list (#1784564)
* Wed Dec 11 2019 Vit Mojzis <vmojzis@redhat.com> - 3.3.21-1
- Fix AVC.__typeMatch to handle aliases properly
- Handle sockets with abstract path properly (#1775135)
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.3.20-4
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Tue Aug 27 2019 Petr Lautrbach <plautrba@redhat.com> - 3.3.20-3
- Use dbus.mainloop.glib.DBusGMainLoop() instead of dbus.glib
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.3.20-2
- Rebuilt for Python 3.8
* Wed Jul 17 2019 Vit Mojzis <vmojzis@redhat.com> - 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
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Dec 8 2018 Petr Lautrbach <plautrba@redhat.com> - 3.3.19-1
- Require plugins >= 3.3.10

1
setroubleshoot.sysusers Normal file
View file

@ -0,0 +1 @@
u setroubleshoot - "SELinux troubleshoot server" /var/lib/setroubleshoot

View file

@ -1 +1,3 @@
d /run/setroubleshoot 711 setroubleshoot setroubleshoot -
d /var/lib/setroubleshoot 700 setroubleshoot setroubleshoot -
Z /var/lib/setroubleshoot - setroubleshoot setroubleshoot -

View file

@ -1 +1 @@
SHA512 (setroubleshoot-3.3.19.tar.gz) = e012f9c0011fd682394232c9297e01710a389cc4bbae11193f75780c96a99451d7d8a77080a7d4686525ca8b8bbc6332991b7b06a282345d2baba64bab9beb24
SHA512 (setroubleshoot-3.3.37.tar.gz) = 8b67b28c2e2d2f766c00723f2a67e82fc43079a9a5868c4598f80331bb12ae0e94749cd68fedc718462ae9203e5b9d363033902c699f597a79865d6d31df61cd