[Bug 279862] net-mgmt/alertmanager: Make daemon close file descriptors on start

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 19 Jun 2024 14:47:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279862

            Bug ID: 279862
           Summary: net-mgmt/alertmanager: Make daemon close file
                    descriptors on start
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: grembo@FreeBSD.org
                CC: michal@hanu.la
                CC: michal@hanu.la
             Flags: maintainer-feedback?(michal@hanu.la)
 Attachment #251575 maintainer-approval?
             Flags:

Created attachment 251575
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251575&action=edit
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".

-- 
You are receiving this mail because:
You are the assignee for the bug.