From owner-freebsd-bugs Mon Jun 24 21:50:26 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 707D337B40B for ; Mon, 24 Jun 2002 21:50:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5P4o1392832; Mon, 24 Jun 2002 21:50:01 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id B05D837B403 for ; Mon, 24 Jun 2002 21:40:36 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5P4eahG067217 for ; Mon, 24 Jun 2002 21:40:36 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g5P4eawY067216; Mon, 24 Jun 2002 21:40:36 -0700 (PDT) Message-Id: <200206250440.g5P4eawY067216@www.freebsd.org> Date: Mon, 24 Jun 2002 21:40:36 -0700 (PDT) From: WATANABE Yuichi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: conf/39825: /etc/rc.sendmail not appropriate configuration file evaluation 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: 39825 >Category: conf >Synopsis: /etc/rc.sendmail not appropriate configuration file evaluation >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 Jun 24 21:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: WATANABE Yuichi >Release: FreeBSD 4.6R >Organization: ASCII Corp. >Environment: FreeBSD oapc21.oa.ascii.co.jp 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 >Description: /etc/rc.sendmail evaluates configuraiton file, but this program evaluate only one file. this is not appropriate, I think. >How-To-Repeat: >Fix: # diff -c -r1.1 rc.sendmail *** rc.sendmail 2002/06/25 04:29:32 1.1 --- rc.sendmail 2002/06/25 04:30:08 *************** *** 43,49 **** if [ -r /etc/defaults/rc.conf ]; then . /etc/defaults/rc.conf source_rc_confs ! elif [ -r /etc/rc.conf ]; then . /etc/rc.conf fi --- 43,51 ---- if [ -r /etc/defaults/rc.conf ]; then . /etc/defaults/rc.conf source_rc_confs ! fi ! #elif [ -r /etc/rc.conf ]; then ! if [ -r /etc/rc.conf ]; then . /etc/rc.conf fi >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message