diff mbox

v0.60 released

Message ID orzjxghn3l.fsf@livre.home (mailing list archive)
State New, archived
Headers show

Commit Message

Alexandre Oliva April 2, 2013, 5:13 p.m. UTC
On Apr  1, 2013, Sage Weil <sage@inktank.com> wrote:

> * mds, ceph-fuse: fix bugs with replayed requests after MDS restart (Sage 
>   Weil)

There's a brown paperbag bug in the session_info_t compat decoding code,
that caused mds to crash on start up for me.  Here's a fix.  I also
patched the spec file so that rpms would build.
diff mbox

Patch

Package ceph_test_snap_mapper, drop dir dupes

From: Alexandre Oliva <oliva@gnu.org>

rpmbuild failed on ceph 0.60 because ceph_test_snap_mapper was
installed but not packaged.

rpm also complained about some directories packaged twice.  Some names
used rpm macros, others mentioned /etc and /var explicitly.
I consolidated them all into the placeholder directories group, and
changed them to use the rpm macros.

Signed-off-by: Alexandre Oliva <oliva@gnu.org>
---
 ceph.spec.in |   26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/ceph.spec.in b/ceph.spec.in
index cb998c4..48aed35 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -413,13 +413,7 @@  fi
 %{_mandir}/man8/ceph-debugpack.8*
 %{_mandir}/man8/ceph-clsinfo.8.gz
 %{_mandir}/man8/librados-config.8.gz
-%dir %{_localstatedir}/lib/ceph/
-%dir %{_localstatedir}/lib/ceph/tmp/
-%dir %{_localstatedir}/log/ceph/
-%ghost %dir %{_localstatedir}/run/ceph/
-%dir %{_sysconfdir}/ceph/
 /usr/sbin/rcceph
-%dir %{_libdir}/rados-classes
 %{_libdir}/rados-classes/libcls_rbd.so*
 %{_libdir}/rados-classes/libcls_rgw.so*
 %{_libdir}/rados-classes/libcls_lock.so*
@@ -432,14 +426,17 @@  fi
 
 #set up placeholder directories
 %defattr(-,root,root,755)
-%dir /etc/ceph
-%dir /var/log/ceph
-%dir /var/lib/ceph/tmp
-%dir /var/lib/ceph/mon
-%dir /var/lib/ceph/osd
-%dir /var/lib/ceph/mds
-%dir /var/lib/ceph/bootstrap-osd
-%dir /var/lib/ceph/bootstrap-mds
+%dir %{_sysconfdir}/ceph/
+%dir %{_libdir}/rados-classes
+%dir %{_localstatedir}/lib/ceph/
+%dir %{_localstatedir}/lib/ceph/tmp/
+%dir %{_localstatedir}/log/ceph/
+%dir %{_localstatedir}/lib/ceph/mon
+%dir %{_localstatedir}/lib/ceph/osd
+%dir %{_localstatedir}/lib/ceph/mds
+%dir %{_localstatedir}/lib/ceph/bootstrap-osd
+%dir %{_localstatedir}/lib/ceph/bootstrap-mds
+%ghost %dir %{_localstatedir}/run/ceph/
 
 #################################################################################
 %files fuse
@@ -610,6 +607,7 @@  fi
 %{_bindir}/ceph_test_rados_api_stat
 %{_bindir}/ceph_test_rados_api_watch_notify
 %{_bindir}/ceph_test_rewrite_latency
+%{_bindir}/ceph_test_snap_mapper
 %{_bindir}/ceph_test_stress_watch
 %{_bindir}/ceph_test_trans
 %{_bindir}/ceph_test_crypto