NetBSD Problem Report #55244
From www@netbsd.org Fri May 8 05:05:32 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 9B1FB1A9213
for <gnats-bugs@gnats.NetBSD.org>; Fri, 8 May 2020 05:05:32 +0000 (UTC)
Message-Id: <20200508050531.AB2181A921E@mollari.NetBSD.org>
Date: Fri, 8 May 2020 05:05:31 +0000 (UTC)
From: hasan.diwan+netbsd@gmail.com
Reply-To: hasan.diwan+netbsd@gmail.com
To: gnats-bugs@NetBSD.org
Subject: openntpd start script stop command doesn't work
X-Send-Pr-Version: www-1.0
>Number: 55244
>Category: pkg
>Synopsis: openntpd start script stop command doesn't work
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 08 05:10:00 +0000 2020
>Closed-Date: Tue Jul 13 18:50:26 +0000 2021
>Last-Modified: Tue Jul 13 18:50:26 +0000 2021
>Originator: Hasan Diwan
>Release: 9.0
>Organization:
>Environment:
NetBSD localhost 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
openntpd's process id isn't written to /var/run/ntpd.pid properly.
>How-To-Repeat:
[as root]
# /etc/rc.d/openntpd stop
# ps ax | grep ntpd
>Fix:
write the pid to the runtime file correctly
>Release-Note:
>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/55244 CVS commit: pkgsrc/net/openntpd
Date: Sat, 10 Jul 2021 18:32:15 +0000
Module Name: pkgsrc
Committed By: dholland
Date: Sat Jul 10 18:32:15 UTC 2021
Modified Files:
pkgsrc/net/openntpd: Makefile
pkgsrc/net/openntpd/files: openntpd.sh
Log Message:
net/openntpd: make the rc script set the pidfile.
Seems the daemon writes no pid file unless explicitly told where.
Fixes PR 55244. PKGREVISION -> 1.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/net/openntpd/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/net/openntpd/files/openntpd.sh
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: dholland@NetBSD.org
State-Changed-When: Tue, 13 Jul 2021 18:50:26 +0000
State-Changed-Why:
fixed
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.