Bug 350561

Summary: GFS2: gfs2_tool command should ignore trailing "/" on mount point path
Product: Red Hat Enterprise Linux 5 Reporter: Kiersten (Kerri) Anderson <kanderso>
Component: gfs2-utilsAssignee: Robert Peterson <rpeterso>
Status: CLOSED DUPLICATE QA Contact: GFS Bugs <gfs-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.1CC: rkenna
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: 2007-10-24 15:54:34 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 Kiersten (Kerri) Anderson 2007-10-24 15:07:46 UTC
Description of problem:
gfs2_tool doesn't ignore the trailing slash on the mount point pathname. This
gives you the following results:
[root@kool gfs2]# gfs2_tool gettune /mnt/aol_tests/
gfs2_tool: unknown mountpoint /mnt/aol_tests/, no device found

Since shell filename completion will insert the "/", this will be a common error
customers will observe.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Robert Peterson 2007-10-24 15:44:48 UTC
I already opened 345501 to fix this in a more general case.
In gfs2, the user commands pretty much all use libgfs2, and libgfs2
has a generic function check_for_gfs2() that has this bug.  Bug #345501
was opened to fix that function, and gfs2_tool should pick that up
automatically.  Okay to close this as a dup?


Comment 2 Kiersten (Kerri) Anderson 2007-10-24 15:54:34 UTC

*** This bug has been marked as a duplicate of 345501 ***