this post was submitted on 20 Sep 2023
139 points (98.6% liked)

Linux

48372 readers
1837 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
top 20 comments
sorted by: hot top controversial new old
[–] [email protected] 43 points 1 year ago (2 children)

They say no one is using these older LTS kernels, but I'm running into them all the time on Android devices. I don't know if the vendors are taking advantage of those updates, but they're definitely choosing the LTS kernels for their BSPs at release time.

[–] unreachable 25 points 1 year ago (1 children)

choosing LTS certainly, but backport improvement and delivering updates, most probably never

[–] [email protected] 8 points 1 year ago (1 children)

which is kinda the point of LTS right? or does LTS for kernel mean additional things?

[–] [email protected] 44 points 1 year ago* (last edited 1 year ago) (1 children)

LTS means that the kernel will not recieve new features, but will receive security patches. Thus remaining stable with no breaking changes.

90% of android device manufacturers will drop in one kernel at launch day and then never, ever, ever touch it again. Fuck security, fuck the user.

[–] [email protected] 9 points 1 year ago (1 children)

okay, so it seems as though disregarding android usage of LTS seems reasonable because whilst it shouldn’t be this way, nothing will actually change

[–] [email protected] 14 points 1 year ago (1 children)

Yeah android devices are a weird beast. They use Linux in name, but not in spirit, since the entire system is locked off from the typical user.

[–] gataloca 9 points 1 year ago (2 children)

Android is the evil version of Linux or the anti-Linux if you will.

[–] [email protected] 5 points 1 year ago

What you're referring to as anti-Linux is, in fact, anti-GNU/Linux, or as I've recently taken to calling it, anti-GNU plus anti-Linux...

[–] [email protected] 1 points 1 year ago

Root + Unlock BL + Custom ROM be like: Am I a fucking joke to you?

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (1 children)

[This comment has been deleted by an automated system]

[–] [email protected] 1 points 1 year ago

HWE is just a much newer upstream base. I've had issues with their HWE line (6.2 base) but then I've had issues with their Generic line (5.15 base) so while newer isn't always better, older isn't better either.

[–] [email protected] 25 points 1 year ago

Cut from 6(!) years to 2 years. I had no idea the support stretched as far back as 6 years. 2 still seems totally reasonable, especially given all the work put into backwards compatibility in the kernel already.

[–] MrPoopyButthole 11 points 1 year ago (1 children)

RIP 22.04 LTS. I have like 20+ servers running this.

[–] [email protected] 29 points 1 year ago* (last edited 1 year ago) (1 children)

Pretty sure Ubuntu LTS is completely unaffected by this.

[–] [email protected] 12 points 1 year ago

Correct. They regularly freeze and maintain their own kernel, merging patches in as needed.
5.15.0-83.94-generic
5.15.0 (mainline kennel version at the point it was frozen)
83.94 (Canonical's version numbering with newer upstream patches merged in over time)
generic (Canonical maintains several specialized flavors of kernel for different needs)

They've recently put out a "HWE" flavor which just starts at a much newer point in the upstream kernel. I'm not sure what the point is in maintaining the 5.15 and the 6.2 flavors side-by-side.

Sources:
https://ubuntu.com/kernel
https://people.canonical.com/~kernel/info/kernel-version-map.html

[–] [email protected] 11 points 1 year ago (4 children)

Sorry for my dumb question but what is the difference between the Linux kernel at kernel.org and say the Linux kernal at Ubuntu.org? It is just different maintainers?

For example I believe the LTS version of Ubuntu runs for 5 years and you can pay for Pro support and get 10 years on their ESM version, if I understand correctly you can keep the same kernel version though the duration.

[–] [email protected] 23 points 1 year ago

The Ubuntu kernel is downstream from the actual kernel.org version. Ubuntu just handles support of it for Ubuntu. Kernel.org are the original implementers.

[–] [email protected] 20 points 1 year ago* (last edited 1 year ago)

Linus Torvolds and the folks at kernel.org work to continually improve the kernel and ready it for each release cycle.

Ubuntu and other distro maintainers take that work and make sure that they are shipping to you a compiled kernel(s) that dependably works with all other software on their distribution.

[–] [email protected] 6 points 1 year ago

The other two answers are correct but missing one maker thing: many major distributions apply patches to the kernel before distributing. So there are very slight modifications.

[–] [email protected] 2 points 1 year ago

On your final note, it's not really the same kernel version throughout, and at times they have bumped up major upstream kernel versions mid-LTS, but even disregarding that, they are constantly applying security patches (think of it as minor version increments with bugfixes from the future).
So sure, you're running kernel 5.15.0 on Ubuntu LTS 22.04, but maybe you started at 5.15.0-36 and after a few months of incremental upgrades you'll be running 5.15.0-85.