From a8546a4738846392b523738d586cf3633545b86b Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Thu, 19 Dec 2019 13:21:17 -0500 Subject: [PATCH] libnfsidmap: Turn off default verbosity (bz 1774787) Signed-off-by: Steve Dickson --- nfs-utils-2.4.2-libnfsidmap-verbose.patch | 27 +++++++++++++++++++++++ nfs-utils.spec | 4 +++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 nfs-utils-2.4.2-libnfsidmap-verbose.patch diff --git a/nfs-utils-2.4.2-libnfsidmap-verbose.patch b/nfs-utils-2.4.2-libnfsidmap-verbose.patch new file mode 100644 index 0000000..51b7c67 --- /dev/null +++ b/nfs-utils-2.4.2-libnfsidmap-verbose.patch @@ -0,0 +1,27 @@ +commit 0095435db8228d5a88ec35a63cb64271e2e648a8 +Author: Steve Dickson +Date: Thu Dec 19 12:48:31 2019 -0500 + + libnfsidmap: Turn off default verbosity + + Commit f080188e changed the library's verbosity + to be on by default. The patch turns it off by + default + + Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1774787 + + Signed-off-by: Steve Dickson + +diff --git a/support/nfsidmap/libnfsidmap.c b/support/nfsidmap/libnfsidmap.c +index 9299e65..d11710f 100644 +--- a/support/nfsidmap/libnfsidmap.c ++++ b/support/nfsidmap/libnfsidmap.c +@@ -101,7 +101,7 @@ static void default_logger(const char *fmt, ...) + + #pragma GCC visibility pop + nfs4_idmap_log_function_t idmap_log_func = default_logger; +-int idmap_verbosity = 2; ++int idmap_verbosity = 0; + #pragma GCC visibility push(hidden) + + static int id_as_chars(char *name, uid_t *id) diff --git a/nfs-utils.spec b/nfs-utils.spec index 7ce2a4d..6abaf39 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -17,6 +17,7 @@ Source5: nfsconvert.sh Source6: nfs-convert.service Patch001: nfs-utils.2.4.3-rc3.patch +Patch002: nfs-utils-2.4.2-libnfsidmap-verbose.patch Patch100: nfs-utils-1.2.1-statdpath-man.patch Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch @@ -370,9 +371,10 @@ fi * Wed Jan 29 2020 Fedora Release Engineering - 1:2.4.2-3.rc3.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild -* Wed Dec 18 2019 Steve Dickson 2.4.2-3.rc3 +* Thu Dec 19 2019 Steve Dickson 2.4.2-3.rc3 - Updated to the latest upstream RC release: nfs-utils-2-4-3-rc3 (bz 1782349) - Remove rpc-svcgssd from auth-rpcgss-module (bz 1662737) +- libnfsidmap: Turn off default verbosity (bz 1774787) * Fri Nov 22 2019 Steve Dickson 2.4.2-2.rc2 - mount: Fix return 0 from void function