conf/103976: rc.d/named restart failure
Vivek Khera
vivek at khera.org
Wed Oct 4 07:30:19 PDT 2006
>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 at 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 at bluefish]# /etc/rc.d/named restart
Stopping named.
named already running? (pid=40998).
[root at 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 at 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 at redfish.kcilink.com:/n/lorax1/usr6/obj.amd64/n/lorax1/usr6/src/sys/KCI64SMP amd64
[root at bluefish]#
>Fix:
make the rc.d script wait for the process to die first?
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list