[Bug 296082] sysutils/fluent-bit: tail input with inotify gets EINVAL registering file
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Jun 2026 05:49:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296082
Bug ID: 296082
Summary: sysutils/fluent-bit: tail input with inotify gets
EINVAL registering file
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: girgen@FreeBSD.org
Reporter: dwhite-freebsd-bugs@gumbysoft.com
Flags: maintainer-feedback?(girgen@FreeBSD.org)
Assignee: girgen@FreeBSD.org
fluent-bit with a tail input processor on FreeBSD 15 gets EINVAL when trying to
register the file to watch. Tried on 15.1-RELEASE. Not sure if this is a bug in
fluent-bit or in FreeBSD. inotify support in the base system is new in 15.
Originally installed from package, also tried building fluent-bit from ports,
same error.
Workaround is to disable inotify for the particular input stage via the
"inotify_watcher false" configuration directive.
A quick browse of the fluent-bit source didn't identify any obvious issues.
There are lots of sources of EINVAL.
Jun 15 22:31:28 xxx fluent[14664]: [2026/06/15 22:31:28.216] [error]
[/usr/ports/sysutils/fluent-bit/work/fluent-bit-5.0.7/plugins/in_tail/tail_fs_inotify.c:148
errno=22] Invalid argument
Jun 15 22:31:28 xxx fluent[14664]: [2026/06/15 22:31:28.216] [error]
[input:tail:tail.1] inode=116789954 cannot register file /var/log/anubis.log
--
You are receiving this mail because:
You are the assignee for the bug.