Date: Thu, 4 Apr 2002 19:07:30 -0800 From: Gregory Neil Shapiro <gshapiro@freebsd.org> To: freebsd-current@freebsd.org Subject: Last round of sendmail startup changes in place Message-ID: <15533.5362.782638.16561@horsey.gshapiro.net>
next in thread | raw e-mail | index | archive | help
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 <gshapiro@FreeBSD.org>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15533.5362.782638.16561>
