What is the primary reason for Ubuntu-based kernels?

esi_y

Renowned Member
Nov 29, 2023
2,221
374
68
github.com
It seems that PVE started to use Ubuntu based kernels since Xenial. It is not hidden, but it is not explained as a choice either (at least where I searched).

1. What are the reasons (in order of importance) for this? Hardware support? Feature-set? Security? Something else?

2. What will I break once I start shuffling around different kernels?
 
Hi,
It seems that PVE started to use Ubuntu based kernels since Xenial. It is not hidden, but it is not explained as a choice either (at least where I searched).

1. What are the reasons (in order of importance) for this? Hardware support? Feature-set? Security? Something else?
I was not involved in the decision, but AFAIK one of the main reasons was hardware support: https://wiki.ubuntu.com/Kernel/LTSEnablementStack
2. What will I break once I start shuffling around different kernels?
It's not going to be officially supported if you use your own kernels. And note that most kernels do not come with ZFS baked-in.
 
  • Like
Reactions: esi_y
besides hardware support and having a fairly "recent" kernel version, the other big point back then was that with the switch from OpenVZ to LXC as container stack, we needed good apparmor and namespace support. not all desired apparmor and namespace features were upstream/mainline at that point, apparmor and LXC being mostly developed by Ubuntu (at least back then) meant that the Ubuntu kernels had all of those already without the need of maintaining huge patch stacks. nowadays that delta is basically not existing anymore thankfully.

before that we also didn't use the stock Debian or mainline kernels, but the OpenVZ-patched kernel that had RedHat as base..
 
besides hardware support and having a fairly "recent" kernel version, the other big point back then was that with the switch from OpenVZ to LXC as container stack, we needed good apparmor and namespace support. not all desired apparmor and namespace features were upstream/mainline at that point, apparmor and LXC being mostly developed by Ubuntu (at least back then) meant that the Ubuntu kernels had all of those already without the need of maintaining huge patch stacks. nowadays that delta is basically not existing anymore thankfully.

before that we also didn't use the stock Debian or mainline kernels, but the OpenVZ-patched kernel that had RedHat as base..
they only got it for LXD :D but yeah ok that makes sense too! I thought the RH ones were because of other bits from RH too, the rgmanager
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!