diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2017-08-04 13:33:20 -0400 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-08-11 10:53:32 +0000 |
commit | e605d4f6f8807546eb1730e4e5a4c51d7cfe6e6f (patch) | |
tree | a7f2fd37e8cf11d5356bdf2e40f6a62aa7189896 | |
parent | 4a1bdc7581cdf599122b7e20595c5d5662b51ce8 (diff) |
packaging: /var/lib/glusterd/options should be %config(noreplace)
/var/lib/glusterd/options is where cluster.enabled-shared-storage is
persisted. If the file is removed as part of an uninstall/reinstall
or update then the state of shared storage could be lost.
Change-Id: Ie18c3d883df71c1857fd6996d9c03ab247580b70
BUG: 1478499
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: https://review.gluster.org/17979
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
-rw-r--r-- | glusterfs.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 6ad5afec236..812ddf8095d 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -1280,7 +1280,7 @@ exit 0 %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/nfs-server.vol %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/nfs/run %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/run/nfs.pid -%ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/options +%config(noreplace) %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/options %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/peers %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/quotad %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/scrub |