[Bug 255271] Cosmetic: service -e lists sendmail if sendmail_enable="NONE"

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 07 Jun 2024 00:29:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255271

Marcin Cieślak <saper@saper.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |saper@saper.info

--- Comment #2 from Marcin Cieślak <saper@saper.info> ---
Saw this reported today on #FreeBSD on libera.chat.

Looks like it is confused by the fact that /etc/rc.d/sendmail has name="..."
and rcvar="..." twice.

> grep ^name= /etc/rc.d/sendmail 
name="sendmail"
name="sendmail_msp_queue"

Therefore addding sendmail_msp_queue=NO makes "service -e" to believe the
sendmail is no longer enabled.

Good that the manpage explains the heuristic used to detect enabled services...

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