12a457
From d1dc363c016687328fd5d7cb2698a0b759ecdfb9 Mon Sep 17 00:00:00 2001
12a457
From: Milind Changire <mchangir@redhat.com>
12a457
Date: Wed, 11 May 2016 17:20:31 +0530
12a457
Subject: [PATCH 141/158] packaging: additional dirs and files in /var/lib/glusterd/
12a457
12a457
Restore the %config(noreplace) on /var/lib/glusterd/groups/virt
12a457
12a457
Add directories /var/lib/glusterd/hooks and /var/lib/glusterd/hooks/1
12a457
to the list for server package ownership
12a457
12a457
Upstream:
12a457
> BUG: 1326410
12a457
> Gerrit-Url: http://review.gluster.org/14294
12a457
12a457
Change-Id: I10324b80ba35acfc0dc52465547423e89f92113f
12a457
BUG: 1324820
12a457
Signed-off-by: Milind Changire <mchangir@redhat.com>
12a457
Reviewed-on: https://code.engineering.redhat.com/gerrit/74102
12a457
Reviewed-by: Kaleb Keithley <kkeithle@redhat.com>
12a457
Tested-by: Kaleb Keithley <kkeithle@redhat.com>
12a457
---
12a457
 glusterfs.spec.in |    4 +++-
12a457
 1 files changed, 3 insertions(+), 1 deletions(-)
12a457
12a457
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
12a457
index 9ddfd58..60ffa65 100644
12a457
--- a/glusterfs.spec.in
12a457
+++ b/glusterfs.spec.in
12a457
@@ -1306,10 +1306,12 @@ exit 0
12a457
        %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd
12a457
 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/bitd
12a457
        %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/groups
12a457
-            %attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/virt
12a457
+            %attr(0644,-,-) %config(noreplace) %{_sharedstatedir}/glusterd/groups/virt
12a457
        %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glusterfind
12a457
        %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glusterfind/.keys
12a457
 %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glustershd
12a457
+       %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks
12a457
+       %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1
12a457
        %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/add-brick
12a457
        %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/add-brick/post
12a457
             %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/add-brick/post/disabled-quota-root-xattr-heal.sh
12a457
-- 
12a457
1.7.1
12a457