[Virtual-pkg-base-maintainers] Bug#782283: base: wrong locale on boot
Sascha Arthur
sascha.arthur at gmail.com
Thu Apr 9 23:06:24 UTC 2015
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 at 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 at node1 / # cat /startup.sh
#!/bin/bash
echo "startup-script"
echo `date` >> /startup.log
root at node1 / # cat startup.log
cat: startup.log: Datei oder Verzeichnis nicht gefunden
root at node1 / # reboot
The system is going down for reboot NOW!com (pts/0) (Fri Apr 10 00:42:55 2015
root at 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 at node1 ~ # /startup.sh
startup-script
root at 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
More information about the Virtual-pkg-base-maintainers
mailing list