Description of problem: I noticed following warning on rawhide when using sealer from command line /usr/bin/sealert:32: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated. Instead, use this sequence: from dbus.mainloop.glib import DBusGMainLoop DBusGMainLoop(set_as_default=True) import dbus.glib Version-Release number of selected component (if applicable): sh# rpm -q setroubleshoot-server python3-dbus setroubleshoot-server-3.3.18-1.fc29.x86_64 python3-dbus-1.2.8-3.fc29.x86_64 How reproducible: Deterministic Steps to Reproduce: 1. dnf install -y setroubleshoot-server 2. service restart auditd 3. //generate some AVC (which is usually not a problem on rawhide) 4. check journald and run sealer mentioned in log Actual results: sh# sealert -l ae6d58d2-8403-446f-b499-66f52db07bc8 /usr/bin/sealert:32: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated. Instead, use this sequence: from dbus.mainloop.glib import DBusGMainLoop DBusGMainLoop(set_as_default=True) import dbus.glib SELinux is preventing cat from 'read, write' accesses on the chr_file /1 //snip Expected results: No deprecated warnings in output Additional info:
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
same here. maybe an easier way to reproduce: just start "SElinux Trubleshooter" from your apps
Still happening on F30: $ rpm -qf `which sealert` setroubleshoot-server-3.3.20-1.fc30.x86_64 $ sealert -l 4f92593e-0120-4988-b9ad-1e43764e86c5 > /dev/null /usr/bin/sealert:32: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated. Instead, use this sequence: from dbus.mainloop.glib import DBusGMainLoop DBusGMainLoop(set_as_default=True) import dbus.glib The following would make this warning go away, but I don't know if this is The Right Thing To Do: $ diff -u /usr/bin/sealert{.orig,} --- /usr/bin/sealert.orig 2019-07-26 02:02:06.000000000 -0700 +++ /usr/bin/sealert 2019-08-09 12:51:31.271212450 -0700 @@ -29,7 +29,6 @@ GLib.set_prgname('setroubleshoot') import dbus -import dbus.glib import dbus.service import errno as Errno import gettext @@ -42,6 +41,9 @@ import sys import slip.dbus.service +from dbus.mainloop.glib import DBusGMainLoop +DBusGMainLoop(set_as_default=True) + from setroubleshoot.config import parse_config_setting, get_config domain = get_config('general', 'i18n_text_domain') kwargs = {}
This bug report exists since about a year. There was updated packages released in the meantime, but this problem was not fixed in the updated packages. Please fix it in the next updated package. sealert still fails in Fedora 30.
FEDORA-2019-8147bfe299 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-8147bfe299
FEDORA-2019-a33fc91747 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-a33fc91747
setroubleshoot-3.3.20-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-8147bfe299
setroubleshoot-3.3.20-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-a33fc91747
setroubleshoot-3.3.20-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
setroubleshoot-3.3.20-3.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.