Bug 228785

Summary: sysutils/beats does not respect rc variables
Product: Ports & Packages Reporter: bas
Component: Individual Port(s)Assignee: Juraj Lutter <otis>
Status: Closed FIXED    
Severity: Affects Many People CC: 0mp, otis
Priority: --- Flags: bugzilla: maintainer-feedback? (elastic)
Version: Latest   
Hardware: Any   
OS: Any   

Description bas 2018-06-06 15:12:02 UTC
The rc scripts for the beats promise to respect for example the filebeat_conf variable, yet the script itself doesn't. Reproduce by setting filebeat_conf="/root/filebeat.yml" while removing /usr/local/etc/filebeat.yml from the system. Upon starting filebeat using /usr/local/etc/rc.d/filebeat start, a lot of noise will come your way about filebeat not being able to find /usr/local/etc/filebeat.yml.
Comment 1 Juraj Lutter freebsd_committer freebsd_triage 2020-09-25 20:59:30 UTC
This functionality made it to upcoming update to 7.9.2 that is going to happen very soon.

I will backport it also to beats6.
Comment 2 Mateusz Piotrowski freebsd_committer freebsd_triage 2020-10-04 20:43:26 UTC
(In reply to Juraj Lutter from comment #1)

I'll mark this ticket as Open then. Thanks!
Comment 3 Juraj Lutter freebsd_committer freebsd_triage 2021-03-10 21:29:56 UTC
This has already been merged.