NetBSD Problem Report #60954
From www@netbsd.org Mon Nov 2 13:13:41 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id A5BFD1A923B
for <gnats-bugs@gnats.NetBSD.org>; Mon, 2 Nov 2026 13:13:41 +0000 (UTC)
Message-Id: <20261102131340.51D581A923C@mollari.NetBSD.org>
Date: Mon, 2 Nov 2026 13:13:40 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: opendkim: rc.d script lacks reload command
X-Send-Pr-Version: www-1.0
X-From4GNATS: "campbell+netbsd@mumble.net via gnats" <gnats-admin@NetBSD.org>
>Number: 60954
>Category: pkg
>Synopsis: opendkim: rc.d script lacks reload command
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 02 13:15:00 +0000 2026
>Last-Modified: Mon Nov 02 15:00:02 +0000 2026
>Originator: Taylor R Campbell
>Release: current, 2026Q3, ...
>Organization:
The NetBSDKIM Reloader, Inc.
>Environment:
>Description:
The opendkim(8) daemon (or `filter', as it calls itself in the
man page, referring to its nature as a milter, or mail filter)
responds to SIGUSR1 by reloading its configuration file (and,
as verified by ktrace, key table and signing table):
> Upon receiving SIGUSR1, if the filter was started with a configuration
> file, it will be re-read and the new values used. Note that any
> command line overrides provided at startup time will be lost when this
> is done. Also, the following configuration file values (and their
> corresponding command line items, if any) are not reloaded through this
> process: AutoRestart (-A), AutoRestartCount, AutoRestartRate,
> Background, MilterDebug, PidFile (-P), POPDBFile, Quarantine (-q),
> QueryCache, Socket (-p), StrictTestMode, TestPublicKeys, UMask, UserID
> (-u). The filter does not automatically check the configuration file
> for changes and reload.
However, the rc.d script that pkgsrc ships doesn't support a
`reload' command so that `service opendkim reload' works.
>How-To-Repeat:
write a script that pokes opendkim(8) to reload its key table
and signing table on rotation of dkim keys
>Fix:
extra_commands="reload"
sig_reload="USR1"
>Audit-Trail:
From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/60954 CVS commit: pkgsrc/mail/opendkim
Date: Mon, 2 Nov 2026 14:55:21 +0000
Module Name: pkgsrc
Committed By: riastradh
Date: Mon Nov 2 14:55:21 UTC 2026
Modified Files:
pkgsrc/mail/opendkim: Makefile
pkgsrc/mail/opendkim/files: opendkim.sh
Log Message:
mail/opendkim: Teach rc.d script to handle `reload' command.
PR pkg/60954: opendkim: rc.d script lacks reload command
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/mail/opendkim/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mail/opendkim/files/opendkim.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(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.