Date: Mon, 24 Jun 2002 21:40:36 -0700 (PDT) From: WATANABE Yuichi <yuu-w@ascii.co.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/39825: /etc/rc.sendmail not appropriate configuration file evaluation Message-ID: <200206250440.g5P4eawY067216@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206250440.g5P4eawY067216>
