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.
- We’ve compiled a list of the best Linux distros
- Here’s our collection of the best Linux distros for business
- These are the best laptops for programming
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.
- Subscribe to Linux Format magazine for more Linux and open source goodness
Via: The Register
Are you a pro? Subscribe to our newsletter
Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!
With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.