pcp
[Top] [All Lists]

Re: is_chkconfig_on not i18n safe

To: kenmcd@xxxxxxxxxxxxxxxxx
Subject: Re: is_chkconfig_on not i18n safe
From: Martin Knoblauch <Martin.Knoblauch@xxxxxxxxxxx>
Date: Mon, 17 Sep 2001 13:51:20 +0200
Cc: pcp@xxxxxxxxxxx
Organization: TeraPort GmbH
References: <Pine.LNX.4.21.0109172135060.1831-100000@kenj-pc.melbourne.sgi.com>
Sender: owner-pcp@xxxxxxxxxxx
kenmcd@xxxxxxxxxxxxxxxxx wrote:
> 
> On Mon, 17 Sep 2001, Martin Knoblauch wrote:
> 
> > Hi,
> >
> >  it seems that the is_chkconfig_on helper does not work if LANG is set
> > to something different than "C" (or another english kind of language).
> > This makes the pcp and pmie scripts in .../init.d fail. The following
> > patch cures the problem for me:
> >
> > root@laplin22:/usr/share/pcp/lib > diff -u rc-proc.sh-orig rc-proc.sh
> > ...
> 
> Please excuse our English linguistic imperialism.
>

 A week ago I would have had a witty response. Today nothing seems to be
appropriate :-(((
 
> I'm sure Mark will pick up this patch in the next PCP release.
> 
> Out of interest, what does chkconfig --list report in place of
> "3:on" for other locales?
> 

For LANG=de

pcp             0:Aus   1:Aus   2:Ein   3:Ein   4:Ein   5:Ein   6:Aus

For LANG=fr

pcp             0:Arr?t 1:Arr?t 2:Marche        3:Marche       
4:Marche        5:Marche        6:Arr?t 

Martin
-- 
------------------------------------------------------------------
Martin Knoblauch         |    email:  Martin.Knoblauch@xxxxxxxxxxx
TeraPort GmbH            |    Phone:  +49-89-510857-309
C+ITS                    |    Fax:    +49-89-510857-111
http://www.teraport.de   |    Mobile: +49-170-4904759

<Prev in Thread] Current Thread [Next in Thread>