| Summary: | If you recursively mount Gluster freezes. It should error and fail to mount. | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Craig Carl <craig> |
| Component: | scripts | Assignee: | Rajesh <rajesh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | mainline | CC: | aavati, gluster-bugs, jdarcy, rajesh, vagarwal, vijay |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Craig Carl
2010-10-22 11:41:49 UTC
Glusterfs program cannot control whether the mount point is valid or not. True, but Gluster can send an error instead of just crashing. We don't need recursive mounts to work, we just want a meaningful error message and Gluster not to crash. (In reply to comment #2) > True, but Gluster can send an error instead of just crashing. We don't need > recursive mounts to work, we just want a meaningful error message and Gluster > not to crash. Gluster is not crashing in this case. It freezes. It is hard to detect, actually almost impossible to detect, if the same directory which is about to be mounted upon, also happens to be the export directory (or its parent directory, or its sub-directory - it would have frozen in those cases as well) of the same volume. Or in a more complicated setup, volume A's mount being volume B's export and volume B's mount being volume A's export (or more such hops). Avati *** Bug 2495 has been marked as a duplicate of this bug. *** Planing to keep 3.4.x branch as "internal enhancements" release without any features. So moving these bugs to 3.4.0 target milestone. CHANGE: http://review.gluster.com/314 (Adding check_recursive_mount() in mount.glusterfs.in) merged in master by Anand Avati (avati) |