When unmounting an NFS share, if the NFS protocol version is 3 or higher (i.e. when mount operation was performed, vers=3 was specified as a mount option), the umount will give the error: "Bad UMNT RPC: RPC: Program/version mismatch; low version = 3, high version = 3" Reproducible: Always Steps to Reproduce: 1. Make sure NFS server supports NFSv3 2. Mount one of the server's exports on a client, specifying "vers=3" in the mount options 3. Unmount the directory mounted in #2 Actual Results: The error message: Bad UMNT RPC: RPC: Program/version mismatch; low version = 3, high version = 3 occurs. Expected Results: Unmount cleanly as per the protocol version in use. This error is known to the Linux-NFS developers, and they say it is because umount assumes NFS version 2, since the protocol version is not recorded in /etc/mtab (or presumably, /proc/mounts). This is not Gentoo-specific, though it seems patches do exist to remedy the problem on other distributions. See the following Linux-NFS mailing list post: http://sourceforge.net/mailarchive/message.php?msg_id=12474691
This is not related to bug #85982 ?
maybe ... this one is odd in that the operation actually fails to work where normally it should just warn ...
Maybe related, umount regular or samba filesystems also does not work for user. The following examples show the results. All filesystems are noted in fstab and are marked user. Kernel: 2.6.13-gentoo-r3 util-linux=2.12r samba=3.0.14a-r2 mount, umount, smbmount, and smbumount are all setuid and installed as such. -rws--x--x 1 root root 9736 Oct 9 10:07 /usr/bin/smbmnt -rwxr-xr-x 1 root root 725944 Oct 9 10:07 /usr/bin/smbmount -rws--x--x 1 root root 7360 Oct 9 10:07 /usr/bin/smbumount -rws--x--x 1 root root 93332 Oct 5 06:08 /bin/mount -rws--x--x 1 root root 30044 Oct 5 06:08 /bin/umount Here is the relevant line in fstab: //gailpc/SharedDocs /mnt/smb/gail smbfs user,noauto,guest,rw,dmask=777,fmask=777 0 0 Here is a dialog from issuing various commands. Here, mount/smbumount works peter@mars ~ $ mount /mnt/smb/gail peter@mars ~ $ smbumount /mnt/smb/gail Here, mount/umount does not. In both cases, mount is fine. peter@mars ~ $ mount /mnt/smb/gail peter@mars ~ $ umount /mnt/smb/gail umount: only root can unmount //gailpc/SharedDocs from /mnt/smb/gail In addition, using a regaular file system also fails when a user tries to unmount it. If you need more info, pls advise
no, completely unrelated file a new bug