rpc.gssd FD_ALLOC_BLOCK too low

Bug #191872 reported by Niall Sheridan
6
Affects Status Importance Assigned to Milestone
nfs-utils (Ubuntu)
Fix Released
Undecided
Timo Aaltonen

Bug Description

The max number of sec=krb5 mounts that rpc.gssd will handle is hardcoded at 32. From utils/gssd/gssd.h:
#define FD_ALLOC_BLOCK 32

This causes problems and errors like:
 RPC: AUTH_GSS upcall timed out.
when the number of kerberized nfs mounts approaches the hard limit.

Since linux supports a maximum of 256 nfs mounts, perhaps this number can be upped to 200 or so.

Revision history for this message
Niall Sheridan (niall) wrote :

debdiff attached.

Revision history for this message
Matt T. Proud (matttproud-google) wrote :

How does this patch look to everybody? Is this a candidate for inclusion in Hardy before the release?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Please ask on the linux-nfs mailing list.. there's a 1.1.2 release coming up, but it could come out already this weekend.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

..but to comment on the patch; it seems silly that the limit is so low.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

I'll ask upstream if this could be included in 1.1.2.

Changed in nfs-utils:
assignee: nobody → tjaalton
status: New → In Progress
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Heh, this is actually fixed in upstream git, where the limit is now the same 256.

Revision history for this message
Niall Sheridan (niall) wrote :

Probably just as well. I just noticed that I bumped the wrong value (MAX_FILE_NAMELEN instead of FD_ALLOC_BLOCK) in my debdiff.
Any chance the upstream patch will make it into hardy?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nfs-utils - 1:1.1.1-12ubuntu4

---------------
nfs-utils (1:1.1.1-12ubuntu4) hardy; urgency=low

  * Add 50-upstream-1.1.2-fd-allow-block.patch from upstream 1.1.2,
    to allow more krb5 mounts (LP: #191872).

 -- Kees Cook <email address hidden> Tue, 11 Mar 2008 14:35:06 -0700

Changed in nfs-utils:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.