[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#209279: base-config: looking ugly after a d-i install



On Wed, Sep 10, 2003 at 04:26:08PM -0400, Joey Hess wrote:
> Denis Barbier wrote:
> > On Wed, Sep 10, 2003 at 01:47:25PM -0400, Joey Hess wrote:
> > > Petter Reinholdtsen wrote:
> > > > So I'm not sure if it should be reassigned, or just closed.  The
> > > > problem is hidden with the two fixes, and the last real is probably
> > > > already reported against slang.  The behaviour of the locales package
> > > > is not obviously a bug, so I am reluctant to report it.
> > > 
> > > I belive this is a bug. I can't think of a good reason to set LANG=C in
> > > /etc/environment.
> > 
> > The locales/default_environment_locale question asks whether a locale
> > should be the default for the whole system.  If answer is None,
> > /etc/environment is untouched, otherwise LANG=$locale is added into
> > this file.  Are there suggestions to make it better?
> 
> It makes sense for locales other than C, but not for C. Maybe C should
> not be included in the list.

Yes, I just submitted a patch in #210350.

> Then if only the C locale is selected, the
> question will not be displayed, and "None" will go through to the
> postinst which will not modify /etc/environment.
>
> (As an aside, locales also adds a blank line at the top of
> /etc/environment before the LANG line if that file is empty. And if I
> select a default locale from the list, then reconfigure it again and
> choose None, it does not remove my old selection from /etc/environment.)

Oh right, I am going to file another BR.

Denis



Reply to: