diff options
author | Scott Mayhew <smayhew@redhat.com> | 2017-08-23 14:55:20 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2017-08-23 14:58:16 -0400 |
commit | 8aea4a1c1da563437be5a6103ae459045e371f96 (patch) | |
tree | f406210f88164723a617d2e441cde06f277aa1c9 | |
parent | caa59a30b78dedea99a2317da95bb86810360645 (diff) | |
download | nfs-utils-8aea4a1c1da563437be5a6103ae459045e371f96.tar.gz nfs-utils-8aea4a1c1da563437be5a6103ae459045e371f96.tar.xz nfs-utils-8aea4a1c1da563437be5a6103ae459045e371f96.zip |
idmapd: fix object order in idmapd_LDADD
nfs-utils and libnfsidmap have similar configuration parsing routines.
They were the same up until nfs-utils commit 7b33590f (config: Remove
the conf_path global), where conf_init() was changed to take a path as
an argument. With the current idmap_LDADD ordering in Makefile.am, the
conf_init() from libnfsidmap is called, resulting in the following error
along with the failure to parse idmapd.conf:
rpc.idmapd[391]: rpc.idmapd: conf_reinit: open ("(null)", O_RDONLY) failed
Placing libnfs.a first in idmap_LDADD ensures that idmapd uses the config
parsing routines from nfs-utils instead of libnfsidmap.
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | utils/idmapd/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/idmapd/Makefile.am b/utils/idmapd/Makefile.am index c2f8ba1..1e8e9e6 100644 --- a/utils/idmapd/Makefile.am +++ b/utils/idmapd/Makefile.am @@ -15,7 +15,7 @@ idmapd_SOURCES = \ nfs_idmap.h \ queue.h -idmapd_LDADD = $(LIBEVENT) $(LIBNFSIDMAP) ../../support/nfs/libnfs.a +idmapd_LDADD = ../../support/nfs/libnfs.a $(LIBEVENT) $(LIBNFSIDMAP) MAINTAINERCLEANFILES = Makefile.in |