Project

General

Profile

Bug #23215

config.cc: ~/.ceph/$cluster.conf is passed unexpanded to fopen()

Added by Rishabh Dave over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

parse_file() in "src/dmclock/sim/src/ConfUtils.cc" receives a filename without the tilde being expanded to corresponding path. Perhaps, it should be treated the same way $data_dir is [1].

[1] https://github.com/ceph/ceph/pull/20598#issuecomment-370238988

History

#1 Updated by John Spray over 4 years ago

  • Project changed from Ceph to rbd

(I think this is rbd, right?)

#2 Updated by Jason Dillaman over 4 years ago

  • Project changed from rbd to RADOS

#3 Updated by Kefu Chai over 4 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF