From 759b63536c676f4b4fa135ea62d74dff021778e4 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. 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 --- glusterfs.spec.in | 8 ++++---- 1 file 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 -- cgit