Bug 1182934

Summary: Do not have tmpfiles snippet for /var/run/gluster
Product: [Community] GlusterFS Reporter: Niels de Vos <ndevos>
Component: buildAssignee: Niels de Vos <ndevos>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: bugs, gluster-bugs
Target Milestone: ---Keywords: EasyFix, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1182932
: 1183018 (view as bug list) Environment:
Last Closed: 2015-05-14 17:29:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1182932, 1183018    

Description Niels de Vos 2015-01-16 09:12:01 UTC
+++ This bug was initially created as a clone of Bug #1182932 +++

+++ This bug was initially created as a clone of Bug #1182920 +++

Description of problem:
Package ship /var/run/gluster, but after a reboot, the folder is wiped, and rpm -Va show a error.

I think the policy mandate the use of a tmpfiles.d snippet for that.

$ rpm -qf /var/run/gluster
glusterfs-3.5.3-1.fc21.x86_64

--- Additional comment from Niels de Vos on 2015-01-16 10:08:01 CET ---

Yes, that is correct :-/

Comment 1 Anand Avati 2015-01-16 12:52:51 UTC
REVIEW: http://review.gluster.org/9458 (build: add a tmpfiles.d config file for /run/glusterd) posted (#1) for review on master by Niels de Vos (ndevos)

Comment 2 Anand Avati 2015-01-16 12:56:37 UTC
REVIEW: http://review.gluster.org/9458 (build: add a tmpfiles.d config file for /run/gluster) posted (#2) for review on master by Niels de Vos (ndevos)

Comment 3 Anand Avati 2015-01-16 13:42:14 UTC
REVIEW: http://review.gluster.org/9458 (build: add a tmpfiles.d config file for /run/gluster) posted (#3) for review on master by Niels de Vos (ndevos)

Comment 4 Anand Avati 2015-01-16 15:32:23 UTC
REVIEW: http://review.gluster.org/9458 (build: add a tmpfiles.d config file for /run/gluster) posted (#4) for review on master by Niels de Vos (ndevos)

Comment 5 Anand Avati 2015-01-16 16:06:18 UTC
REVIEW: http://review.gluster.org/9458 (build: add a tmpfiles.d config file for /run/gluster) posted (#5) for review on master by Niels de Vos (ndevos)

Comment 6 Anand Avati 2015-01-16 16:54:17 UTC
REVIEW: http://review.gluster.org/9458 (build: add a tmpfiles.d config file for /run/gluster) posted (#6) for review on master by Niels de Vos (ndevos)

Comment 7 Anand Avati 2015-01-17 12:20:18 UTC
REVIEW: http://review.gluster.org/9458 (build: add a tmpfiles.d config file for /run/gluster) posted (#7) for review on master by Niels de Vos (ndevos)

Comment 8 Anand Avati 2015-01-19 08:55:37 UTC
COMMIT: http://review.gluster.org/9458 committed in master by Niels de Vos (ndevos) 
------
commit 10e4add35f64c24fe9ef03dc6824975fc9db1455
Author: Niels de Vos <ndevos>
Date:   Fri Jan 16 13:48:49 2015 +0100

    build: add a tmpfiles.d config file for /run/gluster
    
    New distrubutions have a /run directory on a volatile tmpfs filesystem.
    This causes /run/gluster to be removed with each reboot. A tmpfiles.d
    configuration is used to create the directory on boot.
    
    EL5 and EL-6 do not use /run, current Fedora versions do. By checking
    %{_tmpfilesdir} in the .spec, we can identify if the distribution uses
    tmpfiles.d.
    
    Change-Id: I231e7d6603d573cb905246558e14a51577c0eb56
    BUG: 1182934
    Signed-off-by: Niels de Vos <ndevos>
    Reviewed-on: http://review.gluster.org/9458
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Reviewed-by: Lalatendu Mohanty <lmohanty>

Comment 9 Niels de Vos 2015-05-14 17:29:01 UTC
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.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 10 Niels de Vos 2015-05-14 17:35:48 UTC
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.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 11 Niels de Vos 2015-05-14 17:38:10 UTC
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.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 12 Niels de Vos 2015-05-14 17:45:37 UTC
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.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user