diff options
| author | Shwetha K Acharya <sacharya@redhat.com> | 2019-10-16 14:53:22 +0530 |
|---|---|---|
| committer | Amar Tumballi <amarts@gmail.com> | 2019-10-17 06:34:35 +0000 |
| commit | b0ea2d10f7668f1d1076e06ec165230526d8b892 (patch) | |
| tree | aecd4514e932db46585f410069b0ce42677cf2f1 /doc/developer-guide/commit-guidelines.md | |
| parent | f737a745b54c2dffe5e3e3203cea1eecf1c7ecf1 (diff) | |
build: var data is saved under $prefix instead of localstatedir
Problem:glusterfind saves var data under $prefix,
even though the localstatedir is mentioned while installing i.e, when we
install glusterfs with ./configure --prefix=/path/to/prefix
--localstatedir=/path/to/var
This happens because, glusterfind stores working dir as,
working_dir=@GLUSTERFSD_MISCDIR@/glusterfind/
and in configure.ac, GLUSTERFSD_MISCDIR is defined as:
GLUSTERFSD_MISCDIR="$(eval echo $prefix)/var/lib/misc/glusterfsd"
Solution: $localstatedir is used instead of $prefix while defining,
GLUSTERFSD_MISCDIR to avoid such anomaly.
fixes: bz#1489610
Change-Id: I431a63c14bee23a1aac612a3dcb0431cb29ca4a2
Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
Diffstat (limited to 'doc/developer-guide/commit-guidelines.md')
0 files changed, 0 insertions, 0 deletions
