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

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 15 14:33:30 UTC 2018


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

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



+++ This bug was initially created as a clone of Bug #1544961 +++

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.

--- Additional comment from Worker Ant on 2018-02-13 18:05:52 EST ---

REVIEW: https://review.gluster.org/19563 (rpc: Adds rpcbind6 programs to
libgfrpc symbols) posted (#1) for review on master by

--- Additional comment from Worker Ant on 2018-02-14 10:48:08 EST ---

COMMIT: https://review.gluster.org/19563 committed in master by  with a commit
message- rpc: Adds rpcbind6 programs to libgfrpc symbols

Building with --with-default-ipv6 causes shared
components of gluster calling the rpcbind6 functions
to fail. Adding the symbols in the list is all that is
necessary. Building without ipv6 keeps the same behavior.

No test cases as this is a build-specific fix.

Change-Id: I248d3291bf17326b07d152d9b79cdcfaf9068f0d
BUG: 1544961
Signed-off-by: Sheena Artrip <sheenobu at fb.com>

--- Additional comment from Worker Ant on 2018-02-15 09:20:24 EST ---

REVIEW: https://review.gluster.org/19573 (rpc: Adds rpcbind6 programs to
libgfrpc symbols) posted (#1) for review on release-4.0 by Kaleb KEITHLEY


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1544961
[Bug 1544961] libgfrpc does not export IPv6 RPC methods even with
--with-ipv6-default
-- 
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