On Tue, May 06, 2003 at 02:00:34PM +0200, Jean-Christophe Dubacq wrote: > On Tue, May 06, 2003 at 07:08:40AM -0400, Sean Harshbarger wrote: > > This problem plauged me when I was unoffically maintaining the gdm > > package. For some reason gdm will not take the system wide locale if > > launched from init.d. I never did solve this. > > This is because init never reads /etc/environment (since it is read by > pam_env, and init does not log on). > > So I did include in my /etc/init.d/gdm: > set -a > . /etc/environment > set +a
What are the set -/+ a for ? Also, why do you not test for the existence of the /etc/environment file before sourcing it ? BTW, i have filled Bug#192143 about this, maybe not with the most explicit of wording though, but i can do a follow-up once we agree what the best solution is. Friendly, Sven Luther

