New: Allow nfs-utils to use ipv6
https://bugs.busybox.net/show_bug.cgi?id=10806
Bug ID: 10806
Summary: Allow nfs-utils to use ipv6
Product: buildroot
Version: 2017.08
Hardware: All
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: adyke at harris.com
CC: buildroot at uclibc.org
Target Milestone: ---
Buildroot always configures nfs-utils without ipv6 support.
My solution is to edit package/nfs-utils/nfs-utils.mk and change --disable-ipv6 to --enable-ipv6 (in the NFS_UTILS_CONF_OPTS variable). I would submit a patch, but I think this option should be selected by enabling ipv6 in the kernel, and I don't know how to accomplish that.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 10806] Allow nfs-utils to use ipv6
https://bugs.busybox.net/show_bug.cgi?id=10806
--- Comment #1 from Arnout Vandecappelle <[email protected]> ---
We decided a few years ago to no longer make ipv6 support in packages optional, i.e. always assume it is there. Note that even if the kernel is built without IPv6 support, it is possible to run executables in it that are built with IPv6 support - but obviously no IPv6 connection will ever be made.
So you can just unconditionally enable IPv6 support in nfs-utils. Except, apparently, nfs-utils requires libtirpc for IPv6 support, as witnessed by this commit:
commit e23be36ab3a110787917db59618d9f5280457938
Author: Peter Korsgaard <[email protected]> Date: Wed Apr 25 22:29:34 2012
nfs-utils: fix build with ipv6 after 2a10c9 (pass --enable-ipv6 to
autotargets configure)
IPv6 support needs the TIRPC library, which we don't have in Buildroot, so forcibly disable IPv6 support.
Now, that's a commit from 6 years ago, so the situation may have changed. Therefore, please try if it is possible to build and run nfs-utils *without* libtirpc and *with* --enable-ipv6. If that works, just enable ipv6 unconditionally. If it doesn't work, add the --enable/disable-ipv6 to the existing libtirpc condition in nfs-utils.mk. In that case, please also make a note in the commit message that native RPC is being deprecated so libtirpc (and therefore IPv6) will be enabled unconditionally in the future.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 10806] Allow nfs-utils to use ipv6
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=10806
Carlos Santos <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at buildroot.uclibc |unixmania at gmail.com
|.org |--- Comment #2 from Carlos Santos <[email protected]> --- I'm taking this one.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 10806] Allow nfs-utils to use ipv6
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=10806
--- Comment #3 from Carlos Santos <[email protected]> --- Patch submitted: https://patchwork.ozlabs.org/patch/1145462/
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 10806] Allow nfs-utils to use ipv6
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=10806
--- Comment #4 from Carlos Santos <[email protected]> --- (In reply to Carlos Santos from comment #3)
Patch updated: https://patchwork.ozlabs.org/patch/1145827/
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 10806] Allow nfs-utils to use ipv6
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=10806
--- Comment #5 from Carlos Santos <[email protected]> --- Discussing the subject in the mailing list it was decided to keep libtirpc optional so I submitted a second patch that builds nfs-utils with IPv6 enabled if libtirpc is selected:
https://patchwork.ozlabs.org/patch/1159968/
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 10806] Allow nfs-utils to use ipv6
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=10806
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED--- Comment #6 from Thomas Petazzoni <[email protected]> --- Fixed by
https://git.buildroot.org/buildroot/commit/?id=749334cb36ea5c0a0fd745dada43122f88a3144c.
Thanks a lot Carlos for your work on this issue!
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.