Re: [Partially solved] Re: Locale errors
On Tue, 14 Apr 2009 18:56:43 +0200
Florian Kulzer <florian.kulzer+debian@icfo.es> wrote:
> On Tue, Apr 14, 2009 at 12:38:56 -0400, Celejar wrote:
> > On Mon, 13 Apr 2009 08:40:04 +0100 Bob Cox wrote:
>
> [...]
>
> > > Just a thought: you have anything in /etc/environment ?
> >
> > Very interesting; my /etc/environment contains:
> >
> > LANG="en_US.UTF-8"
> >
> > [I have no idea how that got there; I'm pretty sure I didn't enter it
> > manually.]
>
> Is your system old enough so that the file could be a legacy from
> previous runs of "dpkg-reconfigure locales"?
Very possible; this install is more than two years old.
> > When I comment out the line, the locale output under sudo -i
> > is correct, with no extra quotes.
>
> AFAIK, /etc/environment is depreciated in favor of /etc/default/locale.
> It seems that the new file automatically gets configured without the
> problematic quotes around the locale names. Your problem suggests that
> "sudo -i" still uses settings from /etc/environment, which might be a
> bug. (I am not sure about the official Debian policy regarding
> /etc/environment and /etc/default/locale.)
So should I report this against sudo?
Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
Reply to: