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

 
 

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

Submitter:  James Dyer <jad>
Submitted:  Wed 07 Mar 2007 04:52:04 PM UTC
   
 
Category:  None Severity:  4 - Important
Priority:  5 - Normal Item Group:  User Interface Bug
Status:  Fixed Privacy:  Public
Assigned to:  avati Originator Name:  *
Open/Closed:  Closed Release: 
Operating System:  GNU/Linux Reproducibility:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by harshavardhana (Posted a comment)
  • -email is unavailable- added by jad (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-04-04 harshavardhana StatusNone Fixed
        Assigned toNone avati
        Open/ClosedOpen Closed
    2007-03-08 harshavardhana Severity3 - Normal 4 - Important

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code