Description of problem: In Rawhide, glibc doesn't install the English locale by default. This stops libvirtd from starting up: $ sudo libvirtd --help libvirtd: initialization failed but after installing glibc-langpack-en, it works: $ sudo libvirtd --help Usage: libvirtd [options] [etc] Version-Release number of selected component (if applicable): libvirt-daemon-1.3.1-2.fc24.aarch64 (although this is arm 64 bit, I think this would affect any arch) How reproducible: 100% probably? Steps to Reproduce: Upgrade libvirt from F23 -> F24.
That error message comes from daemon/libvirtd.c in this code: if (setlocale(LC_ALL, "") == NULL || bindtextdomain(PACKAGE, LOCALEDIR) == NULL || textdomain(PACKAGE) == NULL || virInitialize() < 0) { fprintf(stderr, _("%s: initialization failed\n"), argv[0]); exit(EXIT_FAILURE); } Presumably one of those 3 locale related functions is now failing, but I wonder why the would fail ?
Started a thread upstream to discuss what to do: https://www.redhat.com/archives/libvir-list/2016-February/msg01470.html
setlocale fails, the others are successful.
Rich, wasn't this get fixed on the fedora glibc side? any idea if we still need libvirt patching?
I see Jan's comment on libvirt-list about this Fedora upgrade bug: https://bugzilla.redhat.com/show_bug.cgi?id=1312103 Maybe there was a packaging issue too which prevented any locale from being available. I'll close this bug, but anyone reopen if we still need to patch libvirt
Yes this is fixed in glibc. Probably best to continue this on the mailing list (see comment 2).