Fedora Account System
Red Hat Associate
Red Hat Customer
Right after install or reinstall of the glusterfs package the /run/gluster/metrics is created by the script in the RPM spec. Later this directory is removed by the system and glusterfs already supports recreation of this directory when needed. See following: [1] https://bugzilla.redhat.com/show_bug.cgi?id=1624006 [2] https://github.com/gluster/glusterfs/commit/b78f18c24d9860472a2e76bbcf72720889b8af3c Also in libglusterfs/src/glusterfs/monitoring.h (related to [2]) #define GLUSTER_METRICS_DIR "/var/run/gluster/metrics" I'm preparing a pull request for Fedora 44 and will add a link to this PR here in a comment soon. This issue exists in Fedora 43 and thould be back-ported there as well. Reproducible: Always Steps to Reproduce: 1. install or reinstall glusterfs package 2. run sudo rpm -Va 3. reboot 4. run sudo rpm -Va again Actual Results: following line in the rpm -Va output missing /run/gluster/metrics Expected Results: No line like following in the rpm -Va output missing /run/gluster/metrics
Following is my pull request with proposed fix. Please review and merge. I don't have permissions to merge by myself. https://src.fedoraproject.org/rpms/glusterfs/pull-request/11
My PR removes following line: mkdir -p %{buildroot}%{_rundir}/gluster/metrics Maybe this is not a fully correct change and instead of removing it should be changed to the following one: mkdir -p %{buildroot}%{_rundir}/gluster
(In reply to Rostislav Krasny from comment #2) Yes, that remove of the "mkdir -p" line was incorrect and the automatic build of the PR failed. I've amended my commit in my PR.
Thanks for the pull request. Have merged it. Will also incorporate changes in: https://github.com/gluster/glusterfs/pull/4597
FEDORA-2026-eea04834e4 (glusterfs-11.2-8.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-eea04834e4
Thank you very much Benson! I will test FEDORA-2026-eea04834e4 soon. I think it's worth porting this to Fedora 43 as well.
FEDORA-2026-eea04834e4 has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-eea04834e4` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-eea04834e4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-eea04834e4 (glusterfs-11.2-8.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.