]> git.pld-linux.org Git - packages/glusterfs.git/blame - glusterfs-workdir.patch
- updated to 3.3.1 (now builds with current glibc/linux headers)
[packages/glusterfs.git] / glusterfs-workdir.patch
CommitLineData
cfcff11b
MK
1Change the default workdir of the glusterd daemon to /var/lib/glusterd instead of /etc/glusterd.
2This directory is dynamically populated by glusterd via the gluster CLI so it does better
3belong into /var/lib/.
4
5Patch by Ultrabug.
6
7--- a/xlators/mgmt/glusterd/src/glusterd.h 2010-10-13 06:20:37.000000000 +0200
8+++ b/xlators/mgmt/glusterd/src/glusterd.h 2010-10-26 10:47:52.747265444 +0200
9@@ -204,7 +204,7 @@
10 GLUSTERD_VOL_COMP_RJT,
11 };
12
13-#define GLUSTERD_DEFAULT_WORKDIR "/etc/glusterd"
14+#define GLUSTERD_DEFAULT_WORKDIR "/var/lib/glusterd"
15 #define GLUSTERD_DEFAULT_PORT GF_DEFAULT_BASE_PORT
16 #define GLUSTERD_INFO_FILE "glusterd.info"
17 #define GLUSTERD_VOLUME_DIR_PREFIX "vols"
4d40ce33
JB
18--- glusterfs-3.3.1/doc/gluster.8.orig 2012-12-17 21:18:56.608637562 +0100
19+++ glusterfs-3.3.1/doc/gluster.8 2012-12-17 21:37:38.258614182 +0100
20@@ -160,7 +160,7 @@
21 Exit the gluster command line interface.
22
cfcff11b
MK
23 .SH FILES
24-/etc/glusterd/*
25+/var/lib/glusterd/*
cfcff11b
MK
26 .SH SEE ALSO
27 .nf
4d40ce33 28 \fBfusermount\fR(1), \fBmount.glusterfs\fR(8), \fBglusterfs\fR(8), \fBglusterd\fR(8)
cfcff11b
MK
29--- a/doc/glusterd.8 2010-10-13 06:20:36.000000000 +0200
30+++ b/doc/glusterd.8 2010-10-26 10:48:44.898729373 +0200
31@@ -70,7 +70,7 @@
32
33 .PP
34 .SH FILES
35-/etc/glusterd/*
36+/var/lib/glusterd/*
37
38 .SH SEE ALSO
39 .nf
This page took 0.085664 seconds and 4 git commands to generate.