--datadir is not relative to --basedir

Bug #976069 reported by Daniel Nichter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
New
Undecided
Unassigned

Bug Description

The drizzled --help for --basedir says: "Path to installation directory. All paths are usually resolved relative to this." This does not seem to be true. If basedir=/foo and datadir=data is specified, Drizzle fails to start with an error like "Aborting:"Data directory foo/data does not exist". Abort was called from drizzled/main.cc:297 in main()"

Perhaps all paths are no longer relative to --basedir and the --help just needs to be updated? Or, all paths are supposed to be relative to --basedir and this is a bug in the code.

Revision history for this message
Henrik Ingo (hingo) wrote :

Are you sure about that error message?

I would understand "data" or "/foo/data" but it seems "foo/data" is an entirely different kind of bug: basedir is there but relative instead of absolute.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.