NetBSD Problem Report #54709

From kardel@kardel.name  Fri Nov 22 08:04:41 2019
Return-Path: <kardel@kardel.name>
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 274B57A160
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 22 Nov 2019 08:04:41 +0000 (UTC)
Message-Id: <20191122080438.4728328C9D2@mail.kardel.name>
Date: Fri, 22 Nov 2019 08:04:38 +0000 (UTC)
From: kardel@netbsd.org
Reply-To: kardel@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: /etc/rc.d/dhcpd restart hangs - dhcpd ignores SIGTERM
X-Send-Pr-Version: 3.95

>Number:         54709
>Category:       bin
>Synopsis:       /etc/rc.d/dhcpd restart hangs - dhcpd ignores SIGTERM
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 22 08:05:00 +0000 2019
>Closed-Date:    Fri Apr 24 13:40:34 +0000 2020
>Last-Modified:  Fri Apr 24 13:40:34 +0000 2020
>Originator:     Frank Kardel
>Release:        NetBSD 9.0_BETA
>Organization:

>Environment:


System: NetBSD sunaj 9.0_BETA NetBSD 9.0_BETA (ROUTER) #0: Tue Nov 19 13:18:54 UTC 2019 kardel@:/src/NetBSD/n9/src/obj.amd64/sys/arch/amd64/compile/ROUTER amd64
Architecture: x86_64
Machine: amd64
>Description:
	dhcpd does not honor SIGTERM any more, thus "/etc/rc.d/dhcpd restart" hangs.
>How-To-Repeat:
	Try to restart a running dhcpd with "/etc/rc.d/dhcpd restart".
	Watch /etc/rc.d/dhcpd waiting....
>Fix:
	inappropriate workaround: use kill -9

>Release-Note:

>Audit-Trail:
From: Tobias Nygren <tnn@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: bin/54709: /etc/rc.d/dhcpd restart hangs - dhcpd ignores
 SIGTERM
Date: Fri, 22 Nov 2019 14:45:23 +0100

 On Fri, 22 Nov 2019 08:05:00 +0000 (UTC)
 kardel@netbsd.org wrote:

 > 	dhcpd does not honor SIGTERM any more, thus "/etc/rc.d/dhcpd restart" hangs.

 I believe it's a libisc incompatibility. It has been this way since
 some bind update a while back.

State-Changed-From-To: open->closed
State-Changed-By: christos@NetBSD.org
State-Changed-When: Sun, 29 Dec 2019 12:29:57 -0500
State-Changed-Why:
RCS file: /cvsroot/src/external/mpl/bind/dist/lib/isc/unix/app.c,v
Working file: unix/app.c
head: 1.5


State-Changed-From-To: closed->needs-pullups
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 29 Dec 2019 18:15:02 +0000
State-Changed-Why:
report against -9


State-Changed-From-To: needs-pullups->pending-pullups
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 29 Dec 2019 18:23:18 +0000
State-Changed-Why:
netbsd-9 #591


State-Changed-From-To: pending-pullups->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Fri, 24 Apr 2020 13:40:34 +0000
State-Changed-Why:
Pulled up. Thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.