2025-07-14T19:38:18Z

Dorian Taylor

Having to `sudo kinit` as yourself obviates the point of non-root user mounts: why not just `sudo mount /nfs/share` instead?

However, the ticket expected by the system is not the principal associated with root, but the non-root user.

NFS Bug (Demo)

Non-root user can't mount a kerberized NFSv4 share.

Root's ticket expires which causes NFS to freeze in a really ugly way.

Workaround: have root `kinit` as the non-root principal.

You need to have two tickets; one for the non-root user and the other for root as the non-root user.