Bug#489725: /usr/bin/apt-listchanges: mails are sent with current user's locale
- To: 489725@bugs.debian.org
- Subject: Bug#489725: /usr/bin/apt-listchanges: mails are sent with current user's locale
- From: Jonathan Kamens <jik@kamens.us>
- Date: Mon, 25 Sep 2023 09:43:39 -0400
- Message-id: <[🔎] 874dd22d-aa07-4cf9-9b15-417b09041a02@kamens.us>
- Reply-to: Jonathan Kamens <jik@kamens.us>, 489725@bugs.debian.org
- In-reply-to: <20080707121100.13503.59704.reportbug@hemlock.toolserver.org>
- References: <20080707121100.13503.59704.reportbug@hemlock.toolserver.org> <20080707121100.13503.59704.reportbug@hemlock.toolserver.org> <20080707121100.13503.59704.reportbug@hemlock.toolserver.org>
I am not sure I agree with this.
Sure, when apt-listchanges is running out of apticron or
unattended-upgrades it should use the system locale, and indeed I
assume it does in those contexts. But it seems arguably correct to
me that if it is being run by a user who has it configured to send
email it should send the email using that user's locale settings.
On Mon, 07 Jul 2008 12:11:00 +0000 River Tarnell
<river@hemlock.toolserver.org> wrote:
> Package: apt-listchanges
> Version: 2.82
> Severity: normal
> File: /usr/bin/apt-listchanges
>
> when apt-listchanges sends mail for changes, it uses the
current user's
> locale for the mail (at least the subject line). this is wrong;
just
> because the current user prefers German doesn't mean everyone
reading
> the mail understand German.
>
> the system's default locale (or else, C) should be used for the
mail
> message.
>
> -- System Information:
> Debian Release: lenny/sid
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.25.4-hemlock29-twincest (SMP w/2 CPU cores)
> Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_GB.UTF-8
(charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages apt-listchanges depends on:
> ii apt 0.7.14 Advanced front-end for dpkg
> ii debconf [debconf-2.0] 1.5.22 Debian configuration management
sy
> ii debianutils 2.28.4 Miscellaneous utilities specific t
> ii python 2.5.2-1 An interactive high-level object-o
> ii python-apt 0.7.6 Python interface to libapt-pkg
> ii python-support 0.8.1 automated rebuilding support for P
> ii ucf 3.007 Update Configuration File: preserv
>
> Versions of packages apt-listchanges recommends:
> ii postfix [mail-transport-agent 2.5.2-1 High-performance mail
transport ag
>
> -- debconf information:
> apt-listchanges/confirm: false
> apt-listchanges/email-address: root
> apt-listchanges/which: news
> apt-listchanges/frontend: pager
> apt-listchanges/save-seen: true
>
>
>
Reply to: