[Pkg-libvirt-maintainers] Bug#512721: virsh aborts when the locale cannot be set
Max Kellermann
max at duempel.org
Fri Jan 23 06:38:34 UTC 2009
Package: libvirt-bin
Version: 0.5.1-4
On my workstation, I use LC_CTYPE=en_US.ISO-8859-15 to have all 8 bit
characters displayed properly. The SSH client sends my locale
settings to all servers I log in to.
There is one server which is a KVM container, which has no locales
installed, and doesn't need them, because it will never deal with more
than US-ASCII. Installing locales would be a waste of disk space and
CPU cycles.
When I try to run /usr/bin/virsh there, it aborts:
edna:~# virsh
setlocale: No such file or directory
edna:~# echo $?
255
I consider a locale problem a non-critical error which isn't even
worth a warning, and the program should fall back to the POSIX locale,
just like all the other programs do.
More information about the Pkg-libvirt-maintainers
mailing list