Bug 1151938

Summary: undefined symbol: strlcpy in /usr/sbin/rpc.idmapd
Product: [Fedora] Fedora Reporter: Kim Bisgaard <kim-rh>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: bfields, brikowi, jlayton, orion, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-05 21:47:48 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:

Description Kim Bisgaard 2014-10-13 06:49:36 UTC
Description of problem:
linker errors in idmapd. probably compiled with the new glibc which provides the new strlcpy

Version-Release number of selected component (if applicable):
nfs-utils-1.3.1-0.0.fc22.x86_64
glibc-2.20.90-6.fc22.x86_64

How reproducible:
Always


Additional info:
ldd /usr/sbin/rpc.idmapd
        linux-vdso.so.1 (0x00007ffffa3da000)
        libevent-2.0.so.5 => /lib64/libevent-2.0.so.5 (0x00007f9803b10000)
        libnfsidmap.so.0 => /lib64/libnfsidmap.so.0 (0x00007f9803908000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f9803540000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9803320000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f9803118000)
        /lib64/ld-linux-x86-64.so.2 (0x00000038ba200000)

Comment 1 Orion Poplawski 2014-10-28 17:21:42 UTC
Also a problem with:
nfs-utils-1.3.1-1.1.fc21.x86_64
glibc-2.20-5.fc21.x86_64

Comment 2 Orion Poplawski 2014-10-28 19:31:36 UTC
Downgrading libnfsidmap from 0.26-1.1.fc21 to 0.26-0.1.fc21 fixes this for me.  Also, if I compile nfs-utils against libnfsidmap 0.26-1.1.fc21 it removes this error, but then I get:

rpc.idmapd: libnfsidmap: requested translation method, 'nsswitch', is not available
rpc.idmapd: Unable to create name to user id mappings.

ala bug #1156484

Comment 3 Orion Poplawski 2014-10-28 19:45:41 UTC
Using libnfsidmap-0.26-2.0.fc21.x86_64 fixes it for me.  I think if you do a buildroot override for libnfsidmap for f21 and rebuild nfs-utils, we should be good to go.

Comment 4 Steve Dickson 2014-10-29 12:33:16 UTC
*** Bug 1158236 has been marked as a duplicate of this bug. ***

Comment 5 Steve Dickson 2014-10-31 15:14:06 UTC
(In reply to Orion Poplawski from comment #3)
> Using libnfsidmap-0.26-2.0.fc21.x86_64 fixes it for me.  I think if you do a
> buildroot override for libnfsidmap for f21 and rebuild nfs-utils, we should
> be good to go.

I'm not sure what you meaing "buildroot override". 
Also why is the rebuild needed since libnfsidmap.so
is dynamically loaded?

Comment 6 Orion Poplawski 2014-10-31 15:27:20 UTC
To be honest, I really have no clue as to the true cause of this issue.  All I know is that a rebuilt nfs-utils with the updated libnfsidmap seems to fix it.
In order to rebuild nfs-utils with the new libnfsidmap for F21 while libnfsidmap is still in updates-testing, you need to submit a buildroot override for it here:

https://admin.fedoraproject.org/updates/override/new

This will put it in the buildroot so nfs-utils can be built against it.

Comment 7 Steve Dickson 2014-11-05 21:47:48 UTC

*** This bug has been marked as a duplicate of bug 1159943 ***