ports/57074: mail/postfix pkg-message needs additional rc.conf entry.
Jonathan Chen
jonc at chen.org.nz
Mon Sep 22 02:10:17 UTC 2003
>Number: 57074
>Category: ports
>Synopsis: mail/postfix pkg-message needs additional rc.conf entry.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 21 19:10:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Jonathan Chen
>Release: FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD grimoire.chen.org.nz 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Thu Sep 18 20:42:35 NZST 2003 root at grimoire.chen.org.nz:/usr/obj/usr/src/sys/GRIMOIRE i386
>Description:
The pkg-message for mail/postfix port is missing the pid-file specification
for the rc.conf setup. Without this, we can't use:
# sh /etc/rc.sendmail stop
>How-To-Repeat:
With the recommended lines from pkg-message in /etc/rc.conf:
sendmail_enable="YES"
sendmail_flags="-bd"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
sendmail_msp_queue_enable="NO"
As root:
# sh /etc/rc.sendmail start
# sh /etc/rc.sendmail stop
A "ps ax" will reveal that the postfix procecess are still running.
>Fix:
Add the following line to /etc/rc.conf:
sendmail_pidfile="/var/spool/postfix/pid/master.pid"
This needs to be added to the pkg-message file.
--- pkg-message Mon Sep 22 13:54:26 2003
+++ pkg-message.orig Mon Sep 22 13:54:07 2003
@@ -4,7 +4,6 @@
sendmail_enable="YES"
sendmail_flags="-bd"
-sendmail_pidfile="/var/spool/postfix/pid/master.pid"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
sendmail_msp_queue_enable="NO"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list