From owner-freebsd-rc@FreeBSD.ORG Sun Jan 21 13:46:50 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 E2DD516A400 for ; Sun, 21 Jan 2007 13:46:50 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 9596913C45A for ; Sun, 21 Jan 2007 13:46:50 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by postfix2-g20.free.fr (Postfix) with ESMTP id 0A93294E356 for ; Sun, 21 Jan 2007 13:17:17 +0100 (CET) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp7-g19.free.fr (Postfix) with ESMTP id 8207D554D; Sun, 21 Jan 2007 14:17:08 +0100 (CET) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 886FE1167E; Sun, 21 Jan 2007 14:17:07 +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 LeHCMeAhGaCC; Sun, 21 Jan 2007 14:17:02 +0100 (CET) Received: from [193.120.13.130] (cream.xbsd.org [193.120.13.130]) by smtp.xbsd.org (Postfix) with ESMTP id 7CB8A11410; Sun, 21 Jan 2007 14:17:00 +0100 (CET) Message-ID: <45B36737.6080208@FreeBSD.org> Date: Sun, 21 Jan 2007 13:14:31 +0000 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.8 (X11/20061126) MIME-Version: 1.0 To: Andrew Pantyukhin References: In-Reply-To: X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig1C4A3E17CBED50892B02341E" Cc: 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 13:46:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1C4A3E17CBED50892B02341E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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)? >=20 > 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 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enig1C4A3E17CBED50892B02341E 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 iD8DBQFFs2c8MxEkbVFH3PQRClngAJ9SQ4Lsl1mOGGdIpvHtLtdNUhSnugCeM9sl 93r/ClEn+OGagH1UOGwDoDs= =2YIv -----END PGP SIGNATURE----- --------------enig1C4A3E17CBED50892B02341E-- 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-- From owner-freebsd-rc@FreeBSD.ORG Mon Jan 22 00:52:02 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 2A5E816A400 for ; Mon, 22 Jan 2007 00:52:02 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id B73AA13C43E for ; Mon, 22 Jan 2007 00:52:01 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 27721 invoked by uid 399); 22 Jan 2007 00:24:00 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 22 Jan 2007 00:24:00 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45B4041D.1090500@FreeBSD.org> Date: Sun, 21 Jan 2007 16:23:57 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) 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.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Mon, 22 Jan 2007 00:52:02 -0000 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=en_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. > > 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. I tend to agree with you on both counts. If we were to see a lot more requests for something like this, then it would certainly be worth pursuing. Otherwise I fear that we would end up too far over on the configurability======usability continuum. Doug -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Mon Jan 22 11:08:46 2007 Return-Path: X-Original-To: freebsd-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 52E0F16A5DB for ; Mon, 22 Jan 2007 11:08:46 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 40CD313C44C for ; Mon, 22 Jan 2007 11:08:46 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0MB8k6r037050 for ; Mon, 22 Jan 2007 11:08:46 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0MB8iYq037046 for freebsd-rc@FreeBSD.org; Mon, 22 Jan 2007 11:08:44 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Jan 2007 11:08:44 GMT Message-Id: <200701221108.l0MB8iYq037046@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-rc@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 22 Jan 2007 11:08:46 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/48881 rc [PATCH] The influence of /etc/start_ifname on /etc/rc. o conf/98758 rc [patch] Templatize 'jail_fstab' in /etc/rc.d/jail o conf/98846 rc [patch] Templatize 'jail_rootdir' in /etc/rc.d/jail o bin/104623 rc "rc.d/ppp restart" stops all instances of ppp o conf/105689 rc syslogd starts too late at boot o conf/107155 rc /etc/rc.d/ppp-user does not bring up pppoe at boot o conf/107278 rc [patch] possible DoS when using the jail_interface opt o conf/107316 rc [rc.d]: [base] [rpc.lockd] nfslocking restart does not o conf/107364 rc pf fails to start on bootup after system update from F 9 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/45226 rc Fix for rc.network, ppp-user annoyance o conf/48870 rc [PATCH] rc.network: allow to cancel interface status d o conf/55916 rc [PATCH] ppp-user options o conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} o conf/73677 rc [patch] add support for powernow states to power_profi o conf/74817 rc [patch] network.subr: fixed automatic configuration of o conf/77663 rc Suggestion: add /etc/rc.d/addnetswap after addcritremo o conf/78906 rc [patch] Allow mixer_enable="NO" in rc.conf o conf/79196 rc [PATCH] configurable dummynet loading from /etc/rc.co o kern/81006 rc ipnat not working with tunnel interfaces on startup o conf/85363 rc syntax error in /etc/rc.d/devfs o conf/85819 rc [patch] script allowing multiuser mode in spite of fsc o conf/88913 rc [patch] wrapper support for rc.subr o conf/89061 rc [patch] IPv6 6to4 auto-configuration enhancement o conf/89870 rc [patch] feature request to make netif verbose rc.conf o conf/92523 rc [patch] allow rc scripts to kill process after a timeo o conf/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d o conf/95162 rc [patch] Missing feature in rc.subr o conf/96343 rc [patch] rc.d order change to start inet6 before pf o conf/99444 rc [patch] Enhancement: rc.subr could easily support star o conf/99595 rc [PATCH] /etc/rc.d/dhclient doesn't interact well with o conf/99721 rc [patch] /etc/rc.initdiskless problem copy dotfile in s o conf/102700 rc [PATCH] Add encrypted /tmp support to GELI/GBDE rc.d s o conf/102722 rc kerberos5 server startupscript should use --detach o conf/102913 rc /etc/rc.d/named killall in jailed OS o conf/103486 rc [rc.d] [patch] rc.d/jail: mount fstab after devfs o conf/103489 rc [rc.d] [patch] named_chroot_autoupdate doesn't work in o conf/103976 rc rc.d/named restart failure o conf/104408 rc command not set in rc.d/isdnd, can't stop isdnd with t o conf/104549 rc [patch] rc.d/nfsd needs special _find_processes functi o conf/104884 rc [patch] Add support EtherChannel configuration to rc.c o conf/105145 rc [PATCH] add redial function to rc.d/ppp o conf/105568 rc [patch] Add more flexibility to rc.conf, to choose "_e o conf/105570 rc [patch] to allow tun(4) in rc.conf 'cloned_interfaces' o conf/106009 rc [patch] Fix pppoed startup script to process multiply o conf/106873 rc [patch] rc.d/nfslocking does not properly restart o conf/106978 rc "daily run" incorrectly assumes auth.log is rolled mor o conf/107035 rc bridge interface given in rc.conf not taking an (stati 38 problems total. From owner-freebsd-rc@FreeBSD.ORG Tue Jan 23 01:18:09 2007 Return-Path: X-Original-To: freebsd-rc@hub.freebsd.org Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B44816A400; Tue, 23 Jan 2007 01:18:09 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 24CA813C4A7; Tue, 23 Jan 2007 01:18:09 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0N1I8xM004866; Tue, 23 Jan 2007 01:18:08 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0N1I8eb004862; Tue, 23 Jan 2007 01:18:08 GMT (envelope-from linimon) Date: Tue, 23 Jan 2007 01:18:08 GMT From: Mark Linimon Message-Id: <200701230118.l0N1I8eb004862@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org Cc: Subject: Re: conf/108226: second copy of ppp started at boot time 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: Tue, 23 Jan 2007 01:18:09 -0000 Synopsis: second copy of ppp started at boot time Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jan 23 01:17:22 UTC 2007 Responsible-Changed-Why: Sounds like this could be a problem with the rc scripts. http://www.freebsd.org/cgi/query-pr.cgi?pr=108226