Bug#874160: systemd _sometimes_ does this
On Thu, 7 Feb 2019, Adam Borowski wrote:
> On Thu, Feb 07, 2019 at 03:36:59PM +0100, Adam Borowski wrote:
> > Turns out systemd independently does this, although not in every case.
> > If you have unset locale, it changes it to C.UTF-8 for X (gdm3) but not
[…]
> > It'd be good to have this consistent both for X vs console, and systemd vs
> > other inits/rc systems.
I see my feature request to add a C.UTF-8 locale has made it far ☻
> So with systemd forcing this, the result is us diverging from most other
> distributions only when init/rc is not systemd. Thus, could you please
> apply this patch -- or, should I bother sysvinit folks (and perhaps
Absolutely not!
Making unset locale equal anything other than C is going to also
break tons of scripts (I had some reported to me when I experimented
with similar things in MirBSD).
At best, do something like, if /etc/default/locale doesn’t set one,
set LANG=C.UTF-8 by default.
bye,
//mirabilos
--
[17:15:07] Lukas Degener: Kleines Asterix-Latinum für Softwaretechniker:
veni, vidi, fixi(t) ;-)
Reply to: