Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261926 - net-fs/nfs-utils-1.1.5: Please add ipv6 USE flag
Summary: net-fs/nfs-utils-1.1.5: Please add ipv6 USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-09 23:08 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2009-06-02 19:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nfs-utils-1.1.5-r1.ebuild.diff (nfs-utils-1.1.5-r1.ebuild.diff,1.00 KB, patch)
2009-03-09 23:12 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff
Adds support for rpcbind to nfs-utils (rpcbind.patch,3.33 KB, patch)
2009-05-10 16:05 UTC, Niels Ole Salscheider
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2009-03-09 23:08:42 UTC
nfs-utils now supports IPv6 when using rpcbind and libtirpc. Please add a USE flag for this.

Please also consider revisiting bug 244438.

Reproducible: Always

Steps to Reproduce:
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-03-09 23:12:20 UTC
Created attachment 184512 [details, diff]
nfs-utils-1.1.5-r1.ebuild.diff

diff to proposed nfs-utils ebuild
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-09 23:21:11 UTC
Reassigning to net-fs herd.
Comment 3 Andrew Savchenko gentoo-dev 2009-04-04 22:25:51 UTC
This is no that easy. You must update init scripts for both nfs and nfsmount to use portmap or rpcbind depending on ipv6 flag.
Comment 4 Jure Kobal 2009-04-07 18:30:02 UTC
Same goes for netmount which "depends" on portmap.

There are a few way to do it, but like already said, it's not so easy.
Comment 5 Niels Ole Salscheider 2009-05-10 16:05:14 UTC
Created attachment 190849 [details, diff]
Adds support for rpcbind to nfs-utils

I use the following patch in my local overlay in order to use nfs-utils with rpcbind.

It is quite simple and I am not sure if it is a perfect solution but it might be helpful until someone comes up with a better idea.
Comment 6 SpanKY gentoo-dev 2009-05-30 21:17:41 UTC
nfs-utils-1.1.6-r1 supports USE=ipv6 now
Comment 7 Niels Ole Salscheider 2009-05-31 11:24:50 UTC
Thank you for IPv6 support.

Nevertheless, the init scripts still depend on portmap instead of rpcbind.
Since net-fs/nfs-utils-1.1.6-r1 blocks net-nds/portmap it could be enough to just replace "portmap" with "rpcbind".
Otherwise the solution I proposed with the patch in comment #5 (the part concerning the init scripts) may be the way to go.
Comment 8 SpanKY gentoo-dev 2009-06-02 19:08:01 UTC
no they dont.  review the depend() in the rpcbind init.d script.