[Bug 292404] mail/mailman3: Update rc.d script

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 12 Jan 2026 14:10:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292404

            Bug ID: 292404
           Summary: mail/mailman3: Update rc.d script
           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: einar@isnic.is

The mailman rc.d script has two problems:

`service mailman start` prints ugly error if the service is already started

`service mailman status` returns code 0 if the service is not running, 1 if it
is running (see
https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/bin/master.py#L105)
This causes problems with tools like ansible, where the service module assumes
rc 1 means that the service isn't running and 0 that it is.

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