Locales in init scripts (about gdm bug #147091)
Hi.
I've noticed that gdm does not starts with the system's default locale
(which is the bug report I found with more than a year open and with
patch). The maintainer actually answered the bug and the patch saying
that the patch (wich included . /etc/environment into the init.d gdm
script) was wrong because:
"I think this is wrong. /etc/environment is a PAM configuration file
that is read at login. This makes it a poor choice as a "global default
LANG setting". I agree that one is needed, I just don't think it should
be /etc/environment. It should also be done once, early in the boot
sequence, so that as much of the boot sequence as possible can be
localized."
This make sense, it would be nice (actually it is necessary) that the
init scripts run under the system's default locale (configured by the
locales package). The problem is that the locales package only touchs
the /etc/environment file, which is not read by init, and, if what Ryan
Murray <rmurray@debian.org> says is correct, it should not.
So, how to make the init scripts localized?
What do you think?
-- daniel
Reply to: