From 60504a1a926fabdcddbded90ff28f56f50ada6b7 Mon Sep 17 00:00:00 2001 From: Milind Changire Date: Wed, 27 Jan 2016 12:59:58 +0530 Subject: 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. Cherry picked from commit 759b63536c676f4b4fa135ea62d74dff021778e4: > Change-Id: I1cdd2c5118ac657b2dab4f9669c6657484b8c600 > BUG: 1302200 > Signed-off-by: Milind Changire > Reviewed-on: http://review.gluster.org/13296 > Reviewed-by: Kaleb KEITHLEY > Tested-by: Kaleb KEITHLEY > CentOS-regression: Gluster Build System > Reviewed-by: Niels de Vos > NetBSD-regression: NetBSD Build System > Smoke: Gluster Build System Change-Id: I1cdd2c5118ac657b2dab4f9669c6657484b8c600 BUG: 1302202 Signed-off-by: Milind Changire Reviewed-on: http://review.gluster.org/13541 Reviewed-by: Niels de Vos Smoke: Gluster Build System CentOS-regression: Gluster Build System NetBSD-regression: NetBSD Build System Reviewed-by: Vijay Bellur --- glusterfs.spec.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index a142b9034a3..d99d5ca79fd 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -966,6 +966,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 @@ -1106,10 +1110,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 -- cgit