[Bug 281926] security/crowdsec: important but tricky update to 1.6.3-2

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Oct 2024 14:47:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281926

            Bug ID: 281926
           Summary: security/crowdsec: important but tricky update to
                    1.6.3-2
           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: marco@crowdsec.net
 Attachment #254075 maintainer-approval+
             Flags:

Created attachment 254075
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254075&action=edit
patch for 1.6.3-2

Unfortunately, in the attempt to solve a process management issue, version
1.6.3 made things worse and it now kills the "sbin/daemon" process without
giving it a chance to terminate crowdsec itself.

So when in 1.6.3-1 the command "service crowdsec stop" is run, it just hangs on
wait_for_pids because the process was never sent a signal.

While this patch sends the correct signals directly, upgrading means having to
terminate the crowdsec process by hand.

Has this situation ever occcured and is there a solution?

Thanks

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