diff options
author | Sage Weil <sage@inktank.com> | 2013-06-18 14:51:08 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-06-18 14:51:36 -0700 |
commit | 41e1416c3585507db75f10ed69f65a5a80370827 (patch) | |
tree | 8db0e75c77f2362c1bd79c0783b27351720b88dd | |
parent | 2df3619169d2e83617fc3005b68de395e982b39a (diff) | |
download | ceph-41e1416c3585507db75f10ed69f65a5a80370827.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>
(cherry picked from commit 64ee0148a5b7324c7df7de2d5f869b880529d452)
-rw-r--r-- | ceph.spec.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index ddebcef96fe..a021db1f3de 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -325,6 +325,7 @@ rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig /sbin/chkconfig --add ceph +mkdir -p %{_localstatedir}/run/ceph/ %preun %if %{defined suse_version} |