Re: bug when using ceph and keyring does not exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 08.11.2011 18:57, schrieb Tommi Virtanen:
On Sun, Nov 6, 2011 at 23:27, Smart Weblications GmbH - Florian
Wiessner<f.wiessner@xxxxxxxxxxxxxxxxxxxxx>  wrote:
i think i found a bug:
...


So a missing keyring make ceph command crash. I see this commit, I
think Sam found the bug independently and fixed it already. Please try
again!

commit d4ef9215fd00b08a198986fde4af5635833555ec
Author: Samuel Just<samuel.just@xxxxxxxxxxxxx>
Date:   2011-11-07 15:04:02 -0800

     common: return null if mc.init() unsuccessful

     Prevents ceph.cc from segfaulting on missing keyring.


yes, this fixes it - but a warning on stderr or so would be better imho..


--

Mit freundlichen Grüßen,

Florian Wiessner

Smart Weblications GmbH
Martinsberger Str. 1
D-95119 Naila

fon.: +49 9282 9638 200
fax.: +49 9282 9638 205
24/7: +49 900 144 000 00 - 0,99 EUR/Min*
http://www.smart-weblications.de

--
Sitz der Gesellschaft: Naila
Geschäftsführer: Florian Wiessner
HRB-Nr.: HRB 3840 Amtsgericht Hof
*aus dem dt. Festnetz, ggf. abweichende Preise aus dem Mobilfunknetz
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux