help with rpcbind patches
Steve Dickson
SteveD at redhat.com
Fri Jun 20 09:46:17 EDT 2008
Guillaume Rousse wrote:
> Hello list.
>
> I'm having heavy troubles with nfs4, that seems to be linked with the
> portmapper. See
> http://linux-nfs.org/pipermail/nfsv4/2008-June/008637.html for details.
> I'll test with legacy portmap instead of new rpcbind, but I'd also like
> to review patches included in mandriva rpmbind package. A upstream
> developpers are subscribed to this list, I think they could help me
> there (I'm unable to understand 90% of those patches).
>
> The mandriva patches are available at:
> http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/rpcbind/current/SOURCES/
>
> Those ones comes from the fedora package:
> rpcbind-0.1.4-compile.patch
> rpcbind-0.1.4-debug.patch
> rpcbind-0.1.4-warmstarts.patch
> rpcbind-0.1.4-rpcuser.patch
>
> Those ones are mandriva specifics:
> rpcbind-0.1.4-warmstartperms.patch
> rpcbind-0.1.4-setgid.patch
> rpcbind-0.1.4-movewarmstart.patch
> rpcbind-0.1.4-errno.patch
> rpcbind-0.1.4-fix-crash-with-ipv6-disabled.patch
>
> The first seems to comes from this problem:
> http://qa.mandriva.com/show_bug.cgi?id=31465
>
> The third one seems to be related to apparmor, judging from the comment
> in the spec file:
> # move warm start read call to after we switched uid/gid, or
> # else we need to add the dac_read_search and dac_override
> # capabilities to the apparmor profile. These capabilities are
> # basically what allow root to read files/dirs from other users
> # which are mode 0600/0700 for example
>
> The current fedora package (rpcbind-0.1.4-14.fc9.src.rpm, available from
> ftp://fr2.rpmfind.net/linux/fedora/development/source/SRPMS/rpcbind-0.1.4-14.fc9.src.rpm)
> has 5 additional patches:
> rpcbind-0.1.4-iff_up.patch
> rpcbind-0.1.4-libwrap.patch
> rpcbind-0.1.4-localaddr.patch
> rpcbind-0.1.4-recvfrom-fix.patch
> rpcbind-0.1.4-warmstarts-cleanup.patch
>
> Trying to sync those two patchset fails, as only
> rpcbind-0.1.4-setgid.patch still applies after the new fedora patches.
> rpcbind-0.1.4-fix-crash-with-ipv6-disabled.patch and
> rpcbind-0.1.4-errno.patch are clearly obsoleted, but I can't figure out
> what to do with the two other ones.
>
> Help :)
Recently I did some clean so make sure you start with the latest version of the code which can be found at:
git://git.infradead.org/~steved/rpcbind.git
or
http://sourceforge.net/projects/rpcbind
If you are still having problems let me know...
steved.
More information about the NFSv4
mailing list