From owner-freebsd-rc@FreeBSD.ORG Sun Jan 21 17:56:05 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 CAA7416A407; Sun, 21 Jan 2007 17:56:05 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by mx1.freebsd.org (Postfix) with ESMTP id 62F7C13C44B; Sun, 21 Jan 2007 17:56:05 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp4-g19.free.fr (Postfix) with ESMTP id 837A290C8; Sun, 21 Jan 2007 18:56:04 +0100 (CET) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id C6F1D11411; Sun, 21 Jan 2007 18:56:03 +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 6bk7lCD7aPmi; Sun, 21 Jan 2007 18:55:58 +0100 (CET) Received: from [193.120.13.130] (cream.xbsd.org [193.120.13.130]) by smtp.xbsd.org (Postfix) with ESMTP id 600CC1161A; Sun, 21 Jan 2007 18:55:57 +0100 (CET) Message-ID: <45B3A899.2060207@FreeBSD.org> Date: Sun, 21 Jan 2007 17:53:29 +0000 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.8 (X11/20061126) MIME-Version: 1.0 To: Florent Thoumie References: <45B36737.6080208@FreeBSD.org> In-Reply-To: <45B36737.6080208@FreeBSD.org> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig8D71A0528EE14DFB8F160E8C" 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: Sun, 21 Jan 2007 17:56:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8D71A0528EE14DFB8F160E8C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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? >=20 > Makes sense to me. Have a look at *_nice variable for example. 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. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enig8D71A0528EE14DFB8F160E8C 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 iD8DBQFFs6ieMxEkbVFH3PQRCn12AJsFkefE4GRRZQ+KIy3EnRLfdkJTHwCgiUnM ck5fuWLz9w6R8tlrzrX69Z4= =BR1c -----END PGP SIGNATURE----- --------------enig8D71A0528EE14DFB8F160E8C--