Bug 485004
Summary: | Move mount doesn't correctly update mtab | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Ian Kent <ikent> | ||||
Component: | util-linux | Assignee: | Karel Zak <kzak> | ||||
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE <qe-baseos-auto> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 4.7 | CC: | jmoyer, rvokal, vanhoof, ykopkova | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-05-18 19:02:14 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 460087, 477245, 485201 | ||||||
Attachments: |
|
(In reply to comment #0) > Description of problem: > > When using "mount --move" /etc/mtab doesn't get updated. > Sorry, but autofs in RHEL-4.8 needs this update. That's actually the autofs5 package in RHEL-4. Ian An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2009-0981.html |
Created attachment 331511 [details] Ported mount move patch for RHEL-4 util-linux Description of problem: When using "mount --move" /etc/mtab doesn't get updated. Sorry, but autofs in RHEL-4.8 needs this update. How reproducible: always Steps to Reproduce: 1. mkdir /tmp/mnt /tmp/tmp 2. mount <server>:/<path> /tmp/tmp 3. mount --move /tmp/tmp /tmp/mnt Actual results: After the steps above /etc/matb has: <server>:/<path> /tmp/tmp nfs .... /tmp/tmp /tmp/mnt none ... but /proc/mounts has: <server>:/<path> /tmp/mnt nfs .... Expected results: /etc/matb should have a single entry <server>:/<path> /tmp/mnt nfs .... Additional info: I believe the attached patch is the appropriate RHEL-4 port of your RHEL-5 patch for util-linux.