From owner-freebsd-rc@FreeBSD.ORG Fri Feb 9 00:26:00 2007 Return-Path: X-Original-To: rc@freebsd.org Delivered-To: freebsd-rc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1121016A400; Fri, 9 Feb 2007 00:26:00 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp8-g19.free.fr (smtp8-g19.free.fr [212.27.42.65]) by mx1.freebsd.org (Postfix) with ESMTP id 9AC0A13C48E; Fri, 9 Feb 2007 00:25:59 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp8-g19.free.fr (Postfix) with ESMTP id B3B1F54AA; Fri, 9 Feb 2007 01:25:58 +0100 (CET) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 31EFA11B4F; Fri, 9 Feb 2007 01:25:58 +0100 (CET) X-Virus-Scanned: amavisd-new at xbsd.org Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2HnWyaTIzRMf; Fri, 9 Feb 2007 01:25:53 +0100 (CET) Received: from [193.120.13.130] (cream.xbsd.org [193.120.13.130]) by smtp.xbsd.org (Postfix) with ESMTP id 72BBE117C5; Fri, 9 Feb 2007 01:25:52 +0100 (CET) Message-ID: <45CBBE8A.4030901@FreeBSD.org> Date: Fri, 09 Feb 2007 00:21:30 +0000 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: Florent Thoumie References: <45B36737.6080208@FreeBSD.org> <45B3A899.2060207@FreeBSD.org> In-Reply-To: <45B3A899.2060207@FreeBSD.org> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig8C38EB8EA33C1B72B0F9EBAD" Cc: Andrew Pantyukhin , rc@freebsd.org Subject: Re: Service-specific default locales X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Feb 2007 00:26:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8C38EB8EA33C1B72B0F9EBAD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Florent Thoumie wrote: > Florent Thoumie wrote: >> Andrew Pantyukhin wrote: >>> I need to run different services in different locales >>> (basically LANG/LC_ALL changed). Before I look at how >>> to implement it, is there any objection to >>> _locale presetting the two variables to its >>> value (and possibly some error-checking via locale(1)? >>> >>> As for a site-wide default, I currently have "export >>> LANG=3Den_US.UTF-8" in my rc.conf. Should we introduce >>> a general "locale" variable for this? >> Makes sense to me. Have a look at *_nice variable for example. >=20 > Thinking about it, maybe something like _env would be better > (cause more generic). Of course you wouldn't be able to do error > checking but I'm not sure it's so useful anyway. Any update on that, do you need help or something? --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enig8C38EB8EA33C1B72B0F9EBAD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFy76KMxEkbVFH3PQRCqnGAJ4wN0yVZKN2L/MCZgQp6u/m/iXGzgCZAeJz zt8ddSPoG3ebWNzSm3UpcpA= =SbW2 -----END PGP SIGNATURE----- --------------enig8C38EB8EA33C1B72B0F9EBAD--