Date: Wed, 24 Jan 2018 22:57:54 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 225439] net-mgmt/telegraf add custom PATH to rc script Message-ID: <bug-225439-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225439 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@FreeBSD.org Reporter: freebsd-bugs@theory14.net Flags: maintainer-feedback?(girgen@FreeBSD.org) Assignee: girgen@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=3D${PATH}:/usr/local/bin" to /etc/rc.conf= , but it seems more appropriate that this is in the telegraf rc script. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225439-13>