Bug 526286
Summary: | Cluster FS resource doesn't ignore bind mounts during status check | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Eric Johnson <eric.johnson> |
Component: | rgmanager | Assignee: | Lon Hohberger <lhh> |
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 5.4 | CC: | cluster-maint, edamato |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rgmanager-2.0.52-1.35.el5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-03-30 08:49:37 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: |
Description
Eric Johnson
2009-09-29 16:32:36 UTC
The way bind mounts work is actually more accurately reflected in /proc/mounts than in /etc/mtab (or the output of the 'mount' command). For example: mount -t ext3 /dev/sdb3 /foo mount -o bind /foo /mnt/tmp umount /foo ... the output of 'mtab' is nonsensical: you have something for which you have no record (/foo) now bind-mounted on /mnt/tmp. Consequently, the only solution to this problem without causing very strange behavior in some cases is to simply remove the warning message. Actually, here's a more correct fix: - check all mounts - if we are mounted in the right place, return success - if not, log a warning w/ the last-read (incorrect) mount point This will catch the case where an administrator umounts the original mount point but has other locations bind-mounted. The side effect is that only one bind mount will be logged per incident. The 'start' phase was producing an incorrect warning as a result of the previous patch; this fixes it. http://git.fedorahosted.org/git/?p=cluster.git;a=commit;h=8d523d56d6d36b7b84ebafb923908a3a79b72938 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/RHBA-2010-0280.html |