From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 4 14:30:19 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79E8716A518 for ; Wed, 4 Oct 2006 14:30:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61C2443D4C for ; Wed, 4 Oct 2006 14:30:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k94EUIer093938 for ; Wed, 4 Oct 2006 14:30:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k94EUIn3093933; Wed, 4 Oct 2006 14:30:18 GMT (envelope-from gnats) Resent-Date: Wed, 4 Oct 2006 14:30:18 GMT Resent-Message-Id: <200610041430.k94EUIn3093933@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vivek Khera Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21FC816A5B6 for ; Wed, 4 Oct 2006 14:24:24 +0000 (UTC) (envelope-from vivek@kcilink.com) Received: from lorax.kcilink.com (lorax.kciLink.com [206.112.95.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF06143D70 for ; Wed, 4 Oct 2006 14:24:13 +0000 (GMT) (envelope-from vivek@kcilink.com) Received: from localhost (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id 5E2C5118DF for ; Wed, 4 Oct 2006 10:24:12 -0400 (EDT) Received: from lorax.kcilink.com ([127.0.0.1]) by localhost (lorax.kcilink.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DHjxTx6s4qvl for ; Wed, 4 Oct 2006 10:24:11 -0400 (EDT) Received: from bluefish.kcilink.com (bluefish-prv.kcilink.com [192.168.100.56]) by lorax.kcilink.com (Postfix) with SMTP id 1111311524 for ; Wed, 4 Oct 2006 10:24:11 -0400 (EDT) Received: (nullmailer pid 10354 invoked by uid 120); Wed, 04 Oct 2006 14:24:11 -0000 Message-Id: <1159971851.050906.8099.nullmailer@bluefish.kcilink.com> Date: Wed, 04 Oct 2006 10:24:11 -0400 From: Vivek Khera To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: conf/103976: rc.d/named restart failure X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vivek Khera List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 14:30:19 -0000 >Number: 103976 >Category: conf >Synopsis: rc.d/named restart failure >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 04 14:30:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Vivek Khera >Release: FreeBSD 6.1-RELEASE-p10 amd64 >Organization: >Environment: System: FreeBSD bluefish.kcilink.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #3: Tue Oct 3 10:49:29 EDT 2006 vivek@redfish.kcilink.com:/n/lorax1/usr6/obj.amd64/n/lorax1/usr6/src/sys/KCI64SMP amd64 >Description: /etc/r.cd/named restart doesn't wait for named to exit before attempting to start the new process. >How-To-Repeat: [root@bluefish]# /etc/rc.d/named restart Stopping named. named already running? (pid=40998). [root@bluefish]# /etc/rc.d/named restart Stopping named: rndc failed, trying killall: No matching processes were found wrote key file "/var/named/etc/namedb/rndc.key" Starting named. [root@bluefish]# uname -a FreeBSD bluefish.kcilink.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #3: Tue Oct 3 10:49:29 EDT 2006 vivek@redfish.kcilink.com:/n/lorax1/usr6/obj.amd64/n/lorax1/usr6/src/sys/KCI64SMP amd64 [root@bluefish]# >Fix: make the rc.d script wait for the process to die first? >Release-Note: >Audit-Trail: >Unformatted: