Bugzilla not in repos

I want to install Bugzilla on RL 8.5.

At https://bugzilla.readthedocs.io/en/latest/installing/linux.html it says I can do yum install bugzilla on Fedora and RHEL but …

[root@localhost bob]# dnf install bugzilla
Rocky Linux 8 - AppStream                                                                                                     4.9 MB/s | 8.7 MB     00:01    
Rocky Linux 8 - BaseOS                                                                                                        2.4 MB/s | 4.6 MB     00:01    
Rocky Linux 8 - Extras                                                                                                         35 kB/s |  10 kB     00:00    
No match for argument: bugzilla

I’ve checked and it is available in Fedora 35 under the fedora repo.

I can’t check RHEL as I don’t have a RHEL subscription.

Before I go and ask the people at Bugzilla, can anyone here shed any light on this ?

You have to add the epel repository

sudo dnf install epel-release

No joy


[root@localhost bob]# dnf repolist
repo id                                                   repo name
appstream                                                 Rocky Linux 8 - AppStream
baseos                                                    Rocky Linux 8 - BaseOS
epel                                                      Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                              Extra Packages for Enterprise Linux Modular 8 - x86_64
extras                                                    Rocky Linux 8 - Extras
[root@localhost bob]# dnf install bugzilla
Extra Packages for Enterprise Linux 8 - x86_64                                                                                2.9 MB/s |  11 MB     00:03    
Extra Packages for Enterprise Linux Modular 8 - x86_64                                                                        1.4 MB/s | 980 kB     00:00    
Last metadata expiration check: 0:00:01 ago on Tue 04 Jan 2022 13:44:26 GMT.
No match for argument: bugzilla
Error: Unable to find a match: bugzilla

Looks like the Bugzilla documentation is incorrect. The RHEL7 or RHEL8 repositories don’t have it. Fedora does have it however. Even epel for RHEL7 doesn’t have it.

You could download the tar file, and build it yourself. Someone did that on CentOS 8: https://kifarunix.com/install-bugzilla-bug-tracker-on-centos-8/


I was hoping to dnf it - I take anything from the official distro repos as trusted (insofar as anything can be) which means I can avoid doing all the verifications and signature checking stuff involved when I go elsewhere.

( I filed a doc bug with Bugzilla )

…days later…

Still trying to install Bugzilla on RL 8.4.

( most of the online how-tos glibbly gloss over turning off selinux - and sure why wouldn’t ya ? doh. )

Gave up on the preferred Sqlite (as its local) option as that was going nowhere (with permission issues prob related to sqlite tmp file locations) and tried the mysql / mariadb option as its mainstream and likely to be less troublesome / better documented…

After trying several things including selinux changes like :

semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/bugzilla(/.*)?"

I am left with one problem (and some concerns) :

It only works if I have

setsebool -P httpd_unified 1

which I don’t want and shouldn’t need according to https://danwalsh.livejournal.com/56760.html

I get no logged errors or sealerts to begin with and have to

semodule -DB

to see them… and this is where it gets interesting. The errors reported are:

SELinux is preventing /usr/sbin/httpd from using the net_admin capability 


SELinux is preventing /usr/libexec/dbus-1/dbus-daemon-launch-helper from using the net_admin capability

and this is just while attempting to access localhost/bugzilla in the browser.

So, either the error/log messages are wrong/misleading or the doc on CAP_NET_ADMIN is misleading
or httpd and an inter-application-message-bus are trying to access network admin functionality as part of/on behalf of Bugzilla et al …

which I find alarming (why would they need admin access to my netwoking ?)


setsebool -P httpd_unified 1

lets them

which I also find alarming.

( the httpd test page works fine without any selinux hocus pocus )

Any thoughts ?