142
submitted 6 months ago by Blaze@lemmy.zip to c/linux@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] kabe@lemmy.world 6 points 6 months ago* (last edited 6 months ago)

I do not like the frequency of reboots necessitated by kernel upgrades. I know that I could mask it, but IME that eventually causes problems with packages than make .ko kernel modules; it's just more things to fail, and it makes me really wish Linus would have just based Linux on MINIX.

Here's a tip that you might not be aware of: Arch has an LTS kernel. It may seem counter intuitive to run Arch and not have the latest, bleeding edge kernel, but the upside is that you get a stabler, less breakage-prone system.

[-] sxan@midwest.social 3 points 6 months ago

I didn't know about the LTS kernel. How does that interact with module packages, like the fscking Broadcom support packages, or bcachesfs (before it for mainlined)? That's where I've historically run into issues with pinning the kernel.

I will absolutely look into this, though. If it prevents the "you need to reboot or else" messages after every Syu, I'm in. On Arch, when you get a message like that, it's best heeded.

[-] kabe@lemmy.world 4 points 6 months ago* (last edited 6 months ago)

I've never had to deal with Broadcom drivers or pinned the kernel, so I can't tell you anything about that. The LTS kernel (currently 6.6.32-1) still updates regularly, albeit not nearly as often as the stock Arch kernel, so that means fewer updates that require a reboot.

Just install linux-lts and linux-lts-headers via pacman, and you're good to go.

[-] superkret@feddit.org 2 points 2 months ago* (last edited 2 months ago)

Another pro tip: You don't need to update Arch every day.
I update about once a month. Just make sure you read the news and deal with your .pacnew files.

[-] sxan@midwest.social 2 points 2 months ago

I've gone months between updates. On servers, that's a little more risky because it CVEs, which can also apply to the kernel, but LTS is probably safe enough there: if there's a kernel CVE, LTS will be updated.

I've had trouble with pinning the kernel before, though. Last time I did it, I went several months and forgotten I'd done it, and my system got itself wedged because some package was expecting a newer kernel; it took me a while to figure out.

LTS might be a better option, since that will be caught be dependency management. Pinning can cause version dependency mismatch issues.

this post was submitted on 08 Jun 2024
142 points (98.0% liked)

Linux

5495 readers
493 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS