NFSv4 network homes infinite hang or kernel panic
| Originator: | michalm.mac | ||
| Number: | rdar://24953455 | Date Originated: | 2.3.2016 |
| Status: | Duplicate of 23700068 | Resolved: | |
| Product: | OS X | Product Version: | 10.11.3 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary:
We have classroom with following setup. All Macs are bound to Linux LDAP server. Authentication is sent in cleartext inside TLS connection.
We mount home folders with automount via NFSv3 protocol.
Automount files looks like this ->
# auto_master
/home/users auto_home -nobrowse,hidefromfinder
# auto_home
* -vers=3,async,intr,soft,locallocks,noatime,rw server:/export/home/&
We would like to switch to NFSv4.
I can login in through command line:
su user
and access it's file located in home directory mounted via NFSv4
However loging in via loginwindow GUI results in infinite hang or even kernel panic.
We mount home directories manually for this test like this (same options would be used in auto_home file):
$ mount -t nfs -o vers=4 -o intr -o soft -o async -o rw -o noatime u-server:/home /home/users
$ nfsstat -m /home/users/
/home/users from server:/home
-- Original mount options:
General mount flags: 0x10000040 async,noatime
NFS parameters: vers=4,soft,intr
File system locations:
/home @ server (10.0.1.123)
-- Current mount parameters:
General mount flags: 0x14000040 async,noatime multilabel
NFS parameters: vers=4.0,tcp,port=2049,soft,intr,noresvport,callback,negnamecache,namedattr,noacl,noaclonly,locks,noquota,rsize=32768,wsize=32768,readahead=16,dsize=32768,nordirplus,nodumbtimr,timeo=10,retrans=10,maxgroups=16,acregmin=5,acregmax=60,acdirmin=5,acdirmax=60,nomutejukebox,noephemeral,nonfc,sec=sys
File system locations:
/home @ server (10.0.1.123)
Status flags: 0x0
We tried various combinations of NFS options with no success.
Steps to Reproduce:
1. Bind Mac to LDAP
2. Mount home directory path via NFSv4 protocol
3. Log in
Expected Results:
User logs in normaly.
Actual Results:
A) Infinite hang (most of the times)
B) Kernel panic
Version:
OS X 10.11.3
OS X 10.10.5
OS X 10.9.5
Notes:
Configuration:
We are able to replicate this on both Macs and OS X VMware VMs. This issue persists from OS X 10.9 Mavericks to current OS X version.
Debug log it attachment is syslog with disabled filter. normalog is regular syslog output.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!