[uClibc] uClibc & nfs-utils (nfs-server)

Pete Flugstad peteflugstad at mchsi.com
Wed Feb 18 22:26:32 UTC 2004


Alexandre Oliva wrote:
> On Feb 18, 2004, Pete Flugstad <peteflugstad at mchsi.com> wrote:
>>I fixed those (bzero is in libutil, and I wrote a getrpcbynumber_r
>>that just called getrpcbynumber and copied the result into the
>>passed in buffer).
> 
> Eeew...  That's not reentrant at all.  It might very well be the case
> of the other failures you're getting.

I'm not terribly worried about it as I really doubt this is what's 
causing my failures.  I should probably add locking (it's only called 
from one spot in the nfs-utils code, so if I add locking, that would 
seem to fix the problem).

More debugging indicates that function export_export sets up a big 
structure, then calls nfsctl(NFSCTL_EXPORT, ...).  This call is failing 
with an errno of Invalid Argument.  I think I need to talk to the 
nfs-utils guys and see what they think.

Has anyone gotten the nfs-server (kernel based) to work on a uClibc system?

Pete



More information about the uClibc mailing list