-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Re)move Debian packages in packages.list
and packages_minimal.list
#6566
Comments
We could move those to "vm-recommended" where the networking stuff is included. |
|
#8330 related. |
Wireless tools removed here: QubesOS/qubes-builder-debian#74 |
PR: Remove strace and ltrace |
PR: Remove haveged and dbus-x11 |
The trace packages remain useful for troubleshooting, and have marginal
impact. What is the reason for removing them?
|
I do not think haveged is unnecessary - it still has a place.
dbus-x11 is marginal, but is of use for KDE.
What is the (detailed) reason for wanting to remove them?
|
Thats the exact reason why they need to be removed. (read the title of the ticket) |
Needs evidence to be proven.
KDE is Wayland now, but nevertheless, it still requires evidence to be proven. |
haveged is still useful for entropy with old kernels (e.g. some in-VM kernels). Admittedly these are uncommon configurations for Qubes OS, but they may happen.
It may be better to keep it and install a systemd condition to not start the daemon on newer kernels. The haveged author proposed just that a long time ago. Possibly it even made its way into debian by now - I haven't checked.
|
The idea of this ticket is to remove these packages from packages_minimal.list and if worthwhile, properly reintroduce these by adding these to a Qubes meta packages (qubes-meta-packages).
Which distributions? In other words, how long do we have to carry this legacy?
Seems a lot effort just to support some outdated (possibly already deprecated?) templates.
What's the benefit for dbus-x11? If dbus-x11 is required, let's properly add it to a Qubes meta package instead? |
Not debian for sure, debian bookworm DVD version (let alone CD version) doesnt has haveged by default.
Zero benefit, Debian bookworm KDE-DVD version doesnt has dbus-x11 by default (let alone CD version). So unless there is a critical reason why we should have these packages, they're just extra, useless packages not even included by default upstream. Please, unless someone has proven evidence of the critical benefits of any of the removed packages, they can share it here. Otherwise, this is just spamming the ticket with outdated theories. |
Why are people arguing about which non-Qubes packages are valuable, useful, or desirable for a Debian template? Isn't our policy about upstream distros intended to avoid precisely these sorts of arguments? |
The minimal template intentionally deviate from this policy, to be as small base as possible. But this goes only one way - if a package isn't included in default package set of a distribution, surely it shouldn't be included in the minimal template either (unless needed by something qubes-specific, ofc). |
Yes, but in that case, it's still irrelevant whether a package is valuable, useful, or desirable. The standard for minimal templates isn't "be as small as possible while including all of the valuable, useful, and desirable stuff." It's just "be as small as possible." In this case, "possible" really means something more like "practical" or "feasible." In other words, the minimal templates aim to be as small as possible while still serving their function as templates. So, people arguing over whether packages are valuable, useful, or desirable in the context of minimal templates are having the wrong debate. They must instead argue that the template will not work or will not be able to serve its purpose without the package in question, which is a much higher bar. |
Thank you @marmarek @andrewdavidwong. #6566 (comment) can we proceed so we i can post the next PR? |
What about the packages listed in this forum post? |
On Tue, Jul 23, 2024 at 03:23:29PM -0700, duck09 wrote:
What about the packages listed in this forum [post](https://forum.qubes-os.org/t/minifying-debian-12-minimal/24778)?
You'll see that there was a discussion (brief) in qubes-devel, but the
conclusion was that we should honor the distro in producing minimal
templates.
While it is possible to produce smaller templates (either by rebuilding
with small package list or by package removal), these do not provide
what Debian determines is the core of Debian. The same applies to
Fedora.
|
Does your answer not contradict the comment by marmarek earlier in this thread? This is unless the packages mentioned in the forum post are included by default, I am not sure if that is the case or not. |
May I suggest to limit the scope of this ticket? The scope being these two source code files only:
Packages listed there either being removed or moved to qubes meta packages. This would be specifically useful in case of If a package is not listed in these files, I would appreciate if that could be discussed in a different ticket, mailing list discussion or forum topic. |
packages.list
and packages_minimal.list
Attempted to update title accordingly. |
PR remove aptitude and tasksel: |
PR remove xterm and libfile-mimeinfo-perl: |
Is the inclusion of |
|
Is the Whonix template built from a minimal debian template? |
Yes |
Do you know if only the Gateway is based on the minimal template or is the Workstation based on it too? |
We have a section specified for qubes questions in our forum you can ask there. |
What's the purpose of these files?
Why are some packages installed there?
full list:
For example, having
wpasupplicant
there seems most obviously unnecessary. That results in the Whonix template having this package, although not required.Wouldn't it be better if these packages where referenced in qubes meta packages?
The text was updated successfully, but these errors were encountered: