diff options
author | Milind Changire <mchangir@redhat.com> | 2016-01-27 12:59:58 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2016-02-20 02:20:27 -0800 |
commit | 759b63536c676f4b4fa135ea62d74dff021778e4 (patch) | |
tree | 6d765d9de927844ffe34192a086bb5ef1e684744 /glusterfs.spec.in | |
parent | a47d1bf91bfc8e9dcd35c2d3019e8e98dd4a7f83 (diff) |
build: make /var/run/gluster available everywhere
/var/run/gluster was only avialable with glusterfs-server package.
Move it to primary glusterfs package so that client installations as
well as server installations can generate state-dump in that directory.
Change-Id: I1cdd2c5118ac657b2dab4f9669c6657484b8c600
BUG: 1302200
Signed-off-by: Milind Changire <mchangir@redhat.com>
Reviewed-on: http://review.gluster.org/13296
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Tested-by: Kaleb KEITHLEY <kkeithle@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r-- | glusterfs.spec.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index b0b7a1b51a8..c000f72a414 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -969,6 +969,10 @@ fi %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/stat-prefetch.so %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/write-behind.so %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/system/posix-acl.so +%dir %{_localstatedir}/run/gluster +%if 0%{?_tmpfilesdir:1} +%{_tmpfilesdir}/gluster.conf +%endif %files api @@ -1107,10 +1111,6 @@ fi %doc extras/clear_xattrs.sh %config(noreplace) %{_sysconfdir}/sysconfig/glusterd %config(noreplace) %{_sysconfdir}/glusterfs -%dir %{_localstatedir}/run/gluster -%if 0%{?_tmpfilesdir:1} -%{_tmpfilesdir}/gluster.conf -%endif %dir %{_sharedstatedir}/glusterd %dir %{_sharedstatedir}/glusterd/groups %config(noreplace) %{_sharedstatedir}/glusterd/groups/virt |