#489725 /usr/bin/apt-listchanges: mails are sent with current user's locale

#489725#5
Date:
2008-07-07 12:11:00 UTC
From:
To:
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.

#489725#10
Date:
2023-09-25 13:43:39 UTC
From:
To:
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
 >
 >
 >