From: Don Armstrong Date: Thu, 26 Oct 2017 23:01:06 +0000 (-0700) Subject: Do not always print debugging info upon invalidate. (Closes: #844447) X-Git-Tag: debian/0.52-2~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4d1d84f14dc1eb9aabe6dc972df3cc628d54e5b3;p=unscd.git Do not always print debugging info upon invalidate. (Closes: #844447) --- diff --git a/debian/changelog b/debian/changelog index 2bb13cf..bf21cec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ unscd (0.52-2) unstable; urgency=medium * Add missing #!/bin/sh to postinst (Closes: #843283) * Use compat level 10 * Do not stop on upgrade, just restart after upgrade + * Do not always print debugging info upon invalidate. (Closes: #844447) -- Don Armstrong Thu, 26 Oct 2017 15:52:19 -0700 diff --git a/debian/patches/no_debug_on_invalidate b/debian/patches/no_debug_on_invalidate new file mode 100644 index 0000000..e386c87 --- /dev/null +++ b/debian/patches/no_debug_on_invalidate @@ -0,0 +1,12 @@ +--- a/nscd.c ++++ b/nscd.c +@@ -2518,6 +2518,9 @@ + conffile = optarg; + break; + case 'i': ++ debug &= ~D_DAEMON; ++ if (opt_d_cnt != 0) ++ debug |= (((1U << opt_d_cnt+1) >> 1) - 1) & L_ALL; + /* invalidate */ + special_op(optarg); /* exits */ + case 'K': diff --git a/debian/patches/series b/debian/patches/series index ee65dce..9689a28 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ change_invalidate_request_info_output support_large_numbers_in_config +no_debug_on_invalidate