Bug 228785 - sysutils/beats does not respect rc variables
Summary: sysutils/beats does not respect rc variables
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Juraj Lutter
Depends on:
Reported: 2018-06-06 15:12 UTC by bas
Modified: 2020-12-29 16:51 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (elastic)


Note You need to log in before you can comment on or make changes to this bug.
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 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 2020-10-04 20:43:26 UTC
(In reply to Juraj Lutter from comment #1)

I'll mark this ticket as Open then. Thanks!