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

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

 



On 10/07/2013 10:09 AM, andreas.fuchs@xxxxxxxxxxxxxxxxx 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@xxxxxxxxxx>
> An: "Fuchs, Andreas" <andreas.fuchs@xxxxxxxxxxxxxxxxx>
> Cc: "libvir-list@xxxxxxxxxx" <libvir-list@xxxxxxxxxx>
> Betreff:  [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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]