Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jun 2024 00:29:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255271] Cosmetic: service -e lists sendmail if sendmail_enable="NONE"
Message-ID:  <bug-255271-227-EE1TpqMZ6W@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255271-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255271-227-EE1TpqMZ6W>