Your message dated Thu, 30 Jul 2020 14:11:34 +0200
with message-id <[email protected]>
and subject line Re: base: wrong locale on boot
has caused the Debian Bug report #782283,
regarding base: wrong locale on boot
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
782283: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782283
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: base
Severity: normal
Tags: l10n
Dear Maintainer,
It seems somehow the locale is wrong on boot (this issue persists since several
years) but i always used 'dirty' hacks to solve it.
Now i would like to report it, maybe its not an issue but an feature so i dont
know.
On boot the locale is always 'POSIX' which lead to some trouble with init.d
scripts and applications running on boot.
They work if i start them from shell but they dont if i boot.
Heres the shell log:
root@node1 / # cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/startup.sh
exit 0
root@node1 / # cat /startup.sh
#!/bin/bash
echo "startup-script"
echo `date` >> /startup.log
root@node1 / # cat startup.log
cat: startup.log: Datei oder Verzeichnis nicht gefunden
root@node1 / # reboot
The system is going down for reboot NOW!com (pts/0) (Fri Apr 10 00:42:55 2015
root@node1 ~ # cat /startup.log
Fri Apr 10 00:54:22 CEST 2015
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=
root@node1 ~ # /startup.sh
startup-script
root@node1 ~ # cat /startup.log
Fri Apr 10 00:54:22 CEST 2015
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=
Fr 10. Apr 00:54:29 CEST 2015
LANG=de_DE.UTF-8 LANGUAGE=de_DE:de LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL=
-- System Information:
Debian Release: 7.8
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- End Message ---
--- Begin Message ---
Sorry, this bug is about a very old release, and we can only assume
that things have improved in the meantime. If not, please file a new
bug against the package causing the problem in the current release.
Also, in the current release with a more modern init, there are
proper ways of fixing this for -local- startup tasks.
Chris
--- End Message ---