From owner-freebsd-bugs@FreeBSD.ORG Mon Nov 18 09:30:02 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6B12806 for ; Mon, 18 Nov 2013 09:30:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9FB6E2A3F for ; Mon, 18 Nov 2013 09:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAI9U2Bp087636 for ; Mon, 18 Nov 2013 09:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAI9U2ao087635; Mon, 18 Nov 2013 09:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 18 Nov 2013 09:30:02 GMT Resent-Message-Id: <201311180930.rAI9U2ao087635@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, chris scott Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A1E3A749 for ; Mon, 18 Nov 2013 09:28:07 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8E56C2A1A for ; Mon, 18 Nov 2013 09:28:07 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rAI9S7uZ041922 for ; Mon, 18 Nov 2013 09:28:07 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rAI9S7hZ041888; Mon, 18 Nov 2013 09:28:07 GMT (envelope-from nobody) Message-Id: <201311180928.rAI9S7hZ041888@oldred.freebsd.org> Date: Mon, 18 Nov 2013 09:28:07 GMT From: chris scott To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: conf/184047: No delay feature in unbound startup script like in named X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 09:30:02 -0000 >Number: 184047 >Category: conf >Synopsis: No delay feature in unbound startup script like in named >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 18 09:30:02 UTC 2013 >Closed-Date: >Last-Modified: >Originator: chris scott >Release: intel 10-beta3 >Organization: >Environment: FreeBSD router10 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r258162: Fri Nov 15 10:48:21 UTC 2013 krad@router10:/usr/obj/usr/src/sys/me amd64 >Description: bind has the following config options to stop the rc startup scripts running until the name server is up and running named_wait="yes" # Wait for working name service before exiting named_wait_host="localhost" # Hostname to check if named_wait is enabled The rc script for unbound doesnt have such a feature, therefore on machines where the resolver is localhost, things like ntpd which depend on name resolution can break. [root@router10 /usr/src]# rcorder /etc/rc.d/*| egrep -n "(unbound|ntp)" 50:/etc/rc.d/local_unbound 74:/etc/rc.d/ntpdate 127:/etc/rc.d/ntpd Adding similar delay functionality would be usful >How-To-Repeat: boot a machine with unbound as the name server and localhost specified and the resolver and have a resolution dependent service such as ntpd running >Fix: replicating the named_poststart () would be sufficient >Release-Note: >Audit-Trail: >Unformatted: