From nobody@www.freebsd.org  Tue Jun 11 01:03:57 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 3A04B37B406
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 11 Jun 2002 01:03:57 -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 g5B83vhG052955
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 11 Jun 2002 01:03:57 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g5B83va3052954;
	Tue, 11 Jun 2002 01:03:57 -0700 (PDT)
Message-Id: <200206110803.g5B83va3052954@www.freebsd.org>
Date: Tue, 11 Jun 2002 01:03:57 -0700 (PDT)
From: Hideyuki Inada <hideyuki@capitolacomputing.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Even if you specify sendmail_enable="NO" in file "/etc/rc.conf", sendmail service still starts at boot time
X-Send-Pr-Version: www-1.0

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 11 01:10:01 PDT 2002
>Closed-Date:    Tue Jun 11 16:31:19 PDT 2002
>Last-Modified:  Tue Jun 11 16:31:19 PDT 2002
>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:

From: Mike Makonnen <makonnen@pacbell.net>
To: Hideyuki Inada <hideyuki@capitolacomputing.com>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: conf/39142: Even if you specify sendmail_enable="NO" in file
 "/etc/rc.conf", sendmail service still starts at boot time
Date: Tue, 11 Jun 2002 01:58:40 -0700

 On Tue, 11 Jun 2002 01:03:57 -0700 (PDT)
 Hideyuki Inada <hideyuki@capitolacomputing.com> wrote:
 
 > >Description:
 > Even if you specify :
 > sendmail_enable="NO"
 > in file "/etc/rc.conf", sendmail service still starts at boot time.      
 
 You should read /usr/src/UPDATING, specificaly, the entry for 20020404.
 
 Basically, you have to specify sendmail_enable="NONE"
 
 
 Cheers,
 Mike Makonnen

From: Peter Pentchev <roam@ringlet.net>
To: Mike Makonnen <makonnen@pacbell.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: conf/39142: Even if you specify sendmail_enable="NO" in file "/etc/rc.conf", sendmail service still starts at boot time
Date: Tue, 11 Jun 2002 13:52:45 +0300

 On Tue, Jun 11, 2002 at 02:00:09AM -0700, Mike Makonnen wrote:
 > The following reply was made to PR conf/39142; it has been noted by GNATS.
 > 
 > From: Mike Makonnen <makonnen@pacbell.net>
 > To: Hideyuki Inada <hideyuki@capitolacomputing.com>
 > Cc: freebsd-gnats-submit@FreeBSD.ORG
 > Subject: Re: conf/39142: Even if you specify sendmail_enable="NO" in file
 >  "/etc/rc.conf", sendmail service still starts at boot time
 > Date: Tue, 11 Jun 2002 01:58:40 -0700
 > 
 >  On Tue, 11 Jun 2002 01:03:57 -0700 (PDT)
 >  Hideyuki Inada <hideyuki@capitolacomputing.com> wrote:
 >  
 >  > >Description:
 >  > Even if you specify :
 >  > sendmail_enable="NO"
 >  > in file "/etc/rc.conf", sendmail service still starts at boot time.      
 >  
 >  You should read /usr/src/UPDATING, specificaly, the entry for 20020404.
 >  
 >  Basically, you have to specify sendmail_enable="NONE"
 
 Or, alternatively -- or rather, not alternatively, but the recommended
 way -- mta_startup_script="", as noted in UPDATING 20020411 :)
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 This sentence every third, but it still comprehensible.

From: Mike Makonnen <makonnen@pacbell.net>
To: Peter Pentchev <roam@ringlet.net>
Cc: bug-followup@FreeBSD.ORG
Subject: Re: conf/39142: Even if you specify sendmail_enable="NO" in file
 "/etc/rc.conf", sendmail service still starts at boot time
Date: Tue, 11 Jun 2002 06:44:41 -0700

 On Tue, 11 Jun 2002 13:52:45 +0300
 Peter Pentchev <roam@ringlet.net> wrote:
 
 
 > >  You should read /usr/src/UPDATING, specificaly, the entry for 20020404.
 > >  
 > >  Basically, you have to specify sendmail_enable="NONE"
 > 
 > Or, alternatively -- or rather, not alternatively, but the recommended
 > way -- mta_startup_script="", as noted in UPDATING 20020411 :)
 
 huh? is that a typo or does your UPDATING have something mine doesn't? 
 I can't find an entry for 20020411.
 The part about the mta_startup_script being empty is in 20020404, but it doesn't
 say that it's the prefered way.
 
 I'm not arguing, just curious :-)
 
 Cheers,
 Mike Makonnen

From: Peter Pentchev <roam@ringlet.net>
To: Mike Makonnen <makonnen@pacbell.net>
Cc: bug-followup@FreeBSD.ORG
Subject: Re: conf/39142: Even if you specify sendmail_enable="NO" in file "/etc/rc.conf", sendmail service still starts at boot time
Date: Tue, 11 Jun 2002 17:21:06 +0300

 On Tue, Jun 11, 2002 at 06:44:41AM -0700, Mike Makonnen wrote:
 > On Tue, 11 Jun 2002 13:52:45 +0300
 > Peter Pentchev <roam@ringlet.net> wrote:
 > 
 > 
 > > >  You should read /usr/src/UPDATING, specificaly, the entry for 20020404.
 > > >  
 > > >  Basically, you have to specify sendmail_enable="NONE"
 > > 
 > > Or, alternatively -- or rather, not alternatively, but the recommended
 > > way -- mta_startup_script="", as noted in UPDATING 20020411 :)
 > 
 > huh? is that a typo or does your UPDATING have something mine doesn't? 
 > I can't find an entry for 20020411.
 > The part about the mta_startup_script being empty is in 20020404, but it doesn't
 > say that it's the prefered way.
 > 
 > I'm not arguing, just curious :-)
 
 Ah, well, you see, I'm referring to the 4.x-STABLE's src/UPDATING, where
 the mta_startup_script entry is at 20020411 :)  I just looked at
 CURRENT's UPDATING file, and there it is at 20020404 indeed.
 
 I just happened to notice that the PR submitter listed -STABLE as the OS
 he was running, not -CURRENT, so I thought I would point him at the
 correct entry in -STABLE's UPDATING file, 's all :)
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 If this sentence were in Chinese, it would say something else.
State-Changed-From-To: open->closed 
State-Changed-By: gshapiro 
State-Changed-When: Tue Jun 11 16:30:04 PDT 2002 
State-Changed-Why:  
I believe the comments on this one have answered the submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39142 
>Unformatted:
