You are not logged in.

#1 2012-07-19 14:53:57

miro279
Member
Registered: 2010-10-02
Posts: 153

[SOLVED] DAEMON_LOCALE not working?

I try to get my boot messages in C language and everything in the system german but also messages. So I set in rc.conf:

HARDWARECLOCK="UTC"
TIMEZONE="Europe/Berlin"
KEYMAP="de"
CONSOLEFONT=
CONSOLEMAP=
LOCALE=""
DAEMON_LOCALE="no"
USECOLOR="yes"

and in /etc/locale.conf

LANG=de_DE.UTF-8
LC_MESSAGES=C

running locale gives:

LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES=C
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

I also tried to set LOCALE in rc.conf, same result.
which looks good. Still boot messages are in german. Is that a bug? I understand DAEMON_LOCALE="no" should also set those messages to C which is english.

Last edited by miro279 (2012-07-21 10:00:51)

Offline

#2 2012-07-20 15:18:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] DAEMON_LOCALE not working?

Offline

#3 2012-07-20 23:08:41

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: [SOLVED] DAEMON_LOCALE not working?

@karol: I finally had a look at this, and it turns out that you were absolutely right. I had messed it up. It is now fixed in git, and will be released to testing sometime this weekend.

Offline

#4 2012-07-21 00:00:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] DAEMON_LOCALE not working?

tomegun wrote:

@karol: I finally had a look at this, and it turns out that you were absolutely right. I had messed it up. It is now fixed in git, and will be released to testing sometime this weekend.

I saw the ML post and thought to myself "is it what I think it is?" :-)
Thanks for looking into it.

Last edited by karol (2012-07-21 00:06:48)

Offline

#5 2012-07-21 01:09:39

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: [SOLVED] DAEMON_LOCALE not working?

@karol: That's the one: <http://projects.archlinux.org/initscrip … a4094cf1f2>. I hope that fixes it at least ;-) Thanks for the report!

Offline

#6 2012-07-21 09:54:37

miro279
Member
Registered: 2010-10-02
Posts: 153

Re: [SOLVED] DAEMON_LOCALE not working?

Thanks! Removing the lines in /etc/rc.sysinit did the trick.
Concerning the other post:

I guess the best solution would be to let rc.conf/locale.conf apply everywhere (hence deprecating DAEMON_LOCALE), and allow them to be overridden on a per-user basis.

That would be much better in my opinion!

Last edited by miro279 (2012-07-21 10:00:33)

Offline

#7 2012-07-21 10:55:51

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: [SOLVED] DAEMON_LOCALE not working?

miro279 wrote:

Thanks! Removing the lines in /etc/rc.sysinit did the trick.
Concerning the other post:

I guess the best solution would be to let rc.conf/locale.conf apply everywhere (hence deprecating DAEMON_LOCALE), and allow them to be overridden on a per-user basis.

That would be much better in my opinion!

Yeah, I'd like to introduce /home/$USER/.config/locale.conf, but just want to make sure to get some other players on board first (systemd, kde, gnome,...). I'd hate for us to diverge on this.

Offline

Board footer

Powered by FluxBB