Bug 745746
Summary: | Unable to umount nfs shares using the force option | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Federico Simoncelli <fsimonce> | ||||
Component: | util-linux | Assignee: | Karel Zak <kzak> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 16 | CC: | abaron, danken, fsimonce, jonathan, kzak | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | util-linux-2.20.1-1.fc16 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-10-25 03:45:32 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Fixed in upstream by commit ff4c00f94a82addaa8b8ca67dec1ea7a5283ae5b. The Fedora package will be updated ASAP. Thanks! util-linux-2.20.1-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/util-linux-2.20.1-1.fc16 Package util-linux-2.20.1-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing util-linux-2.20.1-1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-14685 then log in and leave karma (feedback). util-linux-2.20.1-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 527925 [details] util-linux-2.20-umount-force-fix.patch Description of problem: It is impossible to umount an nfs share using the -f (force) option. Version-Release number of selected component (if applicable): nfs-utils-1.2.5-0.fc16 util-linux-2.20-1.fc16 How reproducible: 100% Steps to Reproduce: # mktemp -d /tmp/tmp.o3J5KAB8rG # mount -t nfs srv1:/export1 /tmp/tmp.o3J5KAB8rG # mount | grep /tmp/tmp.o3J5KAB8rG srv1:/export1 on /tmp/tmp.o3J5KAB8rG [...] # umount -t nfs -f /tmp/tmp.o3J5KAB8rG # mount | grep /tmp/tmp.o3J5KAB8rG srv1:/export1 on /tmp/tmp.o3J5KAB8rG [...] Actual results: The nfs share is not unmounted. Expected results: The nfs share must be unmounted. Additional info: The problem is in the libmount-2.20-1.fc16, the mnt_context_umount_setopt confuses the -f (force) option with the -f (fake) option used during mount. A patch to fix the issue is attached.