NetBSD Problem Report #50049

From ef@math.uni-bonn.de  Tue Jul 14 14:54:47 2015
Return-Path: <ef@math.uni-bonn.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 7DD5AA5B2E
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 14 Jul 2015 14:54:47 +0000 (UTC)
Message-Id: <20150714145445.48A6E5526@jade.math.uni-bonn.de>
Date: Tue, 14 Jul 2015 16:54:45 +0200 (CEST)
From: ef@math.uni-bonn.de
Reply-To: ef@math.uni-bonn.de
To: gnats-bugs@gnats.NetBSD.org
Subject: mail/postfix/MESSAGE simplification
X-Send-Pr-Version: 3.95

>Number:         50049
>Category:       pkg
>Synopsis:       mail/postfix/MESSAGE simplification
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bsiegert
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 14 14:55:01 +0000 2015
>Closed-Date:    Mon Jul 27 06:15:46 +0000 2015
>Last-Modified:  Mon Jul 27 06:15:46 +0000 2015
>Originator:     Edgar Fuß
>Release:        pkrsrc-2014Q4
>Organization:
	Mathematisches Institut der Uni Bonn
>Environment:

>Description:
	mail/postfix/MESSAGE suggests to set
		start_cmd='/usr/pkg/sbin/postfix start'
		stop_cmd='/usr/pkg/sbin/postfix stop'
		reload_cmd='/usr/pkg/sbin/postfix reload'
	in /etc/rc.conf.d/postfix. However /etc/rc.d/postfix defines
		start_cmd="postfix_op"
		stop_cmd="postfix_op"
		reload_cmd="postfix_op"
	where postfix_op is
		postfix_op()
		{
			${postfix_command} ${rc_arg}
		}
	so since MESSAGE also suggests to set
	        postfix_command='/usr/pkg/sbin/postfix'
	changing {start,stop,reload}_cmd seem superflous.

>How-To-Repeat:
	cat mail/postfix/MESSAGE; cat /etc/rc.d/postfix
>Fix:
	Remove lines suggesting to set {start,stop,reload}_cmd from MESSAGE

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sun, 26 Jul 2015 15:19:33 +0000
Responsible-Changed-Why:
Taking this.


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50049 CVS commit: pkgsrc/mail/postfix
Date: Sun, 26 Jul 2015 15:53:11 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sun Jul 26 15:53:11 UTC 2015

 Modified Files:
 	pkgsrc/mail/postfix: MESSAGE.NetBSD Makefile

 Log Message:
 Simplify MESSAGE.NetBSD by removing {start,stop,reload}_cmd, which are
 unnecessary to set. From Edgar Fuss in PR pkg/50049.

 Bump revision.


 To generate a diff of this commit:
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/mail/postfix/MESSAGE.NetBSD
 cvs rdiff -u -r1.284 -r1.285 pkgsrc/mail/postfix/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Mon, 27 Jul 2015 06:15:46 +0000
State-Changed-Why:
Fix committed, thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.