bugGluster - Bugs: bug #19231, glusterfsd: needs full path to...

 
 

bug #19231: glusterfsd: needs full path to config file with -f parameter

Submitted by:  James Dyer <jad>
Submitted on:  Wed 07 Mar 2007 04:52:04 PM UTC  
 
Category: NoneSeverity: 4 - Important
Priority: 5 - NormalItem Group: User Interface Bug
Status: FixedPrivacy: Public
Assigned to: Anand Avati <avati>Originator Name: 
Open/Closed: ClosedRelease: 
Operating System: GNU/LinuxReproducibility: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 08 Mar 2007 05:22:39 AM UTC, comment #1:

Hi James,
yes we are aware of this problem is due to the deamon(0,0) call in glusterfsd. Same was found earlier in glusterfs where relative paths were not properly checked which was fixed. Right now you can copy the server.vol spec file to /usr/etc/glusterfs directory to make it work through by just typing ''glusterfsd'' on the command line. This will be fixed soon thanks.

harshavardhana <harshavardhana>
Project Member
Wed 07 Mar 2007 04:52:04 PM UTC, original submission:

Nothing major but:

[root@daisy gluster]# pwd
/home/jad/gluster
[root@daisy gluster]# glusterfsd -l /dev/stdout -L DEBUG -f ./server0.vol
[Mar 07 16:49:55] [ERROR/glusterfsd.c:197/main()] glusterfsd:FATAL: could not open specfile: './server0.vol'
[root@daisy gluster]# glusterfsd -l /dev/stdout -L DEBUG -f /home/jad/gluster/server0.vol
[Mar 07 16:50:05] [DEBUG/spec.y:113/new_section()] libglusterfs/parser:new_section: New node for 'brick'

Would have thought that ./server0.vol should probably work as a parameter to -f - guess there's a chdir happening somewhere beforehand.

James Dyer <jad>

 

(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 harshavardhana (Posted a comment)
  • -unavailable- added by jad (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
    Wed 04 Apr 2007 11:10:35 AM UTCharshavardhanaStatusNone=>Fixed
      Assigned toNone=>avati
      Open/ClosedOpen=>Closed
    Thu 08 Mar 2007 05:22:39 AM UTCharshavardhanaSeverity3 - Normal=>4 - Important

    Back to the top


    Powered by Savane 3.1-cleanup1