Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 01:03:57 -0700 (PDT)
From:      Hideyuki Inada <hideyuki@capitolacomputing.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/39142: Even if you specify sendmail_enable="NO" in file "/etc/rc.conf", sendmail service still starts at boot time
Message-ID:  <200206110803.g5B83va3052954@www.freebsd.org>

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


>Number:         39142
>Category:       conf
>Synopsis:       Even if you specify sendmail_enable="NO" in file "/etc/rc.conf", sendmail service still starts at boot time
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 11 01:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hideyuki Inada
>Release:        4.6 RC2
>Organization:
Capitola Computing Inc.
>Environment:
FreeBSD davenport.capitolacomputing.com 4.6-RC2 FreeBSD 4.6-RC2 #0: Sat May 18 05:10:05 GMT 2002     root@storm.FreeBSD.org.uk:/usr/src/sys/compile/GENERIC  i386
      
>Description:
Even if you specify :
sendmail_enable="NO"
in file "/etc/rc.conf", sendmail service still starts at boot time.      
>How-To-Repeat:
1. In /etc/rc.conf, specify
sendmail_enable="NO"

2. Reboot the system
3. Verify that sendmail service has started by typing:
ps aux | grep sendmail      
>Fix:
The problem can be fixed by making the following changes in the file "/etc/rc":

CURRENT:

case ${mta_start_script} in
/*)
	if [ -r ${mta_start_script} ]; then
		sh ${mta_start_script}
	fi
	;;
esac

WITH FIX:

case ${sendmail_enable} in
[Yy][Ee][Ss])
	if [ -r ${mta_start_script} ]; then
		sh ${mta_start_script}
	fi
	;;
esac      
>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?200206110803.g5B83va3052954>