[bind] Don't emit various informational messages by default (#645544).

Adam Tkac atkac at fedoraproject.org
Mon Nov 8 13:55:25 UTC 2010


commit 516bc441f88a3971390d8b704340b10fa03e094d
Author: Adam Tkac <atkac at redhat.com>
Date:   Mon Nov 8 14:54:49 2010 +0100

    Don't emit various informational messages by default (#645544).
    
    Signed-off-by: Adam Tkac <atkac at redhat.com>

 bind.spec             |    7 ++++++-
 bind97-rh645544.patch |   30 ++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 1 deletions(-)
---
diff --git a/bind.spec b/bind.spec
index 3059ef9..f476409 100644
--- a/bind.spec
+++ b/bind.spec
@@ -22,7 +22,7 @@ Summary:  The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
 Name:     bind
 License:  ISC
 Version:  9.7.2
-Release:  5.%{PATCHVER}%{?dist}
+Release:  6.%{PATCHVER}%{?dist}
 Epoch:    32
 Url:      http://www.isc.org/products/BIND/
 Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -59,6 +59,7 @@ Patch107:bind97-dist-pkcs11.patch
 Patch109:bind97-rh478718.patch
 Patch110:bind97-rh570851.patch
 Patch111:bind97-exportlib.patch
+Patch112:bind97-rh645544.patch
 
 # SDB patches
 Patch11: bind-9.3.2b2-sdbsrc.patch
@@ -292,6 +293,7 @@ mkdir m4
 %patch109 -p1 -b .rh478718
 %patch110 -p1 -b .rh570851
 %patch111 -p1 -b .exportlib
+%patch112 -p1 -b .rh645544
 
 # Sparc and s390 arches need to use -fPIE
 %ifarch sparcv9 sparc64 s390 s390x
@@ -756,6 +758,9 @@ rm -rf ${RPM_BUILD_ROOT}
 %endif
 
 %changelog
+* Mon Nov 08 2010 Adam Tkac <atkac redhat com> 32:9.7.2-6.P2
+- don't emit various informational messages by default (#645544)
+
 * Wed Oct 20 2010 Adam Tkac <atkac redhat com> 32:9.7.2-5.P2
 - move BIND9 internal libs back to %%{_libdir}
 - add "-export" suffix to public libraries (-lite subpkg)
diff --git a/bind97-rh645544.patch b/bind97-rh645544.patch
new file mode 100644
index 0000000..8b9c4e3
--- /dev/null
+++ b/bind97-rh645544.patch
@@ -0,0 +1,30 @@
+diff -up bind-9.7.2-P2/lib/dns/resolver.c.rh645544 bind-9.7.2-P2/lib/dns/resolver.c
+--- bind-9.7.2-P2/lib/dns/resolver.c.rh645544	2010-11-08 14:32:12.254896255 +0100
++++ bind-9.7.2-P2/lib/dns/resolver.c	2010-11-08 14:33:18.674869633 +0100
+@@ -1097,7 +1097,7 @@ log_edns(fetchctx_t *fctx) {
+ 
+ 	dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
+ 	isc_log_write(dns_lctx, DNS_LOGCATEGORY_EDNS_DISABLED,
+-		      DNS_LOGMODULE_RESOLVER, ISC_LOG_INFO,
++		      DNS_LOGMODULE_RESOLVER, ISC_LOG_DEBUG(1),
+ 		      "success resolving '%s' (in '%s'?) after %s",
+ 		      fctx->info, domainbuf, fctx->reason);
+ 
+@@ -3795,7 +3795,7 @@ log_lame(fetchctx_t *fctx, dns_adbaddrin
+ 	dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
+ 	isc_sockaddr_format(&addrinfo->sockaddr, addrbuf, sizeof(addrbuf));
+ 	isc_log_write(dns_lctx, DNS_LOGCATEGORY_LAME_SERVERS,
+-		      DNS_LOGMODULE_RESOLVER, ISC_LOG_INFO,
++		      DNS_LOGMODULE_RESOLVER, ISC_LOG_DEBUG(1),
+ 		      "lame server resolving '%s' (in '%s'?): %s",
+ 		      namebuf, domainbuf, addrbuf);
+ }
+@@ -3822,7 +3822,7 @@ log_formerr(fetchctx_t *fctx, const char
+ 	}
+ 
+ 	isc_log_write(dns_lctx, DNS_LOGCATEGORY_RESOLVER,
+-		      DNS_LOGMODULE_RESOLVER, ISC_LOG_NOTICE,
++		      DNS_LOGMODULE_RESOLVER, ISC_LOG_DEBUG(1),
+ 		      "DNS format error from %s resolving %s%s%s: %s",
+ 		      nsbuf, fctx->info, clmsg, clbuf, msgbuf);
+ }


More information about the scm-commits mailing list