From owner-freebsd-bugs Mon Aug 5 20:10: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCA3337B400 for ; Mon, 5 Aug 2002 20:10:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 279C543E65 for ; Mon, 5 Aug 2002 20:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g763A1JU030420 for ; Mon, 5 Aug 2002 20:10:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g763A1oC030419; Mon, 5 Aug 2002 20:10:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B007A37B401 for ; Mon, 5 Aug 2002 20:01:09 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74E0843E4A for ; Mon, 5 Aug 2002 20:01:09 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g76319OT048734 for ; Mon, 5 Aug 2002 20:01:09 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g76319Pw048733; Mon, 5 Aug 2002 20:01:09 -0700 (PDT) Message-Id: <200208060301.g76319Pw048733@www.freebsd.org> Date: Mon, 5 Aug 2002 20:01:09 -0700 (PDT) From: Evan Reisman To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/41365: Case statement in "start_mta()" function in rc.sendmail conflicts with rc.conf Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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