Monday, 8 March 2021

Linus Torvalds pushes out emergency Linux update

In a break from tradition, Linux kernel head honcho Linus Torvalds has published the newest release earlier than usual to address a filesystem corruption issue in the previous release.

Torvalds noted that last week’s v5.12-rc1 broke the swapfile in an unusual way that could trash the entire filesystem on certain installations. Before he put out the update to correct that issue, Torvalds marked the previous release as v5.12-rc1-dontuse to ward off anyone from using that particular release in their Linux machines.

“Ok, so this is a couple of days early, but rc1 had the nasty swapfile issue, so I'm just accelerating rc2 a bit,” noted Torvalds as he merged the fix that was released in the days following the rc1 release.

Swapfile issue

Linux release candidates, despite essentially being under-development releases, are surprisingly robust. They aren’t meant for production machines and are intended for developers to test the inclusion of new features.

A couple of days after the first release candidate of the 5.12 branch was released, it was discovered to trash installations that used a swapfile. While most Linux distros use swap partitions and wouldn’t have been impacted by this bug, some like Ubuntu do default to using a swapfile. 

Michael Larabel over at Phoronix was one of the first to run into the issue on his test systems, which then came into spotlight as it crashed Intel's graphics continuous integration systems forcing Intel engineers to look into the issue.

The issue was soon resolved and now a patch has been merged into the latest release candidate. However, it’s given the developers a moment of reflection. “Most of our rc1 releases have been so solid over the years that people may have forgotten that ‘yeah, this is all the new code that can have nasty bugs in it,” wrote Torvalds, reminding developers not to be tempted to use the release candidates in production deployments.

Via: The Register

https://ift.tt/3rtrJdQ

No comments:

Post a Comment