Bug 57286
Summary: | umount changes /etc/mtab in case of a failure | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | jfalk | ||||||
Component: | mount | Assignee: | Elliot Lee <sopwith> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 7.1 | CC: | diego.santacruz, joachim.falk, mitr | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2003-08-13 16:32:26 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: |
|
Description
jfalk
2001-12-08 20:40:58 UTC
Created attachment 40147 [details]
fix
I can also confirm this problem with mount-2.11g-5. This also happens when mount is run from initlog, which happens in the initscripts. Therefore it is not a rarely occuring bug. As a consequence the "netfs stop" script does not work correctly and leaves NFS mounts alive when a process is using the mount. The first umount attempt will erroneously delete the mount entry from /etc/mtab (without having umounted the fs since it's busy), then the script goes on killing the problematic process, and the successive "mount -f -a -t nfs" calls will do nothing since no NFS entry appears in /etc/mtab any longer, leaving the NFS mount alive. This is serious since, because of this bug, the "netfs stop" script will leave "hidden" NFS mounts lurking. By "hidden" I mean that mount will not show them, but they appear in /proc/mounts. I'm using RedHat 7.2 on a laptop and this is biting me very often (since apm suspend runs netfs stop). I would appreciate very much if it got fixed and a new RPM got released for 7.2 and all other versions suffering from this. Thanks in advance. Created attachment 66564 [details]
Improved, less intrusive fix (against mount-2.11g-5).
This fix appears to be in util-linux-2.11y, so the latest dist release should be fine. I don't plan on releasing a 7.x erratum with the fix. Apologies for the loooong delay. |