How To Install setroubleshoot-server on Rocky Linux 8

In this tutorial we learn how to install setroubleshoot-server on Rocky Linux 8. setroubleshoot-server is SELinux troubleshoot server

Introduction

In this tutorial we learn how to install setroubleshoot-server on Rocky Linux 8.

What is setroubleshoot-server

Provides tools to help diagnose SELinux problems. When AVC messages 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.

We can use yum or dnf to install setroubleshoot-server on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install setroubleshoot-server.

Install setroubleshoot-server on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install setroubleshoot-server using dnf by running the following command:

sudo dnf -y install setroubleshoot-server

Install setroubleshoot-server on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install setroubleshoot-server using yum by running the following command:

sudo yum -y install setroubleshoot-server

How To Uninstall setroubleshoot-server on Rocky Linux 8

To uninstall only the setroubleshoot-server package we can use the following command:

sudo dnf remove setroubleshoot-server

setroubleshoot-server Package Contents on Rocky Linux 8

/etc/audit/plugins.d/sedispatch.conf
/etc/dbus-1/system.d/org.fedoraproject.SetroubleshootFixit.conf
/etc/dbus-1/system.d/org.fedoraproject.SetroubleshootPrivileged.conf
/etc/dbus-1/system.d/org.fedoraproject.Setroubleshootd.conf
/etc/setroubleshoot
/etc/setroubleshoot/setroubleshoot.conf
/run/setroubleshoot
/usr/bin/sealert
/usr/lib/.build-id
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/aed8c3661964ac1059792a3c159de74ed4f6af
/usr/lib/python3.6/site-packages/setroubleshoot
/usr/lib/python3.6/site-packages/setroubleshoot-1.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/setroubleshoot/Plugin.py
/usr/lib/python3.6/site-packages/setroubleshoot/__init__.py
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/Plugin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/Plugin.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/access_control.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/access_control.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/analyze.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/analyze.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/audit_data.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/audit_data.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/avc_audit.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/avc_audit.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/config.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/email_alert.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/email_alert.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/errcode.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/errcode.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/html_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/html_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/rpc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/rpc.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/rpc_interfaces.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/rpc_interfaces.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/server.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/server.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/serverconnection.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/serverconnection.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/signature.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/signature.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/uuid.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/uuid.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/xml_serialize.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/__pycache__/xml_serialize.cpython-36.pyc
/usr/lib/python3.6/site-packages/setroubleshoot/access_control.py
/usr/lib/python3.6/site-packages/setroubleshoot/analyze.py
/usr/lib/python3.6/site-packages/setroubleshoot/audit_data.py
/usr/lib/python3.6/site-packages/setroubleshoot/avc_audit.py
/usr/lib/python3.6/site-packages/setroubleshoot/config.py
/usr/lib/python3.6/site-packages/setroubleshoot/email_alert.py
/usr/lib/python3.6/site-packages/setroubleshoot/errcode.py
/usr/lib/python3.6/site-packages/setroubleshoot/html_util.py
/usr/lib/python3.6/site-packages/setroubleshoot/rpc.py
/usr/lib/python3.6/site-packages/setroubleshoot/rpc_interfaces.py
/usr/lib/python3.6/site-packages/setroubleshoot/server.py
/usr/lib/python3.6/site-packages/setroubleshoot/serverconnection.py
/usr/lib/python3.6/site-packages/setroubleshoot/signature.py
/usr/lib/python3.6/site-packages/setroubleshoot/util.py
/usr/lib/python3.6/site-packages/setroubleshoot/uuid.py
/usr/lib/python3.6/site-packages/setroubleshoot/xml_serialize.py
/usr/lib/tmpfiles.d/setroubleshoot.conf
/usr/sbin/sedispatch
/usr/sbin/setroubleshootd
/usr/share/dbus-1/system-services/org.fedoraproject.SetroubleshootFixit.service
/usr/share/dbus-1/system-services/org.fedoraproject.SetroubleshootPrivileged.service
/usr/share/dbus-1/system-services/org.fedoraproject.Setroubleshootd.service
/usr/share/doc/setroubleshoot-server
/usr/share/doc/setroubleshoot-server/AUTHORS
/usr/share/doc/setroubleshoot-server/COPYING
/usr/share/doc/setroubleshoot-server/ChangeLog
/usr/share/doc/setroubleshoot-server/DBUS.md
/usr/share/doc/setroubleshoot-server/NEWS
/usr/share/doc/setroubleshoot-server/README
/usr/share/doc/setroubleshoot-server/TODO
/usr/share/locale/af/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/aln/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/am/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ang/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ar/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/as/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ast/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/az/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/bal/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/be/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/be@latin/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/bg/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/bn/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/bn_IN/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/bo/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/br/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/brx/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/bs/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ca/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/crh/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/cs/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/cy/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/da/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/de/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/dz/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/el/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/en@shaw/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/en_GB/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/eo/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/es/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/et/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/eu/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/fa/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/fi/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/fr/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/fur/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ga/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/gl/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/gu/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/he/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/hi/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/hr/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/hu/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/hy/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ia/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/id/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ilo/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/io/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/is/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/it/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ja/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ka/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/kg/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/kk/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/km/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/kn/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ko/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ks/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ku/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ky/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/la/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/lg/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/li/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/lo/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/lt/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/lv/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/mai/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/mg/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/mi/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/mk/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ml/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/mn/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/mr/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ms/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/my/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/nb/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/nds/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ne/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/nl/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/nn/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/nso/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/oc/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/or/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/pa/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/pl/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ps/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/pt/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/pt_BR/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ro/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ru/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/rw/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/si/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/sk/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/sl/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/sq/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/sr/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/sr@latin/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/sv/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ta/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/te/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/tg/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/th/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/tk/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/tl/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/tr/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/tt/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ug/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/uk/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/ur/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/uz/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/uz@cyrillic/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/vi/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/wa/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/wo/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/xh/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/yi/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/zh_CN/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/zh_HK/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/zh_TW/LC_MESSAGES/setroubleshoot.mo
/usr/share/locale/zu/LC_MESSAGES/setroubleshoot.mo
/usr/share/man/man1/seapplet.1.gz
/usr/share/man/man8/sealert.8.gz
/usr/share/man/man8/sedispatch.8.gz
/usr/share/man/man8/setroubleshootd.8.gz
/usr/share/polkit-1/actions/org.fedoraproject.setroubleshootfixit.policy
/usr/share/setroubleshoot
/usr/share/setroubleshoot/SetroubleshootFixit.py
/usr/share/setroubleshoot/SetroubleshootPrivileged.py
/var/lib/setroubleshoot
/var/lib/setroubleshoot/email_alert_recipients
/var/lib/setroubleshoot/setroubleshoot_database.xml

References

Summary

In this tutorial we learn how to install setroubleshoot-server on Rocky Linux 8 using yum and dnf.