diff --git a/SOURCES/nfs-utils-2.3.3-nfsidmap-debug.patch b/SOURCES/nfs-utils-2.3.3-nfsidmap-debug.patch new file mode 100644 index 0000000..d972843 --- /dev/null +++ b/SOURCES/nfs-utils-2.3.3-nfsidmap-debug.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 9299e652..d11710f1 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/SPECS/nfs-utils.spec b/SPECS/nfs-utils.spec index f8fe8a2..0a9e740 100644 --- a/SPECS/nfs-utils.spec +++ b/SPECS/nfs-utils.spec @@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser Name: nfs-utils URL: http://linux-nfs.org/ Version: 2.3.3 -Release: 50%{?dist} +Release: 51%{?dist} Epoch: 1 # group all 32bit related archs @@ -90,6 +90,7 @@ Patch045: nfs-utils-2.3.3-gssd-mutex-refcnt.patch Patch046: nfs-utils-2.3.3-mountd-v4-logging.patch Patch047: nfs-utils-2.3.3-gssd-printerr.patch Patch048: nfs-utils-2.3.3-mount-ebusy.patch +Patch049: nfs-utils-2.3.3-nfsidmap-debug.patch Patch100: nfs-utils-1.2.1-statdpath-man.patch Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch @@ -365,6 +366,9 @@ fi %{_libdir}/libnfsidmap.so %changelog +* Mon Mar 7 2022 Steve Dickson 2.3.3-51 +- libnfsidmap: Turn off default verbosity (bz 2057612) + * Sat Feb 19 2022 Steve Dickson 2.3.3-50 - mount.nfs: Fix Typo auto negotiating code. (bz 1946346)