Fedora 44 is Replacing Decades-Old Kernel Console with Safer, Modern Alternative

It is making a more secure userspace console the default while keeping the old one as a backup.
Warp Terminal

Fedora is known for pushing boundaries when it comes to adopting new tech, almost always staying near the bleeding edge of what's currently available. The project doesn't really wait around for things to become "accepted" before jumping in.

That approach now continues as the Fedora Engineering Steering Committee (FESCo) just gave the green light to replace a very old system component with something more modern.

What's Happening?

Fedora 44 is ditching fbcon, the kernel framebuffer console, in favor of kmscon, a more modern userspace console based on Kernel Mode Setting (KMS).

If you have ever pressed Ctrl+Alt+F2 on your Linux computer and seen a full-screen text interface, that's what we are talking about. It is also the same text-only screen that shows up when you boot up your system.

Currently, the old console runs inside the kernel itself. The new approach moves it to userspace, where regular programs live instead of deep in the sensitive core.

Why the Change?

Jocelyn Falempe, who came up with this proposal, laid out some very good reasons for this. The first one is obvious, fbcon is showing its age. It lost scrolling support years ago when developers had to yank the feature due to a security bug.

It still relies on fbdev emulation, even though modern GPU drivers moved to the newer DRM interface. This creates an unnecessary component that shouldn't be there.

Then there is the security issue. fbcon runs in kernel space, so when it crashes, your whole system goes down with a kernel panic. This makes recovering a system painful.

What to Expect?

kmscon brings back what fbcon left out. Scrolling works again. Keyboard handling is considerably better with xkbcommon support. Multiple layouts, proper shortcuts, and more are included.

There is also the ability to change fonts, use more Unicode characters, and the keyboard layout is mirrored with what a user has on their graphical environment.

Don't worry about things breaking. If kmscon gives out, your system falls back to the old Getty/fbcon setup automatically. You can switch back yourself too if needed.

The end game is to eventually do away with both fbcon and fbdev emulation completely. If Fedora pulls this off without issues, other distros could probably follow along soon.

You can go through the conversation surrounding this change on Fedora Discussion.

Via: Phoronix

About the author
Sourav Rudra

Sourav Rudra

A nerd with a passion for open source software, custom PC builds, motorsports, and exploring the endless possibilities of this world.

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.