summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-06-18 14:51:08 -0700
committerSage Weil <sage@inktank.com>2013-06-18 14:51:24 -0700
commit64ee0148a5b7324c7df7de2d5f869b880529d452 (patch)
treea8f4fc08d3eff6020c1dc575366a3cf5d6ea8d23
parentbb799e6903f4899af46dd8fbbe3e954406275461 (diff)
downloadceph-64ee0148a5b7324c7df7de2d5f869b880529d452.tar.gz
ceph.spec: create /var/run on package install
The %ghost %dir ... line will make this get cleaned up but won't install it. Reported-by: Derek Yarnell <derek@umiacs.umd.edu> Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
-rw-r--r--ceph.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/ceph.spec.in b/ceph.spec.in
index 9ba972e5671..b1f74b33722 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -326,6 +326,7 @@ rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
/sbin/chkconfig --add ceph
+mkdir -p %{_localstatedir}/run/ceph/
%preun
%if %{defined suse_version}