[libvirt] [PATCH] Be more clever and verbose about localization-initialization.

Eric Blake eblake at redhat.com
Mon Oct 7 16:25:00 UTC 2013


On 10/07/2013 10:09 AM, andreas.fuchs at 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 at redhat.com>
> An: "Fuchs, Andreas" <andreas.fuchs at sit.fraunhofer.de>
> Cc: "libvir-list at redhat.com" <libvir-list at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131007/6d3fdd73/attachment-0001.sig>


More information about the libvir-list mailing list