Bug 702664 - Umount not possible
Summary: Umount not possible
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cifs-utils
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeff Layton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 705477
TreeView+ depends on / blocked
 
Reported: 2011-05-06 14:12 UTC by Pavel Alexeev
Modified: 2014-06-18 07:41 UTC (History)
5 users (show)

Fixed In Version: cifs-utils-4.9-2.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 705477 (view as bug list)
Environment:
Last Closed: 2011-05-25 03:02:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pavel Alexeev 2011-05-06 14:12:45 UTC
Description of problem:
[pasha@vbox smolrg]$ mount /mnt/net/y
[pasha@vbox smolrg]$ 
[pasha@vbox mnt]$ umount /mnt/net/y 
umount: /mnt/net/y mount disagrees with the fstab

/etc/fstab related record:
//192.168.100.199/updater /mnt/net/y cifs users,noauto,guest,uid=500,gid=500,file_mode=0666,dir_mode=0777,iocharset=utf8 0 0

I think it is known problem with available patch. Please look at: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/99437

Version-Release number of selected component (if applicable):
$ rpm -qf `which mount`
util-linux-2.19-4.fc15.i686

How reproducible:
Always.

Comment 1 Karel Zak 2011-05-09 07:33:36 UTC
The problem is that fstab does not match with mtab, right? For example:

fstab:                //foo.com/path
mtab (/proc/mounts):  //foo.com/path/

The umount(8) command (for non-root users) requires that the first field in fstab matches with the first field from mtab (or /proc/mounts).

The mount.cifs should not add the extra '/' to the end of the source path or cifs docs should be updated and the '/' should be required in all fstabs.

Comment 2 Jeff Layton 2011-05-16 11:00:42 UTC
Yep, this was actually fixed in "mainline" cifs-utils a couple of weeks ago by just having it pass the "device" string from userspace to the kernel directly (instead of trying to reconstruct it).

Comment 3 Fedora Update System 2011-05-16 14:20:46 UTC
cifs-utils-4.9-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/cifs-utils-4.9-2.fc15

Comment 4 Pavel Alexeev 2011-05-16 19:11:09 UTC
Could you please post update for Fedora 14 too?

Comment 5 Jeff Layton 2011-05-16 20:46:21 UTC
(In reply to comment #4)
> Could you please post update for Fedora 14 too?

Could you open a bug for this against f14?

Comment 6 Fedora Update System 2011-05-17 05:37:51 UTC
Package cifs-utils-4.9-2.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cifs-utils-4.9-2.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/cifs-utils-4.9-2.fc15
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2011-05-25 03:02:31 UTC
cifs-utils-4.9-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.