ports/162426: mail/postgrey bad postgrey_options default in rc.d file

Volker Werth vwe at FreeBSD.org
Thu Nov 10 07:20:08 UTC 2011


>Number:         162426
>Category:       ports
>Synopsis:       mail/postgrey bad postgrey_options default in rc.d file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 10 07:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Volker Werth
>Release:        8-STABLE
>Organization:
>Environment:
>Description:
update to postgrey 1.34_1 gives the following error message when running the rc.d file /usr/local/etc/rc.d/postgrey

Unknown option: inet:10023
/usr/local/etc/rc.d/postgrey: WARNING: failed to start postgrey

The issue has been already reported by hijacking a different PR - see ports/162188
>How-To-Repeat:
install / update postgrey to 1.34_1
>Fix:
To fix this, either use attached patch (mail/postgrey/files/postgrey.in) as a permanent fix or (the administrator may) temporarily set the following line in /etc/rc.conf:

postgrey_options="--inet=10023"

Patch attached with submission follows:

--- files/postgrey.in.orig	2011-11-10 07:45:30.835645415 +0100
+++ files/postgrey.in	2011-11-10 07:45:44.695692170 +0100
@@ -38,7 +38,7 @@
 
 postgrey_dbdir=${postgrey_dbdir:-"%%DBDIR%%"}
 postgrey_enable=${postgrey_enable:-"NO"}
-postgrey_options=${postgrey_options:-"--inet:10023"}
+postgrey_options=${postgrey_options:-"--inet=10023"}
 postgrey_pidfile=${postgrey_pidfile:-"/var/run/postgrey.pid"}
 postgrey_flags=${postgrey_flags:-"-d --pidfile=${postgrey_pidfile} \
 	--dbdir=${postgrey_dbdir} ${postgrey_options}"}


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



More information about the freebsd-ports-bugs mailing list