[Bugs] [Bug 1544961] New: libgfrpc does not export IPv6 RPC methods even with --with-ipv6-default

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 13 21:16:10 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1544961

            Bug ID: 1544961
           Summary: libgfrpc does not export IPv6 RPC methods even with
                    --with-ipv6-default
           Product: GlusterFS
           Version: 4.0
         Component: rpc
          Severity: low
          Assignee: bugs at gluster.org
          Reporter: sheenobu+redhat at gmail.com
                CC: bugs at gluster.org



Description of problem:

Methods rpcsvc_program_register_rpcbind6/rpcsvc_program_unregister_rpcbind6 do
not get exported with the symbol table when compiling --with-ipv6-default.

Version-Release number of selected component (if applicable): 

4.0, mainline

How reproducible:

Always

Steps to Reproduce:
1. Compile gluster with --with-ipv6-default. 
2. Check exported symbols of libgfrpc.so, see no rpcbind6

1. Compile gluster with --with-ipv6-default, --with-gnfs 
2. Run gluster
3. See nfs daemon crash with unable to lookup symbol
rpcsvc_program_register_rpcbind6

Actual results:

libgfrpc does not have rpcbind6. gnfsd crashes with symbol import error.

nm -D /usr/lib64/libgfrpc.so -l | grep rpcbind6; echo $? => 1

nfs.log:

[2018-02-13 21:08:27.351949] W [MSGID: 101095] [xlator.c:433:xlator_dynload]
0-xlator: /usr/lib64/glusterfs/3.8dev/xlator/nfs/server.so: undefined symbol:
rpcsvc_program_register_rpcbind6


Expected results:

libgfrpc has rpcbind6. gnfsd runs and listens ipv6 address.

nm -D /usr/lib64/libgfrpc.so -l | grep rpcbind6; echo $? => 0

Additional info:

Bug introduced when file rpc-lib/src/libgfrpc.sym was introduced. fix simple,
incoming.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list