setroubleshoot
The source is a tarball from the project's official release host (releases.pagure.org), which is plausibly owned by the project despite not being on the whitelist; building from official source is normal AUR packaging behavior.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's official release host (releases.pagure.org), which is plausibly owned by the project despite not being on the whitelist; building from official source is normal AUR packaging behavior.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:24
"https://releases.pagure.org/${pkgbase}/${pkgbase}-${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Nicolas Iooss (nicolas <dot> iooss <at> m4x <dot> org)
#
# This PKGBUILD is maintained on https://github.com/archlinuxhardened/selinux.
# If you want to help keep it up to date, please open a Pull Request there.
# This package has been created thanks to the Fedora package, available at
# https://src.fedoraproject.org/rpms/setroubleshoot/tree/master , and thanks to
# a contributor who suggested a PKGBUILD in
# https://github.com/archlinuxhardened/selinux/issues/15#issuecomment-480513011
pkgbase=setroubleshoot
pkgname=(setroubleshoot setroubleshoot-server)
pkgver=3.3.23
pkgrel=1
pkgdesc="Provides tools to help diagnose SELinux problems"
groups=('selinux')
arch=('x86_64' 'aarch64')
url='https://pagure.io/setroubleshoot'
license=('GPL2')
makedepends=('audit' 'dbus' 'desktop-file-utils' 'gtk3' 'libnotify' 'libreport'
'policycoreutils' 'polkit' 'python-gobject' 'python-pydbus'
'python-slip' 'python-systemd' 'xdg-utils')
source=(
"https://releases.pagure.org/${pkgbase}/${pkgbase}-${pkgver}.tar.gz"
'setroubleshoot.logrotate'
'setroubleshoot.tmpfiles'
'setroubleshoot-sysusers.conf'
)
sha256sums=('437033bc5dd12d625f903bd3a3fc32d1945280ed982b6a754a4d2ce59d53f0c7'
'894a75c33d568f908f0c3fa7fe4d7f82824369695194aa005fe42cf961298893'
'eb7321b7db2fd8951c7ce3c7c42680fcfe7641c3d7be9e8d69a8fbb992a9d086'
'fa20d1ec3522aa877fc5462d56692b318b4c8af1cd9ecb62ec41ad6647662d77')
build() {
cd "${pkgbase}-${pkgver}"
export PYTHON=/usr/bin/python
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--with-auditpluginsdir=/etc/audisp/plugins.d
make
}
package_setroubleshoot() {
pkgdesc="Provides tools to help diagnose SELinux problems - GUI"
depends=('setroubleshoot-server' 'hicolor-icon-theme' 'python')
cd "${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install
# Remove setroubleshoot-server files
rm "${pkgdir}/etc/audisp/plugins.d/sedispatch.conf"
rmdir "${pkgdir}/etc/audisp/plugins.d"
rmdir "${pkgdir}/etc/audisp"
rm -r "${pkgdir}/etc/dbus-1/system.d"
rmdir "${pkgdir}/etc/dbus-1"
rm "${pkgdir}/etc/setroubleshoot/setroubleshoot.conf"
rmdir "${pkgdir}/etc/setroubleshoot"
rm "${pkgdir}/usr/bin/sedispatch"
rm "${pkgdir}/usr/bin/setroubleshootd"
rm -r "${pkgdir}/usr/lib/$(/usr/bin/python -c 'import sys;print("python%d.%d" % sys.version_info[:2])')/"
rmdir "${pkgdir}/usr/lib"
rm "${pkgdir}/usr/share/dbus-1/system-services/org.fedoraproject.Setroubleshootd.service"
rm "${pkgdir}/usr/share/dbus-1/system-services/org.fedoraproject.SetroubleshootFixit.service"
rm "${pkgdir}/usr/share/dbus-1/system-services/org.fedoraproject.SetroubleshootPrivileged.service"
rmdir "${pkgdir}/usr/share/dbus-1/system-services"
rm -r "${pkgdir}/usr/share/doc/"
rm -r "${pkgdir}/usr/share/locale/"
rm "${pkgdir}/usr/share/man/man8/sedispatch.8"
rm "${pkgdir}/usr/share/man/man8/setroubleshootd.8"
rm "${pkgdir}/usr/share/polkit-1/actions/org.fedoraproject.setroubleshootfixit.policy"
rmdir "${pkgdir}/usr/share/polkit-1/actions"
rmdir "${pkgdir}/usr/share/polkit-1"
rm "${pkgdir}/usr/share/setroubleshoot/SetroubleshootFixit.py"
rm "${pkgdir}/usr/share/setroubleshoot/SetroubleshootPrivileged.py"
# Remove empty directories created by package issues
rmdir "${pkgdir}/usr/share/usr/share/setroubleshoot/gui"
rmdir "${pkgdir}/usr/share/usr/share/setroubleshoot"
rmdir "${pkgdir}/usr/share/usr/share"
rmdir "${pkgdir}/usr/share/usr"
}
package_setroubleshoot-server() {
pkgdesc="SELinux troubleshoot server"
# FIXME: split the dependencies between setroubleshoot-server and setroubleshoot
depends=('audit' 'dbus' 'desktop-file-utils' 'gtk3' 'libnotify' 'libreport'
'policycoreutils' 'polkit' 'python-gobject' 'python-pydbus'
'python-slip' 'python-systemd' 'xdg-utils')
cd "${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install
mkdir -p "${pkgdir}/var/lib/${pkgname}"
touch "${pkgdir}/var/lib/${pkgname}/setroubleshoot_database.xml"
touch "${pkgdir}/var/lib/${pkgname}/email_alert_recipients"
install -m644 -D "${srcdir}/setroubleshoot.logrotate" "${pkgdir}/etc/logrotate.d/${pkgname}"
install -m644 -D "${srcdir}/setroubleshoot.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
install -m644 -D "${srcdir}/setroubleshoot-sysusers.conf" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
chmod 750 "${pkgdir}/etc/audisp/plugins.d/"
# Remove setroubleshoot files
rm "${pkgdir}/etc/xdg/autostart/sealertauto.desktop"
rmdir "${pkgdir}/etc/xdg/autostart"
rmdir "${pkgdir}/etc/xdg"
rm "${pkgdir}/usr/bin/sealert"
rm "${pkgdir}/usr/bin/seapplet"
rm "${pkgdir}/usr/share/appdata/setroubleshoot.appdata.xml"
rmdir "${pkgdir}/usr/share/appdata"
rm "${pkgdir}/usr/share/applications/setroubleshoot.desktop"
rmdir "${pkgdir}/usr/share/applications"
rm "${pkgdir}/usr/share/dbus-1/services/sealert.service"
rmdir "${pkgdir}/usr/share/dbus-1/services"
rm -r "${pkgdir}/usr/share/icons/"
rm "${pkgdir}/usr/share/man/man1/seapplet.1"
rm "${pkgdir}/usr/share/man/man8/sealert.8"
rm -r "${pkgdir}/usr/share/setroubleshoot/gui/"
# Remove empty directories created by package issues
rmdir "${pkgdir}/usr/share/usr/share/setroubleshoot/gui"
rmdir "${pkgdir}/usr/share/usr/share/setroubleshoot"
rmdir "${pkgdir}/usr/share/usr/share"
rmdir "${pkgdir}/usr/share/usr"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |