Date: Mon, 5 Aug 2002 20:01:09 -0700 (PDT) From: Evan Reisman <ebreis@optonline.net> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/41365: Case statement in "start_mta()" function in rc.sendmail conflicts with rc.conf Message-ID: <200208060301.g76319Pw048733@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 41365
>Category: misc
>Synopsis: Case statement in "start_mta()" function in rc.sendmail conflicts with rc.conf
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 05 20:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Evan Reisman
>Release: 4.6
>Organization:
>Environment:
N/A
>Description:
The case statement in the start_mta() and start_mspq() functions in rc.sendmail requires the condition [Nn][Oo][Nn][Ee] instead of the condition [Nn][Oo] which is established during the install in rc.conf. Thus, sendmail starts even if configure as sendmail_enable="NO'' in rc.conf. In the case of a machine that does not have a domain name, the startup hangs while sendmail tries to resolve name - must press control-c to pass hangup.
>How-To-Repeat:
N/A
>Fix:
Change both case statements in the functions to act on the condition [Nn][Oo] instead of [Nn][Oo][Nn][Ee]
>Release-Note:
>Audit-Trail:
>Unformatted:
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?200208060301.g76319Pw048733>
