From owner-freebsd-ports Mon Mar 11 5: 0: 8 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D423737B41C for ; Mon, 11 Mar 2002 05:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2BD01s77301; Mon, 11 Mar 2002 05:00:01 -0800 (PST) (envelope-from gnats) Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id A1A3037B400 for ; Mon, 11 Mar 2002 04:53:36 -0800 (PST) Received: from melusine.cuivre.fr.eu.org (melusine.enst.fr [137.194.160.34]) by melchior.cuivre.fr.eu.org (Postfix) with ESMTP id 94CF878E9 for ; Mon, 11 Mar 2002 13:53:33 +0100 (CET) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id 9334B2C3D1; Mon, 11 Mar 2002 13:53:32 +0100 (CET) Message-Id: <20020311125332.9334B2C3D1@melusine.cuivre.fr.eu.org> Date: Mon, 11 Mar 2002 13:53:32 +0100 (CET) From: Thomas Quinot Reply-To: Thomas Quinot To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35775: mail/postfix: not started at boot time on -CURRENT Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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