setroubleshoot-server

maintainer orphaned · 1 votes · base setroubleshoot · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

LOW AI review downgraded a static finding 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)
MEDIUM source=() URL on a non-standard host 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
1# Maintainer: Nicolas Iooss (nicolas <dot> iooss <at> m4x <dot> org)
2#
3# This PKGBUILD is maintained on https://github.com/archlinuxhardened/selinux.
4# If you want to help keep it up to date, please open a Pull Request there.
5
6# This package has been created thanks to the Fedora package, available at
7# https://src.fedoraproject.org/rpms/setroubleshoot/tree/master , and thanks to
8# a contributor who suggested a PKGBUILD in
9# https://github.com/archlinuxhardened/selinux/issues/15#issuecomment-480513011
10
11pkgbase=setroubleshoot
12pkgname=(setroubleshoot setroubleshoot-server)
13pkgver=3.3.23
14pkgrel=1
15pkgdesc="Provides tools to help diagnose SELinux problems"
16groups=('selinux')
17arch=('x86_64' 'aarch64')
18url='https://pagure.io/setroubleshoot'
19license=('GPL2')
20makedepends=('audit' 'dbus' 'desktop-file-utils' 'gtk3' 'libnotify' 'libreport'
21 'policycoreutils' 'polkit' 'python-gobject' 'python-pydbus'
22 'python-slip' 'python-systemd' 'xdg-utils')
23source=(
24 "https://releases.pagure.org/${pkgbase}/${pkgbase}-${pkgver}.tar.gz"
25 'setroubleshoot.logrotate'
26 'setroubleshoot.tmpfiles'
27 'setroubleshoot-sysusers.conf'
28)
29sha256sums=('437033bc5dd12d625f903bd3a3fc32d1945280ed982b6a754a4d2ce59d53f0c7'
30 '894a75c33d568f908f0c3fa7fe4d7f82824369695194aa005fe42cf961298893'
31 'eb7321b7db2fd8951c7ce3c7c42680fcfe7641c3d7be9e8d69a8fbb992a9d086'
32 'fa20d1ec3522aa877fc5462d56692b318b4c8af1cd9ecb62ec41ad6647662d77')
33
34build() {
35 cd "${pkgbase}-${pkgver}"
36 export PYTHON=/usr/bin/python
37 ./configure \
38 --prefix=/usr \
39 --sbindir=/usr/bin \
40 --sysconfdir=/etc \
41 --with-auditpluginsdir=/etc/audisp/plugins.d
42 make
43}
44
45package_setroubleshoot() {
46 pkgdesc="Provides tools to help diagnose SELinux problems - GUI"
47 depends=('setroubleshoot-server' 'hicolor-icon-theme' 'python')
48
49 cd "${pkgbase}-${pkgver}"
50 make DESTDIR="${pkgdir}" install
51
52 # Remove setroubleshoot-server files
53 rm "${pkgdir}/etc/audisp/plugins.d/sedispatch.conf"
54 rmdir "${pkgdir}/etc/audisp/plugins.d"
55 rmdir "${pkgdir}/etc/audisp"
56 rm -r "${pkgdir}/etc/dbus-1/system.d"
57 rmdir "${pkgdir}/etc/dbus-1"
58 rm "${pkgdir}/etc/setroubleshoot/setroubleshoot.conf"
59 rmdir "${pkgdir}/etc/setroubleshoot"
60 rm "${pkgdir}/usr/bin/sedispatch"
61 rm "${pkgdir}/usr/bin/setroubleshootd"
62 rm -r "${pkgdir}/usr/lib/$(/usr/bin/python -c 'import sys;print("python%d.%d" % sys.version_info[:2])')/"
63 rmdir "${pkgdir}/usr/lib"
64 rm "${pkgdir}/usr/share/dbus-1/system-services/org.fedoraproject.Setroubleshootd.service"
65 rm "${pkgdir}/usr/share/dbus-1/system-services/org.fedoraproject.SetroubleshootFixit.service"
66 rm "${pkgdir}/usr/share/dbus-1/system-services/org.fedoraproject.SetroubleshootPrivileged.service"
67 rmdir "${pkgdir}/usr/share/dbus-1/system-services"
68 rm -r "${pkgdir}/usr/share/doc/"
69 rm -r "${pkgdir}/usr/share/locale/"
70 rm "${pkgdir}/usr/share/man/man8/sedispatch.8"
71 rm "${pkgdir}/usr/share/man/man8/setroubleshootd.8"
72 rm "${pkgdir}/usr/share/polkit-1/actions/org.fedoraproject.setroubleshootfixit.policy"
73 rmdir "${pkgdir}/usr/share/polkit-1/actions"
74 rmdir "${pkgdir}/usr/share/polkit-1"
75 rm "${pkgdir}/usr/share/setroubleshoot/SetroubleshootFixit.py"
76 rm "${pkgdir}/usr/share/setroubleshoot/SetroubleshootPrivileged.py"
77
78 # Remove empty directories created by package issues
79 rmdir "${pkgdir}/usr/share/usr/share/setroubleshoot/gui"
80 rmdir "${pkgdir}/usr/share/usr/share/setroubleshoot"
81 rmdir "${pkgdir}/usr/share/usr/share"
82 rmdir "${pkgdir}/usr/share/usr"
83}
84
85package_setroubleshoot-server() {
86 pkgdesc="SELinux troubleshoot server"
87 # FIXME: split the dependencies between setroubleshoot-server and setroubleshoot
88 depends=('audit' 'dbus' 'desktop-file-utils' 'gtk3' 'libnotify' 'libreport'
89 'policycoreutils' 'polkit' 'python-gobject' 'python-pydbus'
90 'python-slip' 'python-systemd' 'xdg-utils')
91
92 cd "${pkgbase}-${pkgver}"
93 make DESTDIR="${pkgdir}" install
94
95 mkdir -p "${pkgdir}/var/lib/${pkgname}"
96 touch "${pkgdir}/var/lib/${pkgname}/setroubleshoot_database.xml"
97 touch "${pkgdir}/var/lib/${pkgname}/email_alert_recipients"
98
99 install -m644 -D "${srcdir}/setroubleshoot.logrotate" "${pkgdir}/etc/logrotate.d/${pkgname}"
100 install -m644 -D "${srcdir}/setroubleshoot.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
101 install -m644 -D "${srcdir}/setroubleshoot-sysusers.conf" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
102
103 chmod 750 "${pkgdir}/etc/audisp/plugins.d/"
104
105 # Remove setroubleshoot files
106 rm "${pkgdir}/etc/xdg/autostart/sealertauto.desktop"
107 rmdir "${pkgdir}/etc/xdg/autostart"
108 rmdir "${pkgdir}/etc/xdg"
109 rm "${pkgdir}/usr/bin/sealert"
110 rm "${pkgdir}/usr/bin/seapplet"
111 rm "${pkgdir}/usr/share/appdata/setroubleshoot.appdata.xml"
112 rmdir "${pkgdir}/usr/share/appdata"
113 rm "${pkgdir}/usr/share/applications/setroubleshoot.desktop"
114 rmdir "${pkgdir}/usr/share/applications"
115 rm "${pkgdir}/usr/share/dbus-1/services/sealert.service"
116 rmdir "${pkgdir}/usr/share/dbus-1/services"
117 rm -r "${pkgdir}/usr/share/icons/"
118 rm "${pkgdir}/usr/share/man/man1/seapplet.1"
119 rm "${pkgdir}/usr/share/man/man8/sealert.8"
120 rm -r "${pkgdir}/usr/share/setroubleshoot/gui/"
121
122 # Remove empty directories created by package issues
123 rmdir "${pkgdir}/usr/share/usr/share/setroubleshoot/gui"
124 rmdir "${pkgdir}/usr/share/usr/share/setroubleshoot"
125 rmdir "${pkgdir}/usr/share/usr/share"
126 rmdir "${pkgdir}/usr/share/usr"
127}
128

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion