-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thu, Dec 25, 2025 at 09:26:08AM -0000, qubist wrote:
> Merry Christmas!
> 
> While I understand minimizing dom0 is not a goal yet [1], what
> justifies all the seemingly unnecessary stuff in it, considering the
> major recommendation not to run things in dom0 and the fact that one
> can always add (install) packages if so necessary?
> 
> Is there at least a list of absolutely required packages, so that one
> can remove whatever else one does not need?
> 
> [1] 
> https://github.com/QubesOS/qubes-issues/issues/8658#issuecomment-1780885777

Dom0 is based on Fedora (41) Xfce spin and mostly follows what is
included there. But, contrary to templates, we are more open to
customizing it, removing unneeded parts etc. As for "what is necessary",
I don't have clear answer for you. Generally - if some qubes package
depends on it, it's probably necessary. The easiest check is `dnf remove
- --assumeno <package>` and see what would be removed with it. But there
are likely some cases where dependency is indirect, and maybe it could
be avoided.

For example, samba-client-libs is installed in dom0. If you try to
remove it, it will try to remove a bunch of other packages, including
initial-setup-gui and qubes-manager. But, we don't really use samba in
dom0, it's some indirect dependency (looks to be via libavformat-free ->
qt6-qtmultimedia -> python3-pyqt6 -> qubes-manager). I'm not sure if
there is a harmless way exclude that dependency (without rebuilding a
lot of Fedora packages for example).

Internet says `rpmreaper` is a tool that may help finding unused
packages.

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmlOdwoACgkQ24/THMrX
1yxKBAgAjST3T2iw9KZmtSRYndv3EwQXspnFzCOamdSgYQ/SfeiQFmWFDQWDzk/j
xagcWbkjm4Z7SoSJYTmPIk5rCa6RbKWIldczUNVzBEz5JZ2HFbJh41Wdq2fh7cuV
AnOAwBeQ84bfU9LQ1SBOsaF8dzddYENP6KKXlwK8AJNiM30ftljxnm5pvWK7UlBZ
qfGrH2c1yBCM2CuKiDlOKoTy00N/FY7FqBADTUKLhJ9Eq25Z60c9Llb9beqXqqoN
5H8zyoGGcIIwnTiGgO+FYV82EfwwwnW/f99d5Gpdz7ohHBe+OklGpMdQ1Or96PfE
JmDQViYIMnQ5BV1Os4my/JxvTTbduQ==
=BdEE
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/qubes-devel/aU53CrONIWbdFfW1%40mail-itl.

Reply via email to