On Tue, Feb 02, 2016 at 08:24:12PM +0100, Clemens Gruber wrote:
> On Mon, Feb 01, 2016 at 04:36:39PM +0100, Michael Olbrich wrote:
> > With a corresponding /etc/locale.conf I see
> > System Locale: LANG=en_US.utf8
> 
> Hm, now localectl does show the following:
> System Locale: LANG=en_US.utf8
> 
> But, the "locale" program still shows:
> LANG=
> 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=
> 
> > What does "localectl list-locales" tell you?
> 
> It shows: en_US.utf8
> 
> So ptxdist did generate the locale files correctly, but the
> /etc/locale.conf entry does not seem to have any effect on the output of
> "locale". Is this expected and what can I do about it?
> Shouldn't systemd-localed also set the environment variables?
> 
> Michael, does your machine show LANG=en_US.utf8 in the output of the
> "locale" command?
> 
> Thanks for your help.
> Clemens

If I try to connect to the machine with mosh, I get:
"The locale requested by LC_CTYPE=en_US.utf8 isn't available here.
Running `locale-gen en_US.utf8' may be necessary.

mosh-server needs a UTF-8 native locale to run."

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to