From nobody Thu Mar 10 18:26:26 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 81B041A02D18 for ; Thu, 10 Mar 2022 18:26:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KDyFH2XJTz4j0j for ; Thu, 10 Mar 2022 18:26:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 332FA1D67 for ; Thu, 10 Mar 2022 18:26:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22AIQRMK094059 for ; Thu, 10 Mar 2022 18:26:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22AIQRCx094058 for ports-bugs@FreeBSD.org; Thu, 10 Mar 2022 18:26:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 262473] mail/opendkim: inconsistent PID handling in rc Date: Thu, 10 Mar 2022 18:26:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: contact@evilham.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646936787; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eudlTQ6nUEcd9GP4Xkb9BgCXnpdovs2bw/FsCVYy9zA=; b=GVyaMCJIdjjfk+ZpnOdvWFq+Y5zmyu/HXHR+BOGNhM8UlHfqLhZrmiXyLEv6fBCFIcC6tg lj/b78DJBfoWqsyN3ZJ4ZbB0e5bg5srVmFAzmykpWRpBFasEOL6gThK55lB6UxVWA34q1w VMpUbFZakdrJZyzoUS/74F1QddyX7a1h6AsAgVXy/zVSDbcfSiW42k/Fxh1MyuXW1LER7D iakNsMLwckqhagb3NjUfLbfPJoZuMVbv1UVw/2sdIWqiZuYFqr8RVF7natNaPy15jcxR39 2Ix71DKOB9Ia4PLnawf139uh1QB7BbYabPMZb2+ebqX1q86v0Kuifi6DTh8NZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646936787; a=rsa-sha256; cv=none; b=MByHlbBZWW2JJHJ7Ygm+a/Vkm4EIL3ghDr2Dbg5o1/9CWyWLQirdTpxTrXq6Iyi2m16has a1mkwN5y/ePsns/9Uqz9Ve/ZuoQGQXgOnsQsQb8YcX5YcpacpFlGqw4ypjWvFqe8rLook6 /CegiDtAfSzZLjeyrtZzNBq/ezF9tdQjKn67D6sCCJLeGxO11FmJ+Xl6LtxruReBh7X8X1 CCGx8EcV5/rZku4cYgifYmpi8BQ2BUw+DuEedIWarAhFEULQEYETu7wDopFOiyOLu+0nT0 3xiTu4g3d/1AGuBEa0eBisrrm4zsKe9Eb6qd5AVQc8E6SOEDoUR4y4u2iBgoGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262473 Bug ID: 262473 Summary: mail/opendkim: inconsistent PID handling in rc Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: contact@evilham.com CC: freebsd-ports@dan.me.uk CC: freebsd-ports@dan.me.uk Flags: maintainer-feedback?(freebsd-ports@dan.me.uk) I found a couple issues with the port that *might* be related to #258011 and certainly are related to #254762. Out of the box (after installing opendkim), the port behaves in a strange fashion when not using profiles. After some debugging, I came to realise that this is due to the rc script setting the PID file to: /var/run/milteropendkim/pid, where /var/run/milteropendkim is not created. Therefore `service milter-opendkim start` results in the process starting, = but status / restart / stop being useless (due to the PID not being created). This is the first issue. The second issue resulted when trying to force in the config: PidFile /var/run/opendkim.pid Which does not work as the rc script is lacking "dkim_get_pidfile" in the branch that handles a call without arguments and without profiles enabled. As a work-around, running mkdir /var/run/milteropendkim means that the serv= ice works, but these two issues exist in the port and should be solved. --=20 You are receiving this mail because: You are the assignee for the bug.=