From owner-freebsd-rc@FreeBSD.ORG Sat Feb 13 19:00:20 2010 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8919A106566C for ; Sat, 13 Feb 2010 19:00:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 602E18FC15 for ; Sat, 13 Feb 2010 19:00:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1DJ0Kde080614 for ; Sat, 13 Feb 2010 19:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1DJ0Khw080613; Sat, 13 Feb 2010 19:00:20 GMT (envelope-from gnats) Date: Sat, 13 Feb 2010 19:00:20 GMT Message-Id: <201002131900.o1DJ0Khw080613@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Garrett Cooper Cc: Subject: Re: conf/143851: [patch] Some rc.d scripts confuse NO with NONE X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Garrett Cooper List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2010 19:00:20 -0000 The following reply was made to PR conf/143851; it has been noted by GNATS. From: Garrett Cooper To: bug-followup@FreeBSD.org, mah@jump-ing.de Cc: Subject: Re: conf/143851: [patch] Some rc.d scripts confuse NO with NONE Date: Sat, 13 Feb 2010 10:55:53 -0800 As noted by brucec, the rc.sendmail(8) manpage already mentions NO vs NONE's use: sendmail_enable (str) If set to ``YES'', run the sendmail(8) daemon at system boot time. If set to ``NO'', do not run a sendmail(8) daemon to listen for incoming network mail. This does not preclude a sendmail(8) daemon listening on the SMTP port of the loopback interface. The ``NONE'' option is deprecated and should not be used. It will be removed in a future release. # ... # MTA if (${sendmail_enable} == NONE) # Do nothing else if (${sendmail_enable} == YES) start sendmail with ${sendmail_flags} else if (${sendmail_submit_enable} == YES) start sendmail with ${sendmail_submit_flags} else if (${sendmail_outbound_enable} == YES) start sendmail with ${sendmail_outbound_flags} endif # MSP Queue Runner if (${sendmail_enable} != NONE && [ -r /etc/mail/submit.cf] && ${sendmail_msp_queue_enable} == YES) start sendmail with ${sendmail_msp_queue_flags} endif So the option can be removed eventually, but not today... Thanks, -Garrett