fluent-package v5.0.8 has been released

Hi users!

We have released fluent-package v5.0.8 on October 8, 2025. Fluent Package is a stable distribution package of Fluentd. (successor of td-agent v4)

This is a maintenance release of v5.0.x LTS series. Bundled Fluentd was updated to 1.16.10.

Fluent Package v5.0.8

  • Updated bundled Ruby to 3.2.9
  • Updated bundled Fluentd to v1.16.10
  • Fixed an issue where Fluentd’s temporary directory could be deleted by tmpfiles.d
  • Updated bundled Nokogiri (Windows only) and rexml to address vulnerabilities

This article explains the changes in Fluent Package v5.0.8.

Changes

Updated bundled Ruby to 3.2.9

Ruby 3.2.9 includes multiple security and bug fixes. For details, please see the Ruby 3.2.9 release notes.

Updated bundled Fluentd from v1.16.9 to v1.16.10

Fluentd v1.16.10 includes the following fixes:

  • Server plugin helper: Fixed an issue where connections might not be properly closed when Fluentd shuts down.
    • When flush_at_shutdown is enabled, Fluentd should flush all buffered data before stopping, unless output fails. However, buffer files sometimes remained after shutdown. The remaining buffer files are loaded on the next startup.

Fixed an issue where Fluentd’s temporary directory could be deleted by tmpfiles.d

On some Linux distributions, tmpfiles.d is configured as follows, and files or directories in /tmp that remain unused for more than 10 days are deleted:

q /tmp 1777 root root 10d

When using the out_file or out_secondary_file plugins, Fluentd uses temporary directory like /tmp/fluentd-lock-{...}/, depending on the config. If there is no output with out_file or out_secondary_file for an extended period, the temporary directory could be deleted by tmpfiles.d.

If the temporary directory is deleted while Fluentd is running, the following error occurs continuously in out_file and out_secondary_file output:

2025-09-11 14:33:29 +0900 [warn]: #2 failed to flush the buffer. retry_times=0 next_retry_time=2025-09-11 14:33:30 +0900 chunk="63e7fdca888e679a6fcdefb0c120bf58" error_class=Errno::ENOENT error="No such file or directory @ rb_sysopen - /tmp/fluentd-lock-20250911-1545462-74fvkh/fluentd-foo.lock"

Normally, some output is written periodically, so this issue is rare. If it occurs, you can restore normal operation by restarting Fluentd before reaching the retry limit.

In this release, we added a rule to /usr/lib/tmpfiles.d/fluentd.conf to exclude /tmp/fluentd-lock-{...}/ from automatic deletion.

Updated bundled Nokogiri (Windows only) and rexml to address vulnerabilities

The bundled Nokogiri (for Windows only) has been updated from v1.16.8 to v1.18.10 to address the following vulnerabilities:

The bundled rexml has been updated from v3.3.9 to v3.4.4 to address the following vulnerabilities:

Download

Please see the download page.

Announcement

About next LTS schedule

We plan to release the next LTS version of fluent-package v5.0.9 by the end of 2025. The content of updates are still TBD.

We strongly recommend upgrading to fluent-package v6 LTS.

Follow us on X

We have been posting information about Fluentd in Japanese on @fluentd_jp. We would appreciate it if you followed the X account.

There are some commercial supports for Fluentd, see Enterprise Services. If you use Fluentd on production, Let's share your use-case/testimonial on Testimonials page. Please consider to feedback Use-Case/Testimonials via GitHub.

Subscribed to the RSS feed here.

Written by ClearCode, Inc.

ClearCode, Inc. is a software company specializing in the development of Free Software. We maintain Fluentd and its plugin ecosystem, and provide commercial support for them.