From 4d1d84f14dc1eb9aabe6dc972df3cc628d54e5b3 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 26 Oct 2017 16:01:06 -0700 Subject: [PATCH] Do not always print debugging info upon invalidate. (Closes: #844447) --- debian/changelog | 1 + debian/patches/no_debug_on_invalidate | 12 ++++++++++++ debian/patches/series | 1 + 3 files changed, 14 insertions(+) create mode 100644 debian/patches/no_debug_on_invalidate 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 -- 2.39.2