>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:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to