Bug 249142

Summary: sysutils/beats7: filebeat rc.d script missing -f flag to daemon
Product: Ports & Packages Reporter: bgdnlp <freebsd.org>
Component: Individual Port(s)Assignee: freebsd-elastic (Nobody) <elastic>
Status: Closed FIXED    
Severity: Affects Some People CC: mandree, otis
Priority: --- Flags: otis: maintainer-feedback+
Version: Latest   
Hardware: amd64   
OS: Any   
Bug Depends on: 249109    
Bug Blocks:    

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 freebsd_committer freebsd_triage 2020-09-06 10:49:48 UTC
This should be fixed via #249109
Comment 2 Juraj Lutter freebsd_committer freebsd_triage 2020-09-19 22:31:13 UTC
Fixed via #249109