[Bug 225439] net-mgmt/telegraf add custom PATH to rc script
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 24 22:57:56 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225439
Bug ID: 225439
Summary: net-mgmt/telegraf add custom PATH to rc script
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: girgen at FreeBSD.org
Reporter: freebsd-bugs at theory14.net
Flags: maintainer-feedback?(girgen at FreeBSD.org)
Assignee: girgen at FreeBSD.org
telegraf supports gathering stats from fail2ban via fail2ban-client, which is
installed in /usr/local/bin. Since /usr/local/bin is not in the PATH set by
rc. A log entry such as below is generated in /var/log/telegraf.log
2018-01-24T22:53:00Z E! Error in plugin [inputs.fail2ban]: fail2ban-client not
found: verify that fail2ban is installed and that fail2ban-client is in your
PATH
I have fixed this by adding "PATH=${PATH}:/usr/local/bin" to /etc/rc.conf, but
it seems more appropriate that this is in the telegraf rc script.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list