Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2012 13:11:18 +0100
From:      Victor Balada Diaz <victor@bsdes.net>
To:        stable@freebsd.org
Subject:   i18n not working during startup
Message-ID:  <20120208121118.GH2010@equilibrium.bsdes.net>

next in thread | raw e-mail | index | archive | help
Hello,

I tried freebsd-i18n but no one answered, so i will try better luck here. Sorry
for the people who are subscribed to both lists.

----- Forwarded message from Victor Balada Diaz <victor@bsdes.net> -----

Date: Thu, 2 Feb 2012 19:17:21 +0100
From: Victor Balada Diaz <victor@bsdes.net>
To: freebsd-i18n@freebsd.org
Subject: i18n not working during startup
User-Agent: Mutt/1.5.21 (2010-09-15)

Hello,

I've setup login classes by handbook recommendation but seems that daemons started by rc
at system bootup don't use it. What i'm actually trying to do is configure tomcat to
use UTF-8 by default. I've configured it's user class on /etc/login.conf adding:

        :setenv=LC_ALL=en_US.UTF-8:\
        :lang=en_US.UTF-8:\

rebuilt login.conf db and tried rebooting. It doesn't seem to have lang or lc_all set
in their environment. As a workaround i thought about adding export lines at start of
/etc/rc.conf, but that's an ugly hack. 

Is there any other way of setting up lang settings for system startup daemons?

FreeBSD version: 7.4
Arch: amd64

Thanks a lot.
Regards
-- 
La prueba más fehaciente de que existe vida inteligente en otros
planetas, es que no han intentado contactar con nosotros. 

----- End forwarded message -----

-- 
La prueba más fehaciente de que existe vida inteligente en otros
planetas, es que no han intentado contactar con nosotros. 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120208121118.GH2010>