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

Julian Andres Klode jak at debian.org
Sat Oct 31 00:08:16 GMT 2015


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.

> 
> Work out a plan to to switch (seamlessly) from the old to the new file,
> file bugs and seeing it through to the end.

It's not difficult, just make one be a symlink to the other,
as the format is the same (AFAICT).

For sanity reasons, /etc/default/locale should be moved to
/etc/locale.conf, and /etc/default/locale should become a
compat symlink.


-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
    - If you don't I might ignore you.




More information about the Pkg-systemd-maintainers mailing list