Actions
Bug #2902
closedcommon lib tries to open literal ~/.ceph/ceph.conf
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 ~/src/ceph.git/src/ceph ... 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) 2012-08-02 11:49:18.887793 7fe963dd1780 -1 did not load config file, using default settings. unable to find any monitors in conf. please specify monitors via -m monaddr or -c ceph.conf 2012-08-02 11:49:18.888172 7fe963dd1780 -1 ceph_tool_common_init failed. [1 tv@dreamer ~]$
POSIX does not expand ~ for you, it's purely a shell-level convention.
Actions