Score:0

Is the "linux-firmware" package actually required on a XEN VPS?

co flag

This package is half a gigabyte so I'd like to determine if it's truly needed.

I'm having trouble understanding why it would actually be required on a VPS, and no other packages depend on it, however, I'm still worried because if removing it somehow renders the server unbootable, it will be difficult to recover from.

How can I determine with certainty whether I actually require this or not?

# uname -a
Linux hostname.domain 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal
Displayname71 avatar
co flag
Is that still relevant on a virtual machine though? I wouldn't think that any of the "real" hardware would be even be visible or touchable from my VPS, and any hardware security vulnerabilities would be the responsibility of the VPS provider, not me?
guiverc avatar
cn flag
Does this answer your question? [Which packages cannot access physical hardware under virtualized environment?](https://askubuntu.com/questions/1156146/which-packages-cannot-access-physical-hardware-under-virtualized-environment)
Displayname71 avatar
co flag
Not exactly but it did eventually head me to the cloud images at https://cloud-images.ubuntu.com/focal/current/ which I'm not using but looking at the manifest files give some insight on what packages are normally included for various virtualized platforms. It seems that linux-firmware is not included in any of them but I'm still not 100% confident. I'm considering renting a 2nd VPS instance to use as a test system, so I can test package removals and such on it before implementing on my main system.
jm flag
rjt
Having major disk space problems. What did your testing find?
Displayname71 avatar
co flag
I eventually removed it without any real prior testing, and I've observed zero issues. It's been a few months (and a couple reboots) so it my case it seems like it was safe. Your mileage may vary.
Score:1
co flag

Followup much later...

I eventually purged all packages containing "firmware", "microcode", or "modules" in the name with no negative consequences and no known boot issues.

I've since repeated this on a number of other VPS's, XEN and KVM and others, with a number of different VPS / cloud providers, and have no encountered issues on any of them.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.