public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* building upstream nfs-utils on EL6 fails
@ 2014-10-29 21:54 Chuck Lever
  2014-10-29 23:27 ` Benjamin Coddington
  0 siblings, 1 reply; 16+ messages in thread
From: Chuck Lever @ 2014-10-29 21:54 UTC (permalink / raw)
  To: Steve Dickson; +Cc: Linux NFS Mailing List

Hi Steve-

libtool: link: gcc -Wall -Wextra -Wstrict-prototypes -pipe -D_FILE_OFFSET_BITS=64 -Wp,-D_FORTIFY_SOURCE=2 -Os -Wall -Wextra -pedantic -std=c99 -Wformat=2 -Wmissing-include-dirs -Wunused -Wconversion -Wlogical-op -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-noreturn -Wshadow -Wunreachable-code -Winline -Wdisabled-optimization -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wstack-protector -fstrict-aliasing -fstrict-overflow -fexceptions -fstack-protector -fasynchronous-unwind-tables -fpie -pie -o nfsidmap nfsidmap.o  /usr/lib64/libnfsidmap.so -ldl -lkeyutils ../../support/nfs/libnfs.a
nfsidmap.o: In function `key_invalidate':
nfsidmap.c:(.text+0x141): undefined reference to `keyctl_invalidate'
collect2: ld returned 1 exit status
make[2]: *** [nfsidmap] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
[cel@dali nfs-utils]$

I think this could be due to

commit 2ae0763a618d30037ebb2520f6292f80d838a440
Author: Steve Dickson <steved@redhat.com>
Date:   Tue Mar 25 10:56:58 2014 -0400

    nfsidmap: Keys need to be invalidated instead of revoked

Probably need to have some autoconf logic to pick which keyctl_
API is available on the build system.

But I’d like to run recent kernels on EL6 systems. It looks like
the current upstream kernel ID mapping interface isn’t compatible
with the EL6 user space (/usr/sbin/nfsidmap).

I see both sets of infrastructure on EL6: nfsidmap is installed
and so is rpc.idmapd. Which one is supposed to be used?

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-11-03 14:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-29 21:54 building upstream nfs-utils on EL6 fails Chuck Lever
2014-10-29 23:27 ` Benjamin Coddington
2014-10-30  0:24   ` Chuck Lever
2014-10-30 14:53     ` Benjamin Coddington
2014-10-30 15:31       ` Chuck Lever
2014-10-30 16:06         ` Chuck Lever
2014-10-30 16:16           ` Benjamin Coddington
2014-10-30 16:08         ` Benjamin Coddington
2014-10-30 16:18           ` Chuck Lever
2014-10-30 16:52             ` Benjamin Coddington
2014-10-30 17:19               ` Chuck Lever
2014-11-02 16:44                 ` Steve Dickson
2014-11-03 14:44                 ` Benjamin Coddington
2014-11-03 14:55                   ` Chuck Lever
2014-10-30 15:42       ` Steve Dickson
2014-10-30 15:34     ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox