Hide Forgot
Created attachment 570654 [details] Patch for libnfsidmap.c Description of problem: The list of local realms can be logged with a massage like the following: rpc.idmapd: libnfsidmap: Realms list: 'EXAMPLE2.COM' Instead of printing a list of realms, only the last realm in the list is shown. Version-Release number of selected component (if applicable): 0.24-7.fc16 How reproducible: always Steps to Reproduce: 1. edit /etc/idmapd.conf with Verbosity=1 and Local-Realms=A,B,C 2. 3. Actual results: rpc.idmapd: libnfsidmap: Realms list: 'C' Expected results: rpc.idmapd: libnfsidmap: Realms list: 'A' 'B' 'C' Additional info: Looking at the source, the list is built in a way that intends to append each realm to a string buffer, but instead overwrites the buffer each time. A patch is attached, which also has a few changes to the buffer size calculation, and to skip the extra trailing space. Fortunately, it is only a logging issue, and not as serious as it seemed at first.
libnfsidmap-0.24-8.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/libnfsidmap-0.24-8.fc16
Package libnfsidmap-0.24-8.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libnfsidmap-0.24-8.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-8012/libnfsidmap-0.24-8.fc16 then log in and leave karma (feedback).
libnfsidmap-0.24-8.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.