From: Jason Dillaman Date: Wed, 14 Oct 2015 20:41:21 +0000 (-0400) Subject: ceph.spec.in: only run systemd-tmpfiles on ceph run directory X-Git-Tag: v9.2.0~12^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F6267%2Fhead;p=ceph.git ceph.spec.in: only run systemd-tmpfiles on ceph run directory There is a kmod bug that affects RHEL7 derivatives which will result in device permissions being reset back to defaults. Fixes: #13305 Signed-off-by: Jason Dillaman --- diff --git a/ceph.spec.in b/ceph.spec.in index 173c8f20d6c0..ae7b4981dcf2 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -921,7 +921,7 @@ exit 0 %post -n ceph-common %if 0%{?_with_systemd} -systemd-tmpfiles --create +systemd-tmpfiles --create --prefix=/run/ceph %endif %postun -n ceph-common