The d_automount is the callback into the filesystem to mount a sub-
filesystem upon access to a directory. autofs does use it, but nfs uses
it too for subshares even without autofs.

So far I'm not seeing any connection between my patch and the crash, I'm
wondering if you've encountered another bug just by coincidence. I don't
know the code in question well though so there may be something I'm
missing.

The "fix" isn't really a final fix though, just testing an idea I had
about what might be causing it. 4.4.0-38 contains a patch (backported
from 4.8) which changes the current credentials to those of root before
trying to automount a submount, so that a recently added capability
check will pass. I guessed that the id changes might be causing kerberos
authentication to fail, so the patch makes a copy of the user's
credentials but with the required capability instead of using root's
creds.

The root of the kernel crash messages looks to be a GPF when reading
from an rpc pipe, which has nothing to do with the credentials that I
can see. So I'm not sure how the two would be connected.

The fact that it does help tells me that I'm on the right track though.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1649292

Title:
  NFS client : permission denied when trying to access subshare, since
  kernel 4.4.0-31

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1649292/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to