Bug 1640003 - improper checking to avoid identical mounts
Summary: improper checking to avoid identical mounts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: fuse
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
high
Target Milestone: ---
: RHGS 3.5.0
Assignee: Csaba Henk
QA Contact: Nag Pavan Chilakam
URL:
Whiteboard:
Depends On:
Blocks: 1640026 1696807
TreeView+ depends on / blocked
 
Reported: 2018-10-17 06:56 UTC by Han Han
Modified: 2019-10-30 12:20 UTC (History)
5 users (show)

Fixed In Version: glusterfs-6.0-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1640026 (view as bug list)
Environment:
Last Closed: 2019-10-30 12:20:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2019:3249 0 None None None 2019-10-30 12:20:36 UTC

Description Han Han 2018-10-17 06:56:42 UTC
Description of problem:
As suject.

Version-Release number of selected component (if applicable):
glusterfs-fuse-3.12.2-19.el7rhgs.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Mount a fuse sshfs to /mnt
# sshfs -o allow_other,nonempty root.4.183:/tmp/mkdir /mnt

2. Mount a glusterfs to the same mount points
# mount -t glusterfs 10.66.4.183:/gv0 /mnt/                     
/sbin/mount.glusterfs: according to mtab, GlusterFS is already mounted on /mnt

The error message it not correct. Glusterfs is actually not mounted.


Actual results:
As step2

Expected results:
Glusterfs could mount.

Additional info:

Comment 2 Worker Ant 2018-10-17 07:40:31 UTC
REVISION POSTED: https://review.gluster.org/21405 (mount.glusterfs: A more explicit check to avoid identical mounts) posted (#5) for review on master by

Comment 3 Amar Tumballi 2018-11-26 08:56:52 UTC
The above said patch is now merged upstream. Next rebase to upstream would have the fix.

Comment 6 Amar Tumballi 2019-06-03 11:36:59 UTC
> Amar, I believe this should be fine

Ack! Looks fine for me.

Comment 11 errata-xmlrpc 2019-10-30 12:20:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:3249


Note You need to log in before you can comment on or make changes to this bug.