From owner-freebsd-current Thu Apr 4 19: 7:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by hub.freebsd.org (Postfix) with ESMTP id 941AD37B425 for ; Thu, 4 Apr 2002 19:07:31 -0800 (PST) Received: from horsey.gshapiro.net (gshapiro@localhost [127.0.0.1]) by horsey.gshapiro.net (8.12.3.Gamma1/8.12.3.Gamma1) with ESMTP id g3537Vd9036670 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 4 Apr 2002 19:07:31 -0800 (PST) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.12.3.Gamma1/8.12.3.Gamma1/Submit) id g3537UHd036667; Thu, 4 Apr 2002 19:07:30 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15533.5362.782638.16561@horsey.gshapiro.net> Date: Thu, 4 Apr 2002 19:07:30 -0800 From: Gregory Neil Shapiro To: freebsd-current@freebsd.org Subject: Last round of sendmail startup changes in place X-Mailer: VM 7.00 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As discussed earlier in the mailing list, I've committed what will hopefully be the final round of sendmail startup changes: ------- start of forwarded message (RFC 934 encapsulation) ------- From: Gregory Neil Shapiro To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc rc src/etc/defaults rc.conf src/etc/mail Makefile src/etc/sendmail Makefile rc.sendmail src/share/man/man5 rc.conf.5 src/share/man/man8 Makefile rc.sendmail.8 Date: Thu, 4 Apr 2002 18:30:49 -0800 (PST) gshapiro 2002/04/04 18:30:49 PST Modified files: etc rc etc/defaults rc.conf etc/mail Makefile etc/sendmail Makefile share/man/man5 rc.conf.5 share/man/man8 Makefile Added files: etc/sendmail rc.sendmail share/man/man8 rc.sendmail.8 Log: Quoting Peter Wemm, "At great personal risk, touch the sendmail startup again." As an alternative to sendmail_enable=NONE, solve the boot time problem for non-sendmail users completely by moving all of the sendmail startup code from /etc/rc to /etc/rc.sendmail. The source for that script will be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will prevent it from being installed. A new rc.conf variable, mta_start_script specifies the script to run to start the user's preferred MTA. For backward compatibility, it will default to /etc/rc.sendmail. The specified script is called out of /etc/rc after checking to make sure it exists. A new rc.sendmail.8 man page has also been added which now houses the sendmail_* variable descriptions formerly in rc.conf.5. Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication. Reviewed by: -current, -stable, obrien, peter, ru MFC after: 1 week Revision Changes Path 1.142 +19 -10 src/etc/defaults/rc.conf 1.27 +38 -70 src/etc/mail/Makefile 1.308 +5 -39 src/etc/rc 1.16 +3 -1 src/etc/sendmail/Makefile 1.1 +193 -0 src/etc/sendmail/rc.sendmail (new) 1.160 +13 -105 src/share/man/man5/rc.conf.5 1.26 +4 -0 src/share/man/man8/Makefile 1.1 +241 -0 src/share/man/man8/rc.sendmail.8 (new) ------- end ------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message