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

Adam Tkac atkac at fedoraproject.org
Fri Feb 18 15:23:03 UTC 2011


commit 7c19b6e61687275605ef9ec91929c2c2b6af4189
Author: Adam Tkac <atkac at redhat.com>
Date:   Fri Feb 18 16:18:03 2011 +0100

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

 bind.spec             |    7 ++++++-
 bind97-rh645544.patch |   30 ++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 1 deletions(-)
---
diff --git a/bind.spec b/bind.spec
index 72705e4..03e618d 100644
--- a/bind.spec
+++ b/bind.spec
@@ -21,7 +21,7 @@ Summary:  The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
 Name:     bind
 License:  ISC
 Version:  9.7.2
-Release:  1.%{PATCHVER}%{?dist}
+Release:  2.%{PATCHVER}%{?dist}
 Epoch:    32
 Url:      http://www.isc.org/products/BIND/
 Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -61,6 +61,7 @@ Patch107:bind97-dist-pkcs11.patch
 Patch109:bind97-rh478718.patch
 Patch110:bind97-rh507429.patch
 Patch111:bind97-compat-default-keysdir.patch
+Patch112:bind97-rh645544.patch
 
 # SDB patches
 Patch11: bind-9.3.2b2-sdbsrc.patch
@@ -244,6 +245,7 @@ mkdir m4
 %patch107 -p1 -b .dist-pkcs11
 %patch109 -p1 -b .rh478718
 %patch110 -p1 -b .rh507429
+%patch112 -p1 -b .rh645544
 
 # Sparc and s390 arches need to use -fPIE
 %ifarch sparcv9 sparc64 s390 s390x
@@ -688,6 +690,9 @@ rm -rf ${RPM_BUILD_ROOT}
 %endif
 
 %changelog
+* Fri Feb 18 2011 Adam Tkac <atkac redhat com> 32:9.7.2-2.P3
+- don't emit various informational messages by default (#645544)
+
 * Thu Dec 02 2010 Adam Tkac <atkac redhat com> 32:9.7.2-1.P3
 - update to 9.7.2-P3
 
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