On 10/07/2013 10:09 AM, andreas.fuchs(a)sit.fraunhofer.de wrote:
[please don't top-post on technical lists, and also fix your mailer to
use proper In-Reply-To headers rather than creating a new thread on a
reply. Also, line wrapping wouldn't hurt]
I should have been more specific. If e.g. an LC_MESSAGE is set that
cannot be found it returns "initialization failed" and nothing more... See the
bug report.Spent >1h this morning trying to get some demonstrator running... So I
thought rather share it...
Which bug? [/me goes and looks]
Oh, you mean
https://bugzilla.redhat.com/show_bug.cgi?id=1016158
Don't make us go on a goose hunt. Post the relevant details directly in
your commit message, rather than assuming that everyone else actively
follows the bug database and can correlate the two without effort. Just
because you spent >1hr hunting down the problem doesn't mean that you
should make everyone else likewise spend time because of an incomplete
report.
----- Reply message -----
Von: "Daniel P. Berrange" <berrange(a)redhat.com>
An: "Fuchs, Andreas" <andreas.fuchs(a)sit.fraunhofer.de>
Cc: "libvir-list(a)redhat.com" <libvir-list(a)redhat.com>
Betreff: [libvirt] [PATCH] Be more clever and verbose about localization-initialization.
Datum: Mo., Okt 7, 2013 17:52
On Mon, Oct 07, 2013 at 03:47:48PM +0000, Fuchs, Andreas wrote:
> Currently libvirt fails with an uninformative error message
> if no translations are found.
I don't see any failure if I delete all the libvirt.mo files.
What are you actually doing to trigger an error, and what is the
exact error you get.
According to the BZ, this is a formula for triggering the error:
If bindtextdomain failes due to non-existing localization
information, libvirtd
dies upon startup with a very generic error:
LC_MESSAGES=non_LANG libvirtd
libvirtd: initialization failed
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org