|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006101||CentOS-6||autofs||public||2012-11-27 19:05||2012-11-27 19:05|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||Fixed in Version|
|Summary||0006101: autofs attempts to mount locally exported NFSv4 file systems using bind mount|
|Description||Bind mounting local exports works for NFSv3 as the local path can be determined from the NFS arguments. However, NFSv4 exports a virtual file tree. The automounter can not correctly determine which local directory to bind mount at the target location.|
It would appear previous versions of autofs respected the "-fstype=nfs4" configuration. (See https://bugzilla.redhat.com/show_bug.cgi?id=153670)
Note: As a work-around, specifying the NFS port in the map file causes the automounter to do the right thing. I expect the fix here is to add (restore?) a similar check for "nfs4".
|Steps To Reproduce||Setup a server to export home directories from /export/home and configure autofs to mount those home directories under /home. See the attached configuration files.|
The automounter will attempt to bind mount /home/username to /home/username. This is obviously a problem. See the attached debug output.
|Tags||No tags attached.|
|2012-11-27 19:05||allpoints||New Issue|
|2012-11-27 19:05||allpoints||File Added: auto.home|
|2012-11-27 19:05||allpoints||File Added: exports|
|2012-11-27 19:05||allpoints||File Added: DebugOutput.txt|