Feature #2213
rbd: shouldn't need config file to get help
Status:
Resolved
Priority:
Low
Assignee:
-
Category:
common
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
I just ran "rbd --help" on a pretty much un-configured machine and got:
global_init: unable to open config file.
Looking at the code I can see why this is the case, but it would be
nice if one could still get a reasonably helpful message, even if
things aren't yet set up properly. I imagine this goes for anything
that calls global_init().
Related issues
History
#1 Updated by Sage Weil almost 12 years ago
- translation missing: en.field_position set to 16
#2 Updated by Sage Weil almost 12 years ago
- translation missing: en.field_position deleted (
33) - translation missing: en.field_position set to 18
#3 Updated by Josh Durgin almost 12 years ago
- Category set to common
- Status changed from New to Duplicate
#4 Updated by Greg Farnum almost 12 years ago
- Status changed from Duplicate to In Progress
This is actually a little different from #2352. But keeping both in mind is better than providing a specific hack, so I'll take it too.
#5 Updated by Greg Farnum almost 12 years ago
- Status changed from In Progress to Resolved
Okay, just made it not care about config files in wip-2352.