Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2014 12:22:57 GMT
From:      Nick Hibma <nick@anywi.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/186195: Silence unbound-checkconf during startup
Message-ID:  <201401281222.s0SCMvfW057240@oldred.freebsd.org>
Resent-Message-ID: <201401281230.s0SCU0PA086734@freefall.freebsd.org>

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

>Number:         186195
>Category:       misc
>Synopsis:       Silence unbound-checkconf during startup
>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:   Tue Jan 28 12:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Nick Hibma
>Release:        9.2-RELEASE
>Organization:
AnyWi Technologies
>Environment:
FreeBSD baranao.anywi.com 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Remove the uninformative checkconf message.

     sigq-noship# /usr/local/etc/rc.d/unbound restart
     Stopping unbound.
     Waiting for PIDS: 3489.
     unbound-checkconf: no errors in /usr/local/etc/unbound/unbound.conf
     Obtaining a trust anchor:.
     Starting unbound.
     sigq-noship#
>How-To-Repeat:
Run

     /usr/local/etc/rc.d/unbound restart

>Fix:
Index: files/unbound.in
===================================================================
--- files/unbound.in	(revision 334495)
+++ files/unbound.in	(working copy)
@@ -29,7 +29,7 @@

 start_precmd()
 {
-	%%PREFIX%%/sbin/unbound-checkconf && \
+	%%PREFIX%%/sbin/unbound-checkconf > /dev/null && \
 	echo -n "Obtaining a trust anchor:" && \
 	su -m unbound -c %%PREFIX%%/sbin/unbound-anchor && \
 	echo .

>Release-Note:
>Audit-Trail:
>Unformatted:



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