Project

General

Profile

Actions

Bug #2901

closed

librados-config should not read ceph.conf

Added by Anonymous over 11 years ago. Updated over 10 years ago.

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

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

[0 tv@dreamer ~]$ strace -e open .../librados-config
...
open("/etc/ceph/ceph.conf", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("~/.ceph/ceph.conf", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("ceph.conf", O_RDONLY)             = -1 ENOENT (No such file or directory)
usage: librados-config [option]
where options are:
  --version                    library version
  --vernum                     library version code
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
2012-08-02 11:47:28.130855 7fb7d076e780 -1 did not load config file, using default settings.
[1 tv@dreamer ~]$ 

Filing a separate ticket for that literal ~

Actions #1

Updated by Sage Weil over 10 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF