3 ms·
> No custom kernel support How many people run custom kernels? I have used a kernel with realtime extensions enabled but that was a very special case and woul
by rdtsc 11y ago
> No custom kernel support
How many people run custom kernels?
I have used a kernel with realtime extensions enabled but that was a very special case and wouldn't run that in a VM anyway.
- tshtf 11y ago> How many people run custom kernels? How many people want to run an updated kernel without known security vulnerabilities? Or with fixes to relevant issues?
- rdtsc 11y ago> How many people want to run an updated kernel without known security vulnerabilities? How many people call that "a custom kernel"? Haven't heard anybody call an upstream distro kernel update a "custom kernel". Is this a typical conversation people have? "Hey Jim, did you update the servers to get the latest OpenSSL security fixes? - Yap, I compiled and installed a custom kernel". Maybe they need to run a better distro with faster security update response?
- jsmthrowaway 11y agoIt's specific to VM images. "Custom" here means "not baked into Xen," since your filesystem is not considered when spawning a domU kernel except in limited circumstances. In the Xen world, your kernel is provided by your hosting provider. You can apt-get all day and nothing will happen. That is what custom means in this context. "Not yours." Read accordingly; you've made the same flawed point at several spots in this thread.
- rdtsc 11y agoAh, I understand now, thanks for explaining. I thought they used KVM for some reason... But I guess if they use Xen they yeah, they are stuck with whatever kernel they get.
- jsmthrowaway 11y agoIt's a slightly similar story under KVM in these scenarios. Customer kernels are trickier.
- rdtsc 11y agoDepending on what kind of level of virtualization they opted for, I've run Windows on Linux under KVM. They are doing the "boot a kernel" mode instead of fully virtufalized hardware mode probably to save on resources.
- danellis 11y agoDO uses KVM.
- andrewsomething 11y agoJust to confirm, we use KVM across our fleet at DO.
- DanielDent 11y agoI've got both Xen & KVM systems under my care. It's no longer true that Xen needs to mean managing the kernel outside the VM. PVGRUB can be specified as the 'kernel' to boot, which will chainload a grub which can be managed inside the VM, which lets you run any kernel you wish and manage the boot process as you would on a non-virtualized system. Amazon uses Xen for their EC2 product, and as I understand they too now set people up with pvgrub.
- makomk 11y agoVery few people run actual custom kernels, but most people want to run the distro-supplied kernel for their distro of choice (including security updates to it) and most decent providers configure their VMs to allow custom kernels so that their users can do this.
- rdtsc 11y ago> people want to run the distro-supplied kernel I read "custom kernel" as in "replace distro-supplied kernel and compile your own with some custom flags and patches".
- makomk 11y agoWell, you can do that too, but the point is that you have control over what kernel your VMs are running and not the hosting provider. From a technical perspective it makes little difference where that kernel comes from; either you control what kernel you're running or you don't.
- rdtsc 11y agoI was at least thinking that once you pick a distro, they'd be first in line updating the security patches for it (or at least as fast as say your own ops team would). But I guess that is not the case.
- jsmthrowaway 11y agoThis is especially big for RHEL, OEL, and friends. Yeah, CentOS is cool for your startup but a big portion of the valley wants support contracts so they can stop doing OS grunt work, and if your provider doesn't roll RHEL you get to deploy your own, and AFAIK that is not possible on DO (and requires quite a bit of work on Linode, its closest competitor in the space; DO is not AMZN). Deploying RHEL in a supported way requires using their kernels. It's your virtual machine. You should be able to pick a kernel. This isn't for running Andrew Morton patches, as some of the comments imply.
- guan 11y ago