Description of problem: If you try to mount an export that is not exported to the client, you get an error message of permission denied, but mount returns exit code 0, indicating success. This breaks the automounter, which needs to know that the mount failed. Version-Release number of selected component (if applicable): 1.0.9-37.el5 How reproducible: 100% Steps to Reproduce: See problem description. I will also check to see if the autofs rhts tests will catch this.
It seem the regression happen with the fix to https://bugzilla.redhat.com/show_bug.cgi?id=438418
Created attachment 319642 [details] Proposed patch
Fixed in nfs-utils-1.0.9-38.el5
I tested the updated package and found that: 1) it returns exit code 32 for the permission denied case 2) it returns success when it successfully mounts 3) automount behaviour has returned to normal. Cheers.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0107.html