Re: [systemd-devel] Locale setup for non-shells

2017-05-24 Thread Nikolai Kondrashov
On 05/23/2017 11:42 PM, Lennart Poettering wrote: On Mon, 22.05.17 19:36, Nikolai Kondrashov (nikolai.kondras...@redhat.com) wrote: I'm talking about logins on console now, so I assume the service in question, technically, is systemd-logind. However, I found out that it's working OK, and the re

Re: [systemd-devel] Locale setup for non-shells

2017-05-23 Thread Lennart Poettering
On Mon, 22.05.17 19:36, Nikolai Kondrashov (nikolai.kondras...@redhat.com) wrote: > On 05/22/2017 04:46 PM, Lennart Poettering wrote: > > On Mon, 22.05.17 14:11, Nikolai Kondrashov (nikolai.kondras...@redhat.com) > > wrote: > > > I'm trying to solve a problem of supplying locale settings to non-

Re: [systemd-devel] Locale setup for non-shells

2017-05-22 Thread Nikolai Kondrashov
On 05/22/2017 04:46 PM, Lennart Poettering wrote: On Mon, 22.05.17 14:11, Nikolai Kondrashov (nikolai.kondras...@redhat.com) wrote: I'm trying to solve a problem of supplying locale settings to non-shell programs acting as login shells in Fedora and RHEL, as described below. Which services pr

Re: [systemd-devel] Locale setup for non-shells

2017-05-22 Thread Lennart Poettering
On Mon, 22.05.17 14:11, Nikolai Kondrashov (nikolai.kondras...@redhat.com) wrote: > Hi everyone on systemd-devel, > > I'm trying to solve a problem of supplying locale settings to non-shell > programs acting as login shells in Fedora and RHEL, as described > below. Which services precisely are

Re: [systemd-devel] Locale setup for non-shells

2017-05-22 Thread Tomas Mraz
On Mon, 2017-05-22 at 15:45 +0300, Mantas Mikulėnas wrote: > On Mon, May 22, 2017 at 2:11 PM, Nikolai Kondrashov < > nikolai.kondras...@redhat.com> wrote: > > > Hi everyone on systemd-devel, > > > > I'm trying to solve a problem of supplying locale settings to non- > > shell > > programs acting a

Re: Locale setup for non-shells

2017-05-22 Thread Nikolai Kondrashov
Hi everyone on systemd-devel, I'm trying to solve a problem of supplying locale settings to non-shell programs acting as login shells in Fedora and RHEL, as described below. So far it seems the Debian way of doing things will work. Could you please confirm that the format of locale.conf is not

Re: Locale setup for non-shells

2017-05-22 Thread Nikolai Kondrashov
On 05/22/2017 01:30 PM, Tomas Mraz wrote: On Mon, 2017-05-22 at 12:46 +0300, Nikolai Kondrashov wrote: Do you think the below could be done, from PoV of PAM/authconfig? I do not have any problem with this if the locale.conf file is really in format that is accepted by pam_env. It seems that

Re: Locale setup for non-shells

2017-05-22 Thread Tomas Mraz
On Mon, 2017-05-22 at 12:46 +0300, Nikolai Kondrashov wrote: > Hi Tomas, > > Do you think the below could be done, from PoV of PAM/authconfig? I do not have any problem with this if the locale.conf file is really in format that is accepted by pam_env. > On 04/04/2017 06:06 PM, Nikolai Kondrashov

Re: Locale setup for non-shells

2017-05-22 Thread Nikolai Kondrashov
Hi Tomas, Do you think the below could be done, from PoV of PAM/authconfig? On 04/04/2017 06:06 PM, Nikolai Kondrashov wrote: At the moment users logging into Fedora on a text terminal (console, SSH, etc.) get their locale environment variables (LANG, LC_ALL, etc.) set up by the shell they use.

Locale setup for non-shells

2017-04-04 Thread Nikolai Kondrashov
Hi everyone, At the moment users logging into Fedora on a text terminal (console, SSH, etc.) get their locale environment variables (LANG, LC_ALL, etc.) set up by the shell they use. I.e. the shell ultimately sources the /etc/locale.conf file. This works fine in most cases. However, if the user