Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  2 Sep 2002 14:37:48 -0400 (EDT)
From:      root@wlaptop.slackerbsd.org (Administrator)
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/42324: rc.subr complains with sendmail_enable="NONE"
Message-ID:  <20020902183748.B3868416A@wlaptop.slackerbsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         42324
>Category:       conf
>Synopsis:       rc.subr complains with sendmail_enable="NONE"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 02 07:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Carl Schmidt
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD wlaptop.slackerbsd.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Sep 2 12:57:19 EDT 2002 root@wlaptop.slackerbsd.org:/usr/obj/usr/src/sys/LAPTOP i386

>Description:
/etc/rc.subr complains about our sendmail_enable="NONE" option because
checkyesno() does not account for NONE.  I receive a message which follows:
/etc/rc: WARNING: $sendmail_enable is not set properly.

>How-To-Repeat:
Use sendmail_enable="NONE" in rc.conf.

>Fix:
--- rc.subr.diff begins here ---
--- rc.subr.old	Mon Sep  2 14:15:33 2002
+++ rc.subr	Mon Sep  2 14:15:42 2002
@@ -127,7 +127,7 @@
 		;;
 
 		#	"no", "false", "off", or "0"
-	[Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0)
+	[Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|[Nn][Oo][Nn][Ee]|0)
 		return 1
 		;;
 	*)
--- rc.subr.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
 To: FreeBSD-gnats-submit@freebsd.org
 Subject: rc.subr complains with sendmail_enable="NONE"
 From: Carl Schmidt <carl@slackerbsd.org>
 Reply-To: Carl Schmidt <carl@slackerbsd.org>
 Cc: 
 X-send-pr-version: 3.113
 X-GNATS-Notify: 
 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020902183748.B3868416A>