Blog · 2026-03-19 · MooseFS Team

MooseFS 4.58.4: Cleaner Builds, Better Diagnostics

MooseFS 4.58.4 adds Fedora .spec files, standardizes the printflike logging macro, and fixes a masterresolver crash triggered by a trailing comma in an IP list. The master server now also logs the expected chunk version alongside the actual one when a mismatch is detected – making inconsistency diagnosis significantly faster.

Build System Improvements

This release introduces Fedora .spec files, making it easier to build MooseFS packages on Fedora-based distributions. As part of this work, we made a minor adjustment to configure.ac and replaced autogen.sh with bootstrap.sh. This aligns the build process with what we’re planning for MooseFS 5.

Internal Cleanup

We’ve done some technical refactoring in the logging layer by introducing and standardizing the printflike macro in mfslog, along with fixing related syslog argument usage. This change does not affect users directly but improves code consistency and reliability.

We also silenced an unnecessary AddressSanitizer warning to keep build outputs cleaner and more useful.

Stability Fixes

A potential crash in masterresolver (Pro only) has been fixed. This issue could occur when using in an unofficial feature a list of IP addresses (instead of a hostname) if the list ended with an extra comma or semicolon. The parser now safely handles such cases.

Additionally, we added protection against multiple initializations of the strerr structure. This situation could happen in certain scenarios, such as repeated initialization of modules, and is now properly guarded.

Better Diagnostics

To improve troubleshooting, the master server now logs more detailed information when a chunk version mismatch occurs. Syslog messages include not only the current chunk version but also the version expected by the master, making it easier to identify and resolve inconsistencies.

MooseFS 4.58.4 is a small but solid step forward in improving reliability and maintainability. As always, we recommend upgrading to benefit from these fixes and improvements.