Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 2013 21:06:20 GMT
From:      Doug Barton <dougb@dougbarton.us>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/180182: mail/postgrey rc.d script missing rcvar
Message-ID:  <201307012106.r61L6K42077618@oldred.freebsd.org>
Resent-Message-ID: <201307012110.r61LA0sf011693@freefall.freebsd.org>

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

>Number:         180182
>Category:       ports
>Synopsis:       mail/postgrey rc.d script missing rcvar
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 01 21:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Doug Barton
>Release:        DNA
>Organization:
AAAG
>Environment:
DNA
>Description:
In r319058 madpilot inappropriate removed the rcvar assignment in this script, causing it to start unconditionally.
>How-To-Repeat:
Install the port, restart the system
>Fix:
Apply the following patch:

Patch attached with submission follows:

Index: postgrey.in
===================================================================
--- postgrey.in	(revision 322145)
+++ postgrey.in	(working copy)
@@ -1,12 +1,12 @@
 #!/bin/sh
+
 # $FreeBSD$
 #
-
 # PROVIDE: postgrey
 # REQUIRE: LOGIN
 # BEFORE: mail
 # KEYWORD: shutdown
-
+#
 # Add the following lines to /etc/rc.conf to enable postgrey:
 #
 # postgrey_enable (bool)        Set to 'YES' to enable
@@ -25,6 +25,7 @@
 . /etc/rc.subr
 
 name=postgrey
+rcvar=postgrey_enable
 
 load_rc_config $name
 


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



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