[Bug 557138] New: NFS3 exports can't be mounted any longer
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c0 Summary: NFS3 exports can't be mounted any longer Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: nfbrown@novell.com ReportedBy: sndirsch@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- Apparently you can't mounts NFS3 exports any longer. Looks like the negotiation for the nfs version is broken in mount.nfs. You now need to add the mount option nfsvers=3 to mount an NFS3 export. This breaks automounting severely here in the office Nürnberg, Germany. Example: # sudo mount langley.suse.de:/users-space /mnt mount.nfs: Operation not permitted # sudo mount -o nfsvers=3 langley.suse.de:/users-space /mnt # <works> It still works with nfs-client of openSUSE 11.2, so I assume the regression came with the update of nfs-utils from release 1.1.3 to 1.2.1, i.e. the following changelogs since 11.2: ------------------------------------------------------------------- Thu Nov 5 03:16:22 UTC 2009 - nfbrown@novell.com - New upsteam release - 1.2.1 Includes new config file: /etc/nfsmount.conf and man page. - nfs.init * implement try-restart in a more gentle fashion so that active mounts are not lost. Also allow for the fact that binary has changed when finding and killing running daemons. (bnc#543911) - start-statd * try-restart the firewall after starting statd as the firewall might need to update to reflect a new port number. - Start nfs services if any nfs related sysctl is set in /etc/sysctl.conf ------------------------------------------------------------------- Fri Oct 30 05:43:32 CET 2009 - nfbrown@suse.de - Kill processes on NFS mounts when unmounting for shutdown. This allows any 'sync' to happen before we turn off the network. (bnc#503640) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c1 Neil Brown <nfbrown@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |sndirsch@novell.com --- Comment #1 from Neil Brown <nfbrown@novell.com> 2009-11-23 00:27:11 UTC --- The new nfs-utils trys NFSv4 first and then falls back to NFSv3 if v4 doesn't work... though that seems to depend on the error code. Normally you would get ENOENT from the v4 server and in that case fall back works. However you seem to be getting EPERM from langley which I cannot seem to reproduce. 1/ is it possible to get a copy of /etc/exports from langley? I cannot log on there myself. That should help me understand the problem. 2/ if you modify /etc/nfsmount.conf to change the line # Defaultvers=4 to Defaultvers=3 it should work without having to specify "-o nfsvers=3". This is just a work-around until I fully understand the problem. Thanks. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c2 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |cschneemann@novell.com, | |wolfgang.engel@novell.com Info Provider|sndirsch@novell.com | --- Comment #2 from Stefan Dirsch <sndirsch@novell.com> 2009-11-23 06:56:25 UTC --- Oh. I can't login to langley either. but maybe this information helps already? # ypcat -k auto.mounts|grep langley users-space -rw,nosuid,rsize=8192,wsize=8192,soft,intr,nolock langley.suse.de:/users-space Wolfgang (Engel), Christian, would it be possible to provide the /etc/exports from langley so Neil can better investigate that issue? Thanks for the workaround and looking into that issue, Neil. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c7 --- Comment #7 from Neil Brown <nfbrown@novell.com> 2009-11-24 01:37:36 UTC --- Created an attachment (id=329100) --> (http://bugzilla.novell.com/attachment.cgi?id=329100) Patch to fall back from v4 to v3 when EPERM is recieved. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c8 Neil Brown <nfbrown@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #8 from Neil Brown <nfbrown@novell.com> 2009-11-24 01:39:18 UTC --- Above patch has been submitted to factory and should fix the problem. The cause of the problem is that the NFS server in Linux kernels prior to 2.6.25 returned a different error code if there was no NFSv4 export, and mount.nfs wasn't handling that error code correctly. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c9 --- Comment #9 from Stefan Dirsch <sndirsch@novell.com> 2009-11-24 05:07:32 UTC --- Thanks a lot for fixing that issue, Neil. Unfortunately I can't find this change in openSUSE:Factory/nfs-utils. Also not in the list of pending submits ('osc request list openSUSE:Factory'). Otherwise I could easily verify the fix. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c10 --- Comment #10 from Neil Brown <nfbrown@novell.com> 2009-11-24 10:11:21 UTC --- Try osc request list Base:System when I ask to "osc branch openSUSE:Factory nfs-utils" it tells me that package is really in Base:System so it branches from there. So I submit the request back to there... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c11 --- Comment #11 from Stefan Dirsch <sndirsch@novell.com> 2009-11-24 11:21:19 UTC --- I understand. Please accept your own submimt request (neilbrown is in maintainer list of this project, that's you, right?), so the fix shows up in Factory soon. Thanks. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c12 --- Comment #12 from Stefan Dirsch <sndirsch@novell.com> 2009-11-24 17:13:07 UTC --- I've just built your updated package and can confirm, that it fixes the issue. :-) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c13 --- Comment #13 from Stefan Dirsch <sndirsch@novell.com> 2009-11-25 18:50:58 UTC --- 25078 State:new By:msmeissn When:2009-11-25T16:22:51 submit: Base:System/nfs-utils -> openSUSE:Factory Descr: 'also handle EPERM' -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c14 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com --- Comment #14 from Stefan Dirsch <sndirsch@novell.com> 2009-11-28 00:12:36 UTC --- Base:System/nfs-utils> ll total 12 -rw-r--r-- 1 sndirsch suse 144 6. Okt 14:15 _link -rw-r--r-- 1 sndirsch suse 933 24. Nov 02:22 nfs-utils-eperm-fallback.patch -rw-r--r-- 1 sndirsch suse 469 24. Nov 02:22 project.diff So we now fixed it for Base:System, but not for factory ?!? I'm not sure whether I understand this new factory/buildservice/develprojects stuff. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c15 --- Comment #15 from Neil Brown <nfbrown@novell.com> 2009-11-28 00:41:54 UTC --- I'm not sure I understand it all either, but I do know this is my fault. I forgot to include a proper change log entry, so it couldn't be accepted into Factory. So I need to - create a changelog entry - commit - request it be included in Base:System - accept that request - then request it be accepted from Base:System into Factory. or maybe I can commit directly to Base:System rather than going through a branch in my Home: - I'm not sure. I'll do that Monday at the latest. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c16 --- Comment #16 from Stefan Dirsch <sndirsch@novell.com> 2009-11-28 03:02:32 UTC --- (In reply to comment #15)
I'm not sure I understand it all either, but I do know this is my fault.
I'm not sure. It wasn't my intention to blame you. I simply don't understand how these linked packages to openSUSE:Factory are supposed to work at all.
I forgot to include a proper change log entry, so it couldn't be accepted into Factory.
Indeed a changelog (in .changes file) is missing.
So I need to - create a changelog entry - commit - request it be included in Base:System - accept that request - then request it be accepted from Base:System into Factory.
Please try this first.
or maybe I can commit directly to Base:System rather than going through a branch in my Home: - I'm not sure.
Only if above 1 fails. Let me know about your results. :-)
I'll do that Monday at the latest.
No need to hurry. Enjoy your weekend! :-) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557138 http://bugzilla.novell.com/show_bug.cgi?id=557138#c18 --- Comment #18 from Marcus Meissner <meissner@novell.com> 2009-12-02 15:08:38 UTC --- I had forwarded your package from Base:system to factory and it was checked in IIRC. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com