Created attachment 251575 [details] Patch to pass -f to daemon Writing to stderr/stdout is not useful and can cause issues when "service alertmanager restart" is called from a forked process (as it keeps stderr/stdout open). In my case this caused processes to hand in "piperd".
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9ed9383601bf09428e220e755dcee344f2cbb9df commit 9ed9383601bf09428e220e755dcee344f2cbb9df Author: Michael Gmelin <grembo@FreeBSD.org> AuthorDate: 2024-07-12 13:41:43 +0000 Commit: Michael Gmelin <grembo@FreeBSD.org> CommitDate: 2024-07-12 14:16:02 +0000 net-mgmt/alertmanager: Make daemon close file descriptors on start Prevents alertmanager from hanging in piperd. PR: 279862 Approved by: maintainer timeout net-mgmt/alertmanager/files/alertmanager.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)