[Bug 277003] security/munge: service munged restart sometimes fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 12 Feb 2024 14:00:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277003

            Bug ID: 277003
           Summary: security/munge: service munged restart sometimes fails
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: jwb@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org

Created attachment 248391
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248391&action=edit
Unified diff for more robust RC script

The problem is that the munged_stop() function does not wait until the kill
completes.  This can cause start to fail with "munged already running" when the
system is heavily loaded and kill is slower than usual.  Attaching a patch for
a more robust RC script.

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