Package: systemd Version: 227-2 Severity: normal Dear Maintainer,
after installing locales package, generating my localization, editing /etc/locale.conf and finally rebooting the system, all the locales variable now default to "POSIX", as stated from the output of "locale". "localectl status", though, shows the desired values (the one i set in /etc/locale.conf), so the status printed by localectl is different from the actual status of the system. Here is the output of the two commands: --- $ locale LANG= LANGUAGE= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= $ localectl status System Locale: LANG=C.UTF-8 LC_NUMERIC=it_IT.UTF-8 LC_TIME=it_IT.UTF-8 LC_MONETARY=it_IT.UTF-8 LC_NAME=it_IT.UTF-8 LC_ADDRESS=it_IT.UTF-8 LC_TELEPHONE=it_IT.UTF-8 LC_MEASUREMENT=it_IT.UTF-8 VC Keymap: n/a X11 Layout: it X11 Model: pc105 --- To circumvent this, i copied /etc/locale.conf to /etc/default/locale, and in this way the locale is correctly set at startup. Reading locale.conf(5) man page, one may think that editing /etc/locale.conf is enough to set the locale, but indeed it's not. Thanks. -- Package-specific info: -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 4.2.0-1-686-pae (SMP w/2 CPU cores) Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages systemd depends on: ii adduser 3.113+nmu3 ii libacl1 2.2.52-2 ii libapparmor1 2.10-2+b1 ii libaudit1 1:2.4.4-4 ii libblkid1 2.27-3 ii libc6 2.19-22 ii libcap2 1:2.24-12 ii libcap2-bin 1:2.24-12 ii libcryptsetup4 2:1.6.6-5 ii libgcc1 1:5.2.1-22 ii libgcrypt20 1.6.4-3 ii libkmod2 21-1 ii liblzma5 5.1.1alpha+20120614-2.1 ii libmount1 2.27-3 ii libpam0g 1.1.8-3.1 ii libseccomp2 2.2.3-2 ii libselinux1 2.3-2+b1 ii libsystemd0 227-2 ii mount 2.27-3 ii sysv-rc 2.88dsf-59.2 ii udev 227-2 ii util-linux 2.27-3 Versions of packages systemd recommends: ii dbus 1.10.0-3 ii libpam-systemd 227-2 Versions of packages systemd suggests: pn systemd-container <none> pn systemd-ui <none> -- Configuration Files: /etc/systemd/logind.conf changed [not included] -- no debconf information