Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1078036

Bug#973313: Is the "LC_ALL=C.UTF-8" export to forked bash child process that run man check?

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Felix Lechner <felix.lechner@lease-up.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#973313: Is the "LC_ALL=C.UTF-8" export to forked bash child process that run man check?
Date Mon, 25 Oct 2021 18:40:03 +0200
Message-ID <DcbaW-R0-3@gated-at.bofh.it> (permalink)
References <DbCPT-4IF-1@gated-at.bofh.it> <DbD9g-54C-1@gated-at.bofh.it> <DbIsh-8ah-5@gated-at.bofh.it> <DbIVk-7E-5@gated-at.bofh.it> <DbM2R-1Yk-13@gated-at.bofh.it> <B4X7s-3y2-5@gated-at.bofh.it> <DbOHs-3Ju-77@gated-at.bofh.it> <DbZW9-28q-1@gated-at.bofh.it> <B4X7s-3y2-5@gated-at.bofh.it> <DbZW9-28q-1@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Mon Oct 25 16:30:09 2021
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.751
Reply-To Felix Lechner <felix.lechner@lease-up.com>, 973313@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Lintian Maintainers <lintian-maint@debian.org>
X-Debian-Pr-Message followup 973313
X-Debian-Pr-Package lintian
X-Debian-Pr-Source lintian
X-Gm-Message-State AOAM530nO08S6LpdsRM7WS8pUr5PsEyQGb63X/rH3LmFqIa/Aind6wwG R+4JezCX0wqt3PQCJ/N/x4LcTDmYye57cVvZsU0=
X-Google-SMTP-Source ABdhPJyFWUOeHuaI8qlVGdcMe3N9bqKKksPGsUi1+cadaH6W0mcldZOqm/+aTsPYCxMAmQw7afumrOYQoia7TsDsa9M=
X-Received by 2002:aca:bf06:: with SMTP id p6mr23501972oif.42.1635179253943; Mon, 25 Oct 2021 09:27:33 -0700 (PDT)
MIME-Version 1.0
X-Gmail-Original-Message-ID <CAFHYt543zhcF8N7oDYy4t=dcZBwy+WC=wm-gH1YGU+c437AVNQ@mail.gmail.com>
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1686691
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 72
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 25 Oct 2021 09:26:57 -0700
X-Original-Message-ID <CAFHYt543zhcF8N7oDYy4t=dcZBwy+WC=wm-gH1YGU+c437AVNQ@mail.gmail.com>
X-Original-References <2c983963-a7b7-b1b8-b056-80447493a304@sina.com> <CAFHYt57u09hVRm=5NA+AhmXgEcHqyvwyfaQa5h7s+P=7ac+ufw@mail.gmail.com> <15da733c-4c77-8fc5-d1f6-81fc17b0d6b1@sina.com> <CAFHYt56Vm8zrUi1jCOS+1hormt0gFQK_ZOHjSp+ARVzEzr5xYQ@mail.gmail.com> <8c8acb86-4e0b-5944-e94e-d4d882132aea@sina.com> <CAFHYt54iCFzbhZrCcBBOKJdGn+YKuE4NyOhyzn5VAtYrZTb6cQ@mail.gmail.com> <CAFHYt55JXnD+AfaRDS8ZVEGVdVkQ0jOfoiJdCLaxEaukVYy2VA@mail.gmail.com> <b741eeae-5e87-e70c-9ad9-a0d5d2efd417@sina.com> <CAFHYt54iCFzbhZrCcBBOKJdGn+YKuE4NyOhyzn5VAtYrZTb6cQ@mail.gmail.com> <b741eeae-5e87-e70c-9ad9-a0d5d2efd417@sina.com>
Xref csiph.com linux.debian.bugs.dist:1078036

Show key headers only | View raw


Hi,

On Sun, Oct 24, 2021 at 9:33 PM xiao sheng wen <atzlinux@sina.com> wrote:
>
> I can reproduce this bug in my test server.

I can't believe it. Finally!

> My notebook use zh_CN.UTF-8 locale, ssh to the test server.

Is the test server an sshd inside Docker?

> So,my question is: Is the "LC_ALL=C.UTF-8" export to forked bash child process that run man check?

It is. I confirmed that just now by replacing the call to 'man' with
'/bin/sh -c "echo $LC_ALL"'. The output was C.UTF-8.

> I think is that the screen output of console running Docker inherit the en_US.UTF-8 locale from your host, you may run locale to see the LANG in Docker. Is it en_US.UTF-8?

Here is the complete output in Docker:

root@5fc85dcffb70:/# locale -a
C
C.UTF-8
POSIX

root@5fc85dcffb70:/# locale
LANG=
LANGUAGE=
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=

And here on the server:

On the host, I use:

➤ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

The output from 'locale -a' is too long. I must have 'locales-all' installed.

Kind regards
Felix Lechner

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#973313: The locales package not installed in salsa lintian Docker image xiao sheng wen(肖盛文) <atzlinux@sina.com> - 2021-10-24 06:00 +0200
  Bug#973313: The locales package not installed in salsa lintian Docker image Felix Lechner <felix.lechner@lease-up.com> - 2021-10-24 06:20 +0200
    Bug#973313: The locales package not installed in salsa lintian Docker image xiao sheng wen(肖盛文) <atzlinux@sina.com> - 2021-10-24 12:00 +0200
      Bug#973313: The locales package not installed in salsa lintian Docker image Felix Lechner <felix.lechner@lease-up.com> - 2021-10-24 12:30 +0200
        Bug#973313: The locales package not installed in salsa lintian Docker image xiao sheng wen(肖盛文) <atzlinux@sina.com> - 2021-10-24 15:50 +0200
          Bug#973313: The locales package not installed in salsa lintian Docker image Felix Lechner <felix.lechner@lease-up.com> - 2021-10-24 18:40 +0200
            Bug#973313: Is the "LC_ALL=C.UTF-8" export to forked bash child process that run man check? xiao sheng wen(肖盛文) <atzlinux@sina.com> - 2021-10-25 06:40 +0200
              Bug#973313: Is the "LC_ALL=C.UTF-8" export to forked bash child process that run man check? Felix Lechner <felix.lechner@lease-up.com> - 2021-10-25 18:40 +0200
                Bug#973313: ssh to salsa-runner.debian.net debug xiao sheng wen(肖盛文) <atzlinux@sina.com> - 2021-10-26 09:40 +0200
                Bug#973313: add one locale command in Executing "step_script" stage xiao sheng wen(肖盛文) <atzlinux@sina.com> - 2021-10-26 10:00 +0200
    Bug#973313: The locales package not installed in salsa lintian Docker image xiao sheng wen(肖盛文) <atzlinux@sina.com> - 2021-10-24 17:20 +0200

csiph-web