Telegraf 1.16 and higher - error when starting

Hi,
starting with version 1.16, the telegraf service crash with this error:

./usr/bin/telegraf --version
panic: strconv.ParseInt: parsing “Add”: invalid syntax
goroutine 1 [running]:
modernc.org/libc/honnef.co/go/netdb.init.0()
/go/pkg/mod/modernc.org/libc@v1.3.1/honnef.co/go/netdb/netdb.go:751 +0xa18

And it seem to be affect on certain RedHat linux server. All of our Linux versions are same all across as well as the kernel built.

Any Idea what will cause this error?

Thanks

Hi, found the issue,
the new version is doing extraction from the /etc/services file with the netdb.go.
int the service file their was a string ‘—‘ in the beginning of a line that make crash the GO function. Line removed and telegraf now functionnal.

Thanks