From nobody@FreeBSD.org  Wed Jun 26 08:10:51 2002
Return-Path: <nobody@FreeBSD.org>
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 2ADA137B849
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Jun 2002 08:09:53 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g5QF9qOT033591
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Jun 2002 08:09:52 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g5QF9qQN033590;
	Wed, 26 Jun 2002 08:09:52 -0700 (PDT)
Message-Id: <200206261509.g5QF9qQN033590@www.freebsd.org>
Date: Wed, 26 Jun 2002 08:09:52 -0700 (PDT)
From: Phillip Nordwall <coldfire-freebsd@wcug.wwu.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /stand/sysinstall doesn't set sendmail_enable correctly in rc.conf
X-Send-Pr-Version: www-1.0

>Number:         39887
>Category:       conf
>Synopsis:       /stand/sysinstall doesn't set sendmail_enable correctly in rc.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    matusita
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 26 08:20:02 PDT 2002
>Closed-Date:    Mon Mar 28 22:31:37 GMT 2005
>Last-Modified:  Mon Mar 28 22:31:37 GMT 2005
>Originator:     Phillip Nordwall
>Release:        4.6-RELEASE
>Organization:
Western Washington University Computer Science
>Environment:
FreeBSD YYYY.wwu.edu 4.6-RELEASE FreeBSD 4.6-RELEASE #9: Tue Jun 18 11:14:28 GMT 2002     root@YYYY.wwu.edu:/usr/obj/usr/src/sys/MIN_KERNEL  i386
>Description:
     If you try to make it so that sendmail doesn't run using /stand/sysinstall, configure, networking, Sendmail (This machine wants to run sendmail) it puts an entry into /etc/rc.conf of
sendmail_enable="NO".
     Upon startup of the machine sendmail still runs. If you change the entry from
     sendmail_enable="NO"
to
     sendmail_enable="NONE"
sendmail won't start at startup.
>How-To-Repeat:
     Use /stand/sysinstall to make sure sendmail doesn't run. Take a look in /etc/rc.conf for
sendmail_enable="NO"
restart the machine, and sendmail will run.
>Fix:
      Change what /stand/sysinstall writes to /etc/rc.conf or change rc.sendmail to accept sendmail_enable="NO"
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: matusita 
State-Changed-When: Wed Jun 26 09:04:07 PDT 2002 
State-Changed-Why:  
It seems that originator doesn't use sysinstall as of 4.6-RELEASE. 
Waiting feedbacks. 


Responsible-Changed-From-To: freebsd-bugs->matusita 
Responsible-Changed-By: matusita 
Responsible-Changed-When: Wed Jun 26 09:04:07 PDT 2002 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39887 

From: Makoto Matsushita <matusita@jp.FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/39887: /stand/sysinstall doesn't set sendmail_enable
 correctly in rc.conf
Date: Thu, 27 Jun 2002 01:03:44 +0900

 coldfire-freebsd> If you try to make it so that sendmail doesn't run
 coldfire-freebsd> using /stand/sysinstall, configure, networking,
 coldfire-freebsd> Sendmail (This machine wants to run sendmail) it
 coldfire-freebsd> puts an entry into /etc/rc.conf of
 coldfire-freebsd> sendmail_enable="NO".
 
 I doubt if you are NOT using sysinstall bundled with 4.6-RELEASE.
 Would you please check where your sysinstall comes from?
 
 In 4.6-RELEASE's sysinstall, "Sendmail" item in "Network" menu is not
 a toggle option.  You can choice YES, NO, and NONE with additional menu.
 
 -- -
 Makoto `MAR' Matsushita
 

From: Jim Rees <rees@umich.edu>
To: freebsd-gnats-submit@FreeBSD.org, coldfire-freebsd@wcug.wwu.edu
Cc:  
Subject: Re: conf/39887: /stand/sysinstall doesn't set sendmail_enable correctly in rc.conf
Date: Wed, 26 Mar 2003 16:19:28 -0500

 This bug still exists in 5.0.  Phillip Nordwall's
 <coldfire-freebsd@wcug.wwu.edu> analysis and suggested solution is correct.
 
 I bought a FreeBSD 5.0 CD and installed it on a virgin machine, so there is
 no question as to which version of sysinstall I have.
 
 During the install, I said that I did not want sendmail, but when I
 rebooted, it was running.
 
 I suggest fixing /etc/rc.d/sendmail so it will accept "NO" in addition to
 "NONE".
 
 % grep sendmail /etc/rc.conf
 sendmail_enable="NO"
 % ps ax |grep sendmail
   406  ??  Ss     0:00.01 sendmail: accepting connections (sendmail)
   409  ??  Is     0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/client
 % cat /var/run/sendmail.pid
 406
 /usr/sbin/sendmail -L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost

From: Matteo Riondato <rionda@gufi.org>
To: freebsd-gnats-submit@freebsd.org
Cc: matusita@freebsd.org
Subject: Re: conf/39887
Date: Mon, 28 Mar 2005 21:32:22 +0200

 --jy6Sn24JjFx/iggw
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 I think this PR can be closed: I tried to reproduce it and I didn't
 suceeded. If I choose not to enable sendmail, I get
 "sendmail_enable=3D"NONE" in rc.conf.
 I think this was fixed on 2003/07/12 by throdes with revision 1.374 of
 src/usr.sbin/sysinstall/menus.c
 
 Best Regards
 
 --=20
 Rionda aka Matteo Riondato
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
 
 --jy6Sn24JjFx/iggw
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQFCSFvG2Mp4pR7Fa+wRAuLqAJ459SJxqutlw8DOje/8wVOKnVbrTgCffPFU
 7mrBhNjHNwaPGcyKHePe5q0=
 =7XiT
 -----END PGP SIGNATURE-----
 
 --jy6Sn24JjFx/iggw--
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Mar 28 22:30:03 GMT 2005 
State-Changed-Why:  
Reportedly fixed way back in 2003. 

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