Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 13:53:32 +0100 (CET)
From:      Thomas Quinot <thomas@cuivre.fr.eu.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35775: mail/postfix: not started at boot time on -CURRENT
Message-ID:  <20020311125332.9334B2C3D1@melusine.cuivre.fr.eu.org>

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

>Number:         35775
>Category:       ports
>Synopsis:       mail/postfix: not started at boot time on -CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 11 05:00:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Quinot
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD shalmaneser.enst.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #4: Thu Feb 28 18:08:36 CET 2002     quinot@shalmaneser.enst.fr:/usr/obj/usr/src/sys/SHALMANESER  i386


	
>Description:
	On -CURRENT, the system version of Sendmail has been upgraded
	to 8.12.2. The command line interface /usr/sbin/sendmail has
	changed with that version, which means that when sendmail_enable
	is YES, rc.network runs '/usr/sbin/sendmail -L VariousStuff -q30m'
	to launch the various Sendmail server processes (now splitted)
	instead of '/usr/sbin/sendmail -bd -q30m' as was the case before
	the upgrade.
	
	The /usr/local/sbin/sendmail compatibility interface provided
	by Postfix supported the old syntax, but not the new one.
	Consequently, on sites that use Postfix, have sendmail_enable
	set to YES and do not explicitly set sendmail_flags, Postfix
	startup will now fail with a usage error.

>How-To-Repeat:
	Install Postfix port.
	In /etc/rc.conf, define only 'sendmail_enable=YES'
	Observe that Postfix is not started at boot time as it used
	to be before src/etc/defaults/rc.conf rev. 1.138 was committed.
>Fix:
	Possible fixes include:
	- advising users of the Postfix port that they have to set
	  sendmail_flags explicitly to '-bd';

	- providing a /usr/local/etc/rc.d startup script (which could
	  be as simple as 'exec /usr/local/sbin/postfix "$1"')
	  and advise users to set sendmail_enable to NO;

	- having Wietse upgrade the compatibility binary to support
	  the new Sendmail syntax.

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020311125332.9334B2C3D1>