=== JanC is now known as Guest757 === TWPEagle2 is now known as TWPEagle [17:11] How do I rollback my kernel in Ubuntu 22.04, apparently an upgrade broke virtual box and I need to go from 5.15.0-118-generic to 5.15.0-107-generic but I can't find packages on packages.ubuntu.com for these, and not sure of all the packages I need to get old versions of. [17:12] if you deleted it from your system your unlikely to find it [17:12] normally the old version is removed when a update is released [17:13] but it should still be on your system, just pick it from grub when your system boots [18:16] the previous kernel should never be auto-removed [18:19] and the old versions of packages all stay in the pool on the archive server (but it's more than one package you'll need!) [18:21] SJrX: is the 5.15.0-107-generic kernel still in /boot ? [18:29] Let me check [18:30] Oh I guess 113 is, and maybe that works. [18:33] I guess how can I switch to it (I'm on a server), and also prevent random updates from eventually removing it. [18:42] SJrX: it should never remove the currently running kernel [18:43] So if I just fiddle with the grub config? to point to the old version by default it will never be removed? [18:44] and you can use GRUB_DEFAULT in /etc/default/grub to boot a particular GRUB menu entry [18:44] see info grub (as mentioned in that configuration file) for some help [18:49] also: Virtualbox is not officially supported; it's better to use something based on the standard built-in linux virtualisation (kvm) instead === Darthix is now known as exDarthix [18:52] you have to run apt-get autoremove, to remove old kernels [18:53] JanC: virtualbox is on the ubuntu repos right? [18:54] in multiverse... [18:55] I don't think anyone tests its DKMS package before doing a kernel update... [18:55] I would have to say no testing of dkms stuff is ever done, they have always broken stuff for me [18:56] https://askubuntu.com/questions/58364/whats-the-difference-between-multiverse-universe-restricted-and-main [18:56] I think they do/did some testing for stuff in restricted? [18:57] like nvidia? [18:57] I always had issues with aws stuff, but ubuntu now publishes an aws kernel so [18:58] yeah, such vendor-specific kernels are probably tested for their own stuff too [20:18] Not sure if this is the right place to ask - I'm trying to migrate away from CentOS7 to Ubuntu 24.04 using a Plesk extension. It compares the enabled apache modules and is giving me a warning about missing modules on the ubuntu machine (namely mod_systemd and mod_dumpio). I can't find them in the standard repos. I'm lost on where to get them [20:18] outside of building them from source, which is a tad outside of my comfort zone. Couldn't find any alternative repo that might have them. Is anyone able to point me in the right direction? [20:58] JanC what do you mean VirtualBox is not officially supported? [21:06] LeGuest: doesn't Plesk come with documentation? [21:06] but mod_dumpio seems to be in the apache2-bin package [21:10] I don't think there is a mod_systemd though? [21:20] SJrX: maybe you can file a bug report about the missing mod_systemd [21:21] looks like it is fairly new and has to be enabled for it to be built [21:34] Debian also not building it yet [21:35] Sorry JanC is that for me? [21:36] eh, sorry, that was for LeGuest [21:40] sjrx why would virtualbox be officially supported? [21:40] it is marked as unsupported [21:42] I dunno what "supported" means in this context. I guess I'm not sure what the difference between all the various package repos like multiverse is, but my assumption would be that if a package is here: https://packages.ubuntu.com/jammy/virtualbox and another package breaks it, someone might care? [21:42] nope [21:43] if it is in multiverse or universe that means, ubuntu will *build the package* but it does not make sure it works, functions, updated, security patched, ... [21:46] with ubuntu pro you get 10y support for universe [21:47] incl. security coverage for critical, high and selected medium CVEs [21:48] JanC It does have documentation but it doesn't go further than "if you're missing modules use apt search to find and install them". The forum threads regarding issues with different packages also remained mostly unanswered. If I'm reading you correctly my only options are to ignore the warning or build from source? [21:48] Ah I guess I don't know how we got on this topic of support, it does look like someone on launch pad is going to fix this and there is another work around that works for the moment. [21:49] LeGuest: assuming it works without those, you can just ignore it, I suppose [21:49] well, you asked why it was unsupported and why it was broken [21:51] Oh I asked what JanC meant by not officially supported, as I'm not paying for anything I was just surprised by that topic coming up. I read the bug in launch pad a bit more and they are going to fix it, and there is another workaround that I can try. [21:51] Virtualbox is "community supported", meaning it will get fixed if someone fixes it :) [21:51] but there are no guarantees [21:52] and especially anything that uses DKMS can break easily when the kernel changes [21:52] ya, I think my patches are all closed now, from 2008 [21:52] never merged [21:54] other packages are unlikely to break on kernel updates, I suppose [21:54] packages that don't depend on custom kernel modules [21:54] ya, dkms + hwe is a mess [21:55] I'll cross my fingers. If mod_dumpio is included I'm only missing mod_systemd. Thanks for your help! [21:55] oh, I didn't check if that was a HWE kernel [21:56] no, it wasn't in that case [21:56] more kernel changes = even more likely to break... [22:00] that's why using (something based on) kvm for virtualisation will likely save you a lot of trouble :) [22:04] then you get the other fun I have, like with iscsi lio [22:04] userspace tools dont match kernel space [22:05] though, I think drbd is worse [22:05] I think kernel ships with 9.x and userspace ships with 8.x [22:23] hmm... https://packages.ubuntu.com/drbd-utils looks like all 9.x to me? [22:38] maytbe it was the other way around then? kernel had 8.x [22:38] I installed drbd-dkms to resolve the issue [22:40] version: 8.4.11 [22:41] yep, one shipped with jammy is only 8.4 [22:42] so kernel is 8.4, utils are 9.15, and in order to fix it, have to publish your own drbd-dkms package [22:43] even noble still ships with 8.4 in the kernel [22:45] sounds like that deserves a bug report then :) [22:46] unless userspace 9.x can work with kernelspace 8.x [22:46] it does *mostly* [22:46] why it took me so long to figure out why the things that didn't work, didn't work [22:47] the kernel & drbd-utils are in main, so should be supported if you file bug reports ;)