[Bug 789031] New: autofs regression between 12.1 and 12.2 with mounting nfs4 shares as configured with LDAP
https://bugzilla.novell.com/show_bug.cgi?id=789031 https://bugzilla.novell.com/show_bug.cgi?id=789031#c0 Summary: autofs regression between 12.1 and 12.2 with mounting nfs4 shares as configured with LDAP Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: tibirna@kde.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=512696) --> (http://bugzilla.novell.com/attachment.cgi?id=512696) autofs output (obtained with DEFAULT_LOGGING="debug") extracted from /var/log/messages User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.13 (KHTML, like Gecko) Chrome/24.0.1290.0 Safari/537.13 SUSE/24.0.1290.0 We have network topology in which user home directories are mounted from an NFS4 (only) server. Shares are defined in an LDAP server using the NisMap schema. Directories are mounted in the stations using autofs. In openSUSE 12.1 this configuration worked flawlessly. Autofs was able to automatically detect that the NFS server was v4. In openSUSE 12.2 all works correctly (LDAP server, autofs ldap configuration etc.) up to the actual mount operation. There autofs only tries a NFSv3 transaction and fails (silently!). I had to activate the debug log output in autofs to find the error reports contained in the first attachment. Upon error, the local (virtual?) directory entry for the failed attempt mount has its permissions corrupted. Its listing dr-xr-xr-x 2 root root 0 Nov 8 10:30 ctibirna becomes d????????? ? ? ? ? ? ctibirna The workaround was to modify the autofs entry in LDAP so that the nisMapEntry forces nfs4. nisMapEntry: serveur:/home/users/ctibirna became nisMapEntry: -fstype=nfs,vers4 serveur:/home/users/ctibirna This was not required in 12.1. For what is worth our NFS server is a Fedora 12 installation over which we have no control and which didn't change in any way for the last 18 months. Also, we have many openSUSE 12.1 workstations that continue to work correctly (so the problem is surely with the autofs installed from the default openSUSE 12.2 package). Reproducible: Always Steps to Reproduce: 1. Configure an NFS (v4 only) server and export a share from it 2. Configure an LDAP server to define a NisMap mount information for that share 3. Configure autofs in openSUSE 12.2 and point it to the LDAP server for it configurations 4. Try to mount the NFS4 share (cd /local/share_dir) Actual Results: Mounting fails, local share directory has its permissions corrupted. No error message whatsoever is given by default. Expected Results: Mount failing should at least give a proper error message. Mounting should not fail, NFSv4 should be automatically detected (as in openSUSE 12.1). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=789031
https://bugzilla.novell.com/show_bug.cgi?id=789031#c1
--- Comment #1 from Cristian Tibirna
https://bugzilla.novell.com/show_bug.cgi?id=789031
https://bugzilla.novell.com/show_bug.cgi?id=789031#c
Jiaying ren
https://bugzilla.novell.com/show_bug.cgi?id=789031
https://bugzilla.novell.com/show_bug.cgi?id=789031#c2
Miklos Szeredi
https://bugzilla.novell.com/show_bug.cgi?id=789031
https://bugzilla.novell.com/show_bug.cgi?id=789031#c3
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=789031
https://bugzilla.novell.com/show_bug.cgi?id=789031#c4
--- Comment #4 from Cristian Tibirna
https://bugzilla.novell.com/show_bug.cgi?id=789031
https://bugzilla.novell.com/show_bug.cgi?id=789031#c5
--- Comment #5 from Cristian Tibirna
https://bugzilla.novell.com/show_bug.cgi?id=789031
https://bugzilla.novell.com/show_bug.cgi?id=789031#c6
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=789031
https://bugzilla.novell.com/show_bug.cgi?id=789031#c
Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=789031
https://bugzilla.novell.com/show_bug.cgi?id=789031#c7
Joschi Brauchle
participants (1)
-
bugzilla_noreply@novell.com