Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Oct 2006 10:24:11 -0400
From:      Vivek Khera <vivek@khera.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/103976: rc.d/named restart failure
Message-ID:  <1159971851.050906.8099.nullmailer@bluefish.kcilink.com>
Resent-Message-ID: <200610041430.k94EUIn3093933@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1159971851.050906.8099.nullmailer>