From nobody@FreeBSD.org  Sun Jul 11 12:08:21 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2D78816A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 11 Jul 2004 12:08:21 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 28DE843D2F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 11 Jul 2004 12:08:21 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i6BC8Ksw036960
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 11 Jul 2004 12:08:20 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i6BC8Ktj036959;
	Sun, 11 Jul 2004 12:08:20 GMT
	(envelope-from nobody)
Message-Id: <200407111208.i6BC8Ktj036959@www.freebsd.org>
Date: Sun, 11 Jul 2004 12:08:20 GMT
From: JD Bronson <jd@aurora.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Named starts PRIOR to ldconfig 
X-Send-Pr-Version: www-2.3

>Number:         68916
>Category:       conf
>Synopsis:       Named starts PRIOR to ldconfig
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 11 12:10:22 GMT 2004
>Closed-Date:    Fri May 19 22:01:59 GMT 2006
>Last-Modified:  Fri May 19 22:01:59 GMT 2006
>Originator:     JD Bronson
>Release:        5.2.1
>Organization:
Aurora Health Care
>Environment:
[absolut] 7:06:29am /home/jbronson> uname -a
FreeBSD absolut 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Sat Jul  3 19:18:48 CDT 2004     jbronson@bacardi:/usr/src/sys/i386/compile/BACARDI  i386
>Description:
Named starts prior to ldconfig. Named (bind 9) needs libraries that are unavailable before ldconfig runs.
>How-To-Repeat:
 N/A
>Fix:
 My suggestion:
add this to the beginning of /etc/rc.d/named:

# REQUIRE: SERVERS ldconfig

.now named wont run until ldconfig runs and makes all the libraries needed available.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-conf->freebsd-bugs 
Responsible-Changed-By: vs 
Responsible-Changed-When: Tue Jul 20 07:54:55 GMT 2004 
Responsible-Changed-Why:  
Arg, fix last change 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68916 
State-Changed-From-To: open->patched 
State-Changed-By: flz 
State-Changed-When: Tue Apr 18 10:35:25 UTC 2006 
State-Changed-Why:  
Committed to HEAD, MFC planned after 1 week (or after the src tree is 
thawed). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68916 
State-Changed-From-To: patched->feedback 
State-Changed-By: dougb 
State-Changed-When: Fri May 19 21:48:39 UTC 2006 
State-Changed-Why:  

Can you please describe to me the conditions under which named needs 
libraries that aren't available till ldocnfig runs? Is this named from 
the ports, or the base system? 


Responsible-Changed-From-To: freebsd-bugs->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Fri May 19 21:48:39 UTC 2006 
Responsible-Changed-Why:  

I maintain BIND bits. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68916 
State-Changed-From-To: feedback->closed 
State-Changed-By: dougb 
State-Changed-When: Fri May 19 22:01:32 UTC 2006 
State-Changed-Why:  

Originator reports in private mail that the problem no 
longer exists in RELENG_6. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68916 
>Unformatted:
