Why does fedora-37 template come with Apache installed?

I’ve just noticed that the fedora-37 template has apache Apache/2.4.55 installed by default.

Is there a reason this is needed?

1 Like

It is not needed and it is not installed by default.

It sure seems like it is. Am I doing something wrong then?

Dom0 terminal

$ sudo qubes-dom0-update qubes-template-fedora-37
Redirecting to 'qvm-template install  fedora-37'
Downloading 'qubes-template-fedora-37-0:4.0.6-202302271646'...
qubes-template-fedora-37-0:4.0.6-202302271646: 100%|▉| 1.78G/1.78G [02:40<00:00,
Installing template 'fedora-37'...
fedora-37: Importing data

Opening terminal in fedora-37 template right after the above completes

$ httpd -v
Server version: Apache/2.4.55 (Fedora Linux)
Server built:   Jan 25 2023 00:00:00

I’m curious. What does a search for the package show?

rpm -qa | grep httpd

[user@fedora-37 ~]$ rpm -qa | grep httpd
httpd-tools-2.4.55-1.fc37.x86_64
fedora-logos-httpd-36.0.0-3.fc37.noarch
httpd-filesystem-2.4.55-1.fc37.noarch
httpd-core-2.4.55-1.fc37.x86_64
httpd-2.4.55-1.fc37.x86_64

You are quite right, and I am a complete ass.
This only confirms that I am definitely not a Fedora, or Gnome, person.

dnf history httpd-core suggests that it may be pulled in as part of
some group - @networkmanager-submodules @gnome @printing?- is there some
gnomish way of configuring network or printing using a browser? I suspect
so, but I havent had enough sleep to do anything but weep.

I never presume to speak for the Qubes team. When I comment in the Forum or in the mailing lists I speak for myself.

Found the culprit: gnome-user-share

$ dnf repoquery --requires gnome-user-share
<SNIP>
Last metadata expiration check: 0:00:01 ago on Sun Mar 12 22:22:43 2023.
/bin/sh
httpd
libc.so.6(GLIBC_2.34)(64bit)
libgio-2.0.so.0()(64bit)
libglib-2.0.so.0()(64bit)
libgobject-2.0.so.0()(64bit)
libselinux.so.1()(64bit)
libselinux.so.1(LIBSELINUX_1.0)(64bit)
mod_dnssd
rtld(GNU_HASH)

Possibly something worth removing in future releases? I cant see it being beneficial to most people day to day

removing gnome-user-share also would remove,

 apr                                                  x86_64                          1.7.2-2.fc37                              @updates                          297 k
 apr-util                                             x86_64                          1.6.3-2.fc37                              @updates                          217 k
 apr-util-bdb                                         x86_64                          1.6.3-2.fc37                              @updates                           15 k
 apr-util-openssl                                     x86_64                          1.6.3-2.fc37                              @updates                           24 k
 fedora-logos-httpd                                   noarch                          36.0.0-3.fc37                             @fedora                            12 k
 httpd                                                x86_64                          2.4.55-1.fc37                             @updates                           60 k
 httpd-core                                           x86_64                          2.4.55-1.fc37                             @updates                          4.7 M
 httpd-filesystem                                     noarch                          2.4.55-1.fc37                             @updates                          464  
 httpd-tools                                          x86_64                          2.4.55-1.fc37                             @updates                          202 k
 julietaula-montserrat-fonts                          noarch                          1:7.222-3.fc37                            @fedora                           4.2 M
 mailcap                                              noarch                          2.1.53-4.fc37                             @fedora                            81 k
 mod_dnssd                                            x86_64                          0.6-27.fc37                               @fedora                            62 k
 mod_http2                                            x86_64                          2.0.9-1.fc37                              @updates                          394 k
 mod_lua                                              x86_64                          2.4.55-1.fc37                             @updates                          143 k