Red Hat Bugzilla – Bug 1472446
packaging: save ganesha config files in (/var)/run/gluster/shared_storage/nfs-ganesha
Last modified: 2017-08-21 09:41:22 EDT
+++ This bug was initially created as a clone of Bug #1472445 +++
Description of problem:
ganesha config files in (/var)/run/gluster/shared_storage/nfs-ganesha need to be marked with %config(noreplace) in the glusterfs-ganesha subpackage.
They probably need to be "ghosted" (with %ghost) too
Version-Release number of selected component (if applicable):
Steps to Reproduce:
--- Additional comment from Red Hat Bugzilla Rules Engine on 2017-07-18 14:29:17 EDT ---
This bug is automatically being proposed for the current release of Red Hat Gluster Storage 3 under active development, by setting the release flag 'rhgs‑3.3.0' to '?'.
If this bug should be proposed for a different release, please manually change the proposed release flag.
REVIEW: https://review.gluster.org/17883 (packaging: own files in (/var)/run/gluster/shared_storage/nfs-ganesha) posted (#1) for review on release-3.10 by Kaleb KEITHLEY (firstname.lastname@example.org)
COMMIT: https://review.gluster.org/17883 committed in release-3.10 by Kaleb KEITHLEY (email@example.com)
Author: Kaleb S. KEITHLEY <firstname.lastname@example.org>
Date: Wed Jul 26 10:36:11 2017 -0400
packaging: own files in (/var)/run/gluster/shared_storage/nfs-ganesha
The nfs-ganesha rpm owns /etc/ganesha and /etc/ganesha/ganesha.conf,
but gluster-ganesha installs a ganesha-ha.conf.sample in /etc/ganesha/
Ganesha HA expects to find the config files in /var/run/.../nfs-ganesha
and for there to be symlinks from /etc/ganesha/* to /var/run/...
As exports are created the ganesha export files are written to
This change creates rpm %ghosts for most of these files to manage
ownership within rpm and ensure they are not deleted or overwritten
during package install/upgrade/removal. The name of the exports varies,
so it's not possible AFAIK to create wildcard %ghosts for them.
Signed-off-by: Kaleb S. KEITHLEY <email@example.com>
Smoke: Gluster Build System <firstname.lastname@example.org>
CentOS-regression: Gluster Build System <email@example.com>
Reviewed-by: Niels de Vos <firstname.lastname@example.org>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.10.5, please open a new bug report.
glusterfs-3.10.5 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.