[Gluster-devel] Change DEFAULT_WORKDIR from hard-coded value

Harshavardhana harsha at harshavardhana.net
Tue Jul 15 01:44:15 UTC 2014


http://review.gluster.org/#/c/8246/

Two important things it achieves

- Break-way from '/var/lib/glusterd' hard-coded previously,
  instead rely on 'configure' value from 'localstatedir'
- Provide 's/lib/db' as default working directory for gluster
  management daemon for BSD and Darwin based installations

"${localstatedir}/db" was used for FreeBSD (In fact FreeNAS) - where
we are planning for a 3.6 release integration as an experimental
option perhaps to begin with.

Since "${localstatedir}/lib" is non-existent on non-linux platforms,
it was decided as a natural choice.

Future changes in next set would be migrate all the 'tests/*' to
handle non '/var/{lib,db}' directories.

Need your reviews on the present patchset, please chime in - thank you!

-- 
Religious confuse piety with mere ritual, the virtuous confuse
regulation with outcomes


More information about the Gluster-devel mailing list