If umount.cifs is called by a user to unmount a user-mounted filesystem, the /etc/mtab entry will not be cleaned up if the mount point is specified on the commandline with a trailing slash. The reason for this is that mount points are canonicalized within /etc/mtab with no trailing slash, but umount.cifs compares the mountpoint values in /etc/mtab to the commandline option without trimming trailing slashes. Patch to follow.
Created attachment 2812 [details] trim trailing slashes to canonicalize mountpoint names on unmount Simple patch to canonicalize any mountpoint names passed to umount.cifs by removing trailing slashes
Committed for v3-2-test in: http://gitweb.samba.org/?p=samba.git;a=commit;h=118fd6213d5f6419f654e9226a41d527c04346f7 and for v3-0-test in: http://gitweb.samba.org/?p=samba.git;a=commit;h=ea97a10df5732dfcc931197a01d6446ed92b7658 Michael