[libvirt] setlocale problems / "initialization failed" in Rawhide
Ján Tomko
jtomko at redhat.com
Mon Feb 29 16:16:08 UTC 2016
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
More information about the libvir-list
mailing list