bugGluster - Bugs: bug #22500, /sbin/mount.glusterfs does not...

 
 

bug #22500: /sbin/mount.glusterfs does not honor prefix

Submitted by:  LI Daobing <lidaobing>
Submitted on:  Thu 06 Mar 2008 02:26:52 AM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: User Interface Bug
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Operating System: NoneReproducibility: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 03 Feb 2009 10:41:41 AM UTC, comment #3:

mount.glusterfs should always goto /sbin as mount command checks for mount.<type> in "-t <type>" in only /sbin directory, hence we cannot send 'mount.glusterfs' to any other path.

Marking it invalid and closing the bug.

Regards,
Amar

Amar Tumballi <amarts>
Project Member
Sat 12 Apr 2008 02:07:06 AM UTC, comment #2:

What is the conclusion about the bug? valid? invalid? need to be fixed? already fixed?

Amar Tumballi <amarts>
Project Member
Thu 06 Mar 2008 03:26:05 AM UTC, comment #1:

Hi Daobing,

version check between client and server is available glusterfs--mainline--2.5--patch-603 onwards

regards,
Raghavendra

Raghavendra G <raghavendrahg>
Thu 06 Mar 2008 02:26:52 AM UTC, original submission:

Hello,

currently I install several version of glusterfs on one system with "./configure --prefix=/usr/lib/glusterfs-<ver>", but /sbin/mount.glusterfs does not honor prefix, and it's overwrited every time.

much worse things happened: I have a monitor on the glusterfs system, when it detect a problem, he will umount gluster file system and remount it with "mount -a". under this case, he use a glusterfs client with new version to connect with the glusterfs server v1.3.7. then all the server crashed. BOOM!

yes, this is a small bug, but make me very uncomfortable.

suggested solution:

install mount.glusterfs on the @prefix@/sbin/mount.glusterfs, then make a soft link at /sbin/mount.glusterfs (if it's already exist, this step will fail(as expected)).

another solution is just add a --disable-mount-glusterfs in ./configure

How about fix this problem? Thanks.

anyway, it's better to make server check whether the client version is acceptable when connecting with a client. (it should be a separated bug)

LI Daobing <lidaobing>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by amarts (Posted a comment)
  • -unavailable- added by raghavendrahg (Posted a comment)
  • -unavailable- added by lidaobing (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 03 Feb 2009 10:41:41 AM UTCamartsStatusNeed Info=>Invalid
      Originator Name=>
      Open/ClosedOpen=>Closed
    Sat 12 Apr 2008 02:07:06 AM UTCamartsStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1