Bug#327212: [Pkg-nagios-devel] Bug#327212: nagios-common: locale
problem breaks ping plugin
alet at unice.fr
alet at unice.fr
Thu Sep 8 15:53:22 UTC 2005
Hi again,
On Thu, Sep 08, 2005 at 10:55:17AM -0400, sean finney wrote:
>
> so LC_ALL trumps all other settings, then the individual settings like
> LC_NUMERIC etc, then LANG. i don't know much about how the default
> locale is set up for debian boxes when you use a different locale... are
> both environemnt variables LC_ALL and LANG set to the same value, or is
> only LC_ALL set?
>
> if they're both set then simply unsetting LC_ALL before setting LC_NUMERIC
> etc would work afaict. otherwise we'd have to do something like fetch
> LC_ALL, unset it, set LC_NUMERIC etc, and then put the original value
> of LC_ALL into LANG.
On **MY** system, the /etc/environment file contains the setting
of both LANG and LC_ALL to identical values.
However, I don't remember if I did this myself, or if some
system tool or library setup did it for me, so I don't know how
it is on a "clean" Debian box.
Also I don't know exactly if or when this file is used.
bye
Jerome Alet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20050908/d9b77885/attachment.pgp
More information about the Pkg-nagios-devel
mailing list