Bug#803468: systemd: /etc/locale.conf locale variables are not set into the user locale

Felipe Sateler fsateler at debian.org
Sat Oct 31 00:34:41 GMT 2015


On 30 October 2015 at 21:08, Julian Andres Klode <jak at debian.org> wrote:
> On Fri, Oct 30, 2015 at 08:32:19PM +0100, Michael Biebl wrote:
>> Am 30.10.2015 um 20:05 schrieb Josh Triplett:
>> > On Fri, 30 Oct 2015 19:09:16 +0100 Michael Biebl <email at michaelbiebl.de> wrote:
>> >> Am 30.10.2015 um 12:58 schrieb nfb:
>> >>> 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:
>> >>
>> >> There is no /etc/locale.conf in Debian, the correct file is
>> >> /etc/default/locale
>> >
>> > What would it take for us to start making that transition?  Other
>>
>> Someone how would the work to manage that transition.
>> A first step would probably be, to determine the list of packages which
>> touch /etc/default/locale in some way or another, starting from d-i.
>
> AFAIK, the file is only automatically generated by update-locale
> from locales.

But it is used by plenty of packages[1]. A lot source the file in init scripts.

I found that localechooser udeb writes to it[2], live-config[3],
cloud-init (changelog suggests write) and ltsp[4].


[1] http://codesearch.debian.net/perpackage-results/%2Fetc%2Fdefault%2Flocale/2/page_0
[2] http://sources.debian.net/src/localechooser/2.67/post-base-installer.d/05localechooser/
[3] http://sources.debian.net/src/live-config/5.0~a5-1/components/0050-locales/
[4] http://sources.debian.net/src/ltsp/5.5.5-1/server/share/ltsp/plugins/ltsp-build-client/Debian/025-locales/?hl=34#L34

-- 

Saludos,
Felipe Sateler




More information about the Pkg-systemd-maintainers mailing list