[Bug 772534] New: NFSv4 rpc.mountd refused unmount request from ... for / (/): not exported
https://bugzilla.novell.com/show_bug.cgi?id=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c0 Summary: NFSv4 rpc.mountd refused unmount request from ... for / (/): not exported Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: regi.hops@gmx.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0 Hi, I recognized a lot of the following error messages in the log file: rpc.mountd[2208]: refused unmount request from ... for / (/): not exported Normally I mount the NFSv4 shares with autofs. But the same result happens when I mount them via YaST in the NFS-Client. Reproducible: Always Steps to Reproduce: 1. mount the NFSv4 share server:/ 2. unmount the NFSv4 share 3. error message on the NFSv4 server Actual Results: rpc.mountd[2208]: refused unmount request from ... for / (/): not exported Expected Results: Clean unmount Here is the content of exports (Server): /srv/nfsroot \ *.ncc1701(fsid=0,crossmnt,rw,root_squash,sync,no_subtree_check) /srv/nfsroot/Public \ *.ncc1701(bind=/local/public,rw,root_squash,sync,no_subtree_check) /srv/nfsroot/Server \ *.ncc1701(bind=/srv/server,rw,root_squash,sync,no_subtree_check) On the client the shares are mounted using autofs. auto.master: /local/Shares/NFS1701 auto.nfs1701 --timeout 10 auto.nfs1701: NCC -fstype=nfs4,soft,retry=10,rsize=32768,wsize=32768 server:/ A search via Google gives the following bug report for Fedora, may this could be an additional hint: https://bugzilla.redhat.com/show_bug.cgi?id=270541 -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c Dirk Weißnich <regi.hops@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.pr |nfbrown@suse.com |ovo.novell.com | -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c1 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |regi.hops@gmx.net --- Comment #1 from Neil Brown <nfbrown@suse.com> 2012-07-26 02:16:08 UTC --- This error message on the server implies incorrect behaviour on the client. Are you running openSUSE 12.1 on both server and client? If not, please state exactly what versions of Linux and nfs-utils are running on the client (uname -a; showmount -v) -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c2 Dirk Weißnich <regi.hops@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|regi.hops@gmx.net | --- Comment #2 from Dirk Weißnich <regi.hops@gmx.net> 2012-07-27 15:20:13 UTC --- (In reply to comment #1) Hi Neil, both running the same version, there is only a difference in the kernel flavor. here is the output: Client: Linux cp-dirk.ncc1701 3.1.10-1.16-desktop #1 SMP PREEMPT Wed Jun 27 05:21:40 UTC 2012 (d016078) x86_64 x86_64 x86_64 GNU/Linux showmount for 1.2.5 Server: Linux ncc 3.1.10-1.16-default #1 SMP Wed Jun 27 05:21:40 UTC 2012 (d016078) x86_64 x86_64 x86_64 GNU/Linux showmount for 1.2.5 -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c3 --- Comment #3 from Dirk Weißnich <regi.hops@gmx.net> 2012-07-27 15:46:20 UTC --- Here is also an output from df -h, may it's of interest that the "Public" share is on a single hard disk, and the "Server" share is on a MD-Device which is a Soft-RAID level 1. /boot is EXT2, everything else is XFS. rootfs 32G 18G 15G 55% / devtmpfs 996M 44K 996M 1% /dev tmpfs 999M 0 999M 0% /dev/shm tmpfs 999M 428K 999M 1% /run /dev/sda2 32G 18G 15G 55% / /dev/sda1 1011M 19M 941M 2% /boot /dev/sda4 662G 605G 58G 92% /local /dev/md1 932G 904G 28G 98% /srv tmpfs 999M 428K 999M 1% /var/lock tmpfs 999M 428K 999M 1% /var/run tmpfs 999M 0 999M 0% /media /dev/sda4 662G 605G 58G 92% /srv/nfsroot/Public /dev/md1 932G 904G 28G 98% /srv/nfsroot/Server -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c4 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |regi.hops@gmx.net --- Comment #4 from Neil Brown <nfbrown@suse.com> 2012-07-31 06:47:14 UTC --- It looks like it is trying to unmount as an nfsv3 filesystem even though it is nfsv4. This can happen if it gets confused about the version. Can you please collect the result of cat /proc/mounts cat /etc/mtab cat /run/mount/utab just before an unmount which causes the error message to appear on the server? It is probably that the first two are identical as /etc/mtab should be a link to /proc/mounts. Hopefully there will be a clue in there. -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c5 --- Comment #5 from Dirk Weißnich <regi.hops@gmx.net> 2012-07-31 21:02:06 UTC --- Created an attachment (id=500619) --> (http://bugzilla.novell.com/attachment.cgi?id=500619) First Test-Result-Output -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c6 --- Comment #6 from Dirk Weißnich <regi.hops@gmx.net> 2012-07-31 21:02:50 UTC --- Created an attachment (id=500620) --> (http://bugzilla.novell.com/attachment.cgi?id=500620) Second Test-Result-Output -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c7 Dirk Weißnich <regi.hops@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|regi.hops@gmx.net | --- Comment #7 from Dirk Weißnich <regi.hops@gmx.net> 2012-07-31 21:21:06 UTC --- I created two attachments with the output from the 3 commands and there are also the "auto.master" and "auto.nsf1701" files included used for testing. What I did first, I run the three commands before and after the error message appears. Then I changed the fstype in the "auto.nfs1701" from nfs4 to nfs and run the same test again. Interesting for me was, that in the second test no error message came up on the server, and the output of utab shows an entry "vers=4" - which is missing when I set the fstype to nfs4. I double checked it: Setting fstype=nfs4 -> utab has no "vers"-entry Setting fstype=nfs -> utab has "vers=4" Hope that helps to narrow it down. Regards Dirk -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c8 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #8 from Neil Brown <nfbrown@suse.com> 2012-07-31 21:29:40 UTC --- Yes, that helps a lot. Thanks. So as a work-around you can just use "fstype=nfs". That defaults to NFSv4 and everything works. However there is definitely a bug in mount.nfs as it should report "vers=4" in utab when you mount with "-t nfs4". I'll see if I can find and fix that. -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c9 --- Comment #9 from Dirk Weißnich <regi.hops@gmx.net> 2012-08-01 17:13:14 UTC --- Thank you too for your support. I'll use the work-around, and if you need someone for testing just add a note ;-). Cheers Dirk -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c10 --- Comment #10 from Neil Brown <nfbrown@suse.com> 2012-08-09 03:27:03 UTC --- Just FYI, the fix is in upstream nfs-utils now: http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=b0b342201140... I'll try to get it into openSUSE at some stage. -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c11 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #11 from Neil Brown <nfbrown@suse.com> 2012-09-27 02:13:30 UTC --- I've added the patch to our 'Base:System' collection so it'll definitely be in 12.3. Given the low severity and the easy work-around, I won't push and update for 12.2 unless some other nfs-utils issue comes up. -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c12 --- Comment #12 from Dirk Weißnich <regi.hops@gmx.net> 2012-10-15 18:37:27 UTC --- Thanks for the info. I tried the changes in the sources on my test machine and everything looks fine. So from my side QA can close the bug :-) Have fun... Dirk -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c13 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #13 from Benjamin Brunner <bbrunner@suse.com> 2012-10-25 14:42:18 CEST --- Neil, could you rename the new patches to foo.patch, please and add the full name of the patches to the particular .changes-entry and submit it again please. (see the new patchtagging-guidelines of the opensuse-review-team http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines ) Unfortunately the submission is already accepted and I'm not allowed to reopen it. -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c14 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #14 from Neil Brown <nfbrown@suse.com> 2012-10-25 21:31:28 UTC --- I hadn't realised that ".patch" was a requirement. Fixed now. mr 139346 -- 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=772534 https://bugzilla.novell.com/show_bug.cgi?id=772534#c15 --- Comment #15 from Swamp Workflow Management <swamp@suse.de> 2012-10-31 13:08:44 UTC --- openSUSE-RU-2012:1416-1: An update that has three recommended fixes can now be installed. Category: recommended (low) Bug References: 772534,779851,785803 CVE References: Sources used: openSUSE 12.2 (src): nfs-utils-1.2.6-2.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.
participants (1)
-
bugzilla_noreply@novell.com