Re: setlocale problems / "initialization failed" in Rawhide

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

 



On Mon, Feb 29, 2016 at 03:22:58PM +0000, Richard W.M. Jones wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1312688
> 
> When you upgrade from F23 to current Rawhide, you don't get any
> "language pack" installed.

This is the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1312103

> It turns out this breaks many things
> including libvirtd which no longer starts up:
> 
>   $ ./daemon/libvirtd --help
>   /home/rjones/d/libvirt/daemon/.libs/lt-libvirtd: initialization failed
> 
> Simply installing glibc-langpack-en is sufficient to fix this, but I
> was wondering if we should try to make libvirt work anyway.
> 
> The failure comes from setlocale (LC_ALL, "") returning NULL.  The
> attached test program prints:
> 
>   $ ./test 
>   setlocale failed, errno=No such file or directory
> 
> Also attached is the strace output so you can see what files it is
> looking for.
> 
> Seems like solutions to this include:
> 

These are workarounds - either around a user error, or the bug in
fedora upgrade that removed the locales.

There's nothing wrong with libvirt here.

Jan

--
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]