[Pkg-libvirt-maintainers] Bug#986992: virsh ignores LC_MESSAGES

Marc Haber mh+debian-packages at zugschlus.de
Thu Apr 15 08:19:20 BST 2021


Package: libvirt-clients
Version: 7.0.0-3
Severity: normal

Hi,

I live in Germany but want my system to use English messages. I have
therefore set:

|[5/4998]mh at fan:~ $ locale
|LANG=de_DE.UTF-8
|LANGUAGE=en
|LC_CTYPE="de_DE.UTF-8"
|LC_NUMERIC=de_DE.UTF-8
|LC_TIME=de_DE.UTF-8
|LC_COLLATE=de_DE.UTF-8
|LC_MONETARY=de_DE.UTF-8
|LC_MESSAGES=en_US.UTF-8
|LC_PAPER="de_DE.UTF-8"
|LC_NAME="de_DE.UTF-8"
|LC_ADDRESS="de_DE.UTF-8"
|LC_TELEPHONE="de_DE.UTF-8"
|LC_MEASUREMENT=de_DE.UTF-8
|LC_IDENTIFICATION="de_DE.UTF-8"
|LC_ALL=

With this setting, virsh still uses the (rather horrible) German
translation.

|[6/4999]mh at fan:~ $ virsh console salida
|Connected to domain 'salida'
|Escape character is ^] (Ctrl + ])
|error: Operation schlug fehl: Aktive Konsol-Sitzung existiert für diese Domain
|
|1 [7/5000]mh at fan:~ $ 

Am I doing things wrong, or should virsh honor LC_MESSAGES? From where
does the german text come in the first place? stracing virsh only yields
access to /usr/share/locale/en/LC_MESSAGES/libvirt.mo.

Greetings
Marc


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.11.11-zgws1 (SMP w/12 CPU threads)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libvirt-clients depends on:
ii  libc6           2.31-11
ii  libgcc-s1       10.2.1-6
ii  libglib2.0-0    2.66.8-1
ii  libreadline8    8.1-1
ii  libvirt0        7.0.0-3
ii  libxml2         2.9.10+dfsg-6.3+b1
ii  sensible-utils  0.0.14

libvirt-clients recommends no packages.

Versions of packages libvirt-clients suggests:
ii  libvirt-daemon       7.0.0-3
pn  libvirt-login-shell  <none>

-- no debconf information


More information about the Pkg-libvirt-maintainers mailing list