Bug 2057612
| Summary: | decrease libnfsidmap verbosity | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Frank Sorenson <fsorenso> | |
| Component: | nfs-utils | Assignee: | Steve Dickson <steved> | |
| Status: | CLOSED ERRATA | QA Contact: | Yongcheng Yang <yoyang> | |
| Severity: | low | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 8.5 | CC: | ajmitchell, dwysocha, lmiksik, steved, toneata, xzhou, yoyang | |
| Target Milestone: | rc | Keywords: | CustomerScenariosInitiative, Patch, Triaged, ZStream | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | nfs-utils-2.3.3-51.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2066360 2090815 2090817 (view as bug list) | Environment: | ||
| Last Closed: | 2022-05-10 15:20:51 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2066360, 2090815, 2090817 | |||
|
Description
Frank Sorenson
2022-02-23 17:44:44 UTC
I'm deferring this to the next minor release for now but feel free to change that. I think we just need this backported to RHEL8
commit 0095435db8228d5a88ec35a63cb64271e2e648a8
Author: Steve Dickson <steved>
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
I would like to get this simple patch into rhel-6.6 --- 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) Verified in nfs-utils-2.3.3-51.el8 (libnfsidmap-2.3.3-51.el8) ~~~~~~~~~~~ Beaker job: https://beaker.engineering.redhat.com/jobs/6395516 -------------------------------------------------------------- [04:11:51 root@ ~~]# >/var/log/messages [04:11:51 root@ ~~]# mount -t nfs -o vers=4.0 fsqe-r6515-01.fs.lab.eng.bos.redhat.com:/home/qa /nfs-mount [04:11:51 root@ ~~]# cat /proc/mounts | grep /nfs-mount fsqe-r6515-01.fs.lab.eng.bos.redhat.com:/home/qa /nfs-mount nfs4 rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.16.209.64,local_lock=none,addr=10.16.224.253 0 0 [04:11:51 root@ ~~]# ls -l /nfs-mount total 0 -rw-r--r--. 1 qa qa 0 Mar 14 04:11 file_qa -rw-r--r--. 1 root root 0 Mar 14 04:11 file_root [04:11:51 root@ ~~]# sleep 2; sync; sync; cat /var/log/messages Mar 14 04:11:50 koza-1 restraintd[5310]: use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins /usr/share/restraint/plugins/run_plugins Mar 14 04:11:50 koza-1 restraintd[5310]: <no matches> Mar 14 04:11:50 koza-1 restraintd[5310]: Uploading avc.log .done ... Compared with previous version 2.3.3-50.el8 ~~~~~~~~~~~ Beaker job: https://beaker.engineering.redhat.com/jobs/6395244 -------------------------------------------------------------- [01:09:35 root@ ~~]# >/var/log/messages [01:09:35 root@ ~~]# mount -t nfs -o vers=4.0 fsqe-r640-02.fs.lab.eng.bos.redhat.com:/home/qa /nfs-mount [01:09:35 root@ ~~]# cat /proc/mounts | grep /nfs-mount fsqe-r640-02.fs.lab.eng.bos.redhat.com:/home/qa /nfs-mount nfs4 rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.16.225.1,local_lock=none,addr=10.16.224.250 0 0 [01:09:35 root@ ~~]# ls -l /nfs-mount total 0 -rw-r--r--. 1 qa qa 0 Mar 14 01:09 file_qa -rw-r--r--. 1 root root 0 Mar 14 01:09 file_root [01:09:35 root@ ~~]# sleep 2; sync; sync; cat /var/log/messages Mar 14 01:09:35 fsqe-r6515-02 nfsidmap[27343]: libnfsidmap: using domain: test.com Mar 14 01:09:35 fsqe-r6515-02 nfsidmap[27343]: libnfsidmap: Realms list: 'TEST.COM' Mar 14 01:09:35 fsqe-r6515-02 nfsidmap[27343]: libnfsidmap: loaded plugin /usr/lib64/libnfsidmap/nsswitch.so for method nsswitch Mar 14 01:09:35 fsqe-r6515-02 nfsidmap[27344]: libnfsidmap: using domain: test.com Mar 14 01:09:35 fsqe-r6515-02 nfsidmap[27344]: libnfsidmap: Realms list: 'TEST.COM' Mar 14 01:09:35 fsqe-r6515-02 nfsidmap[27344]: libnfsidmap: loaded plugin /usr/lib64/libnfsidmap/nsswitch.so for method nsswitch Mar 14 01:09:35 fsqe-r6515-02 nfsidmap[27347]: libnfsidmap: using domain: test.com Mar 14 01:09:35 fsqe-r6515-02 nfsidmap[27347]: libnfsidmap: Realms list: 'TEST.COM' Mar 14 01:09:35 fsqe-r6515-02 nfsidmap[27347]: libnfsidmap: loaded plugin /usr/lib64/libnfsidmap/nsswitch.so for method nsswitch Mar 14 01:09:35 fsqe-r6515-02 nfsidmap[27348]: libnfsidmap: using domain: test.com Mar 14 01:09:35 fsqe-r6515-02 nfsidmap[27348]: libnfsidmap: Realms list: 'TEST.COM' Mar 14 01:09:35 fsqe-r6515-02 nfsidmap[27348]: libnfsidmap: loaded plugin /usr/lib64/libnfsidmap/nsswitch.so for method nsswitch ... Thanks all for getting this in to 8.6! Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (nfs-utils bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:2025 |