Bug 249142 - sysutils/beats7: filebeat rc.d script missing -f flag to daemon
Summary: sysutils/beats7: filebeat rc.d script missing -f flag to daemon
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-elastic (Nobody)
Depends on:
Reported: 2020-09-06 07:48 UTC by bgdnlp
Modified: 2020-09-19 22:31 UTC (History)
1 user (show)

See Also:
juraj: maintainer-feedback+


Note You need to log in before you can comment on or make changes to this bug.
Description bgdnlp 2020-09-06 07:48:02 UTC
The rc.d filebeat script should probably pass the -f flag to daemon command, which would send stdout and stderr to /dev/null. Because it's missing, at lest SaltStack is hanging indefinitely on service start/restart. See https://github.com/saltstack/salt/issues/47445:

> I've found the problem. The rc.d script was not written properly. The command /usr/sbin/daemon should have '-f' flag to redirect stdout to /dev/null.
Comment 1 Juraj Lutter 2020-09-06 10:49:48 UTC
This should be fixed via #249109
Comment 2 Juraj Lutter 2020-09-19 22:31:13 UTC
Fixed via #249109