Bug#913473: NFSv4 with Kerberos broken on ARM because rpc.gssd truncates 32-bit [GU]IDs to 16 bits
Package: nfs-common
Version: 1.3.4-2.3
Attempting to access a Kerberised NFSv4 share with nfs-common 1:1.3.4-2.3 on ARM can result in invalid 'key has expired' errors when UIDs or GIDs are >= 2^16. This is because rpc.gssd is using the wrong setres[gu]id syscalls that truncate the [GU]IDs to 16 bits.
A Ubuntu user had already tracked down and worked out a fix for this in :
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1779962
Around the same time I reported it on Fedora against nfs-utils-2.3.2-0.fc28.armv7hl:
https://bugzilla.redhat.com/show_bug.cgi?id=1595927
The fix was eventually upstreamed to nfs-utils-2.3.3, and Ubuntu patch it in their nfs-utils 1.3.4-2.2ubuntu3. It should probably be applied in the Debian-maintained builds too.
[I'm actually using Raspbian 9 on armv7l.]
Reply to: