kbd locale errors

Elan Ruusamäe glen at pld-linux.org
Thu Apr 10 17:04:27 CEST 2008


On Thursday 10 April 2008 17:51:58 Jakub Bogusz wrote:
> > Loading console font and map.......................................[ BUSY
> > ]locale: Cannot set LC_CTYPE to default locale: No such file or directory
> > locale: Cannot set LC_MESSAGES to default locale: No such file or
> > directory locale: Cannot set LC_ALL to default locale: No such file or
> > directory stty: invalid argument `-utf8'
> > Try `stty --help' for more information.
> >                                                                    [ DONE
> > ] Enabling SAK sequence..............................................[
> > DONE ] Starting Gpm
> > service...............................................[ DONE ]
> >
> > ---
> > these came from kbd-1.12-17.i686, but that version doesn't include latest
> > qboosh changes [1]. there's no 'locale' command invocation i can find
> > from kbd package. not even matces for 'stty' invocation.
>
> locale is used in /etc/rc.d/init.d/console and /sbin/setsysfont scripts to
> detect UTF-8 encoding.
>
> The other thing is that locales don't work properly before /usr is
> mounted or if locale data is missing in locale-archive (in such case
> keyboard and font maps could be initialized improperly).

so what's the solution? 

- moving locale data to /lib isn't probably good idea.
- delay the setup so it would be ran after nfs scripts (for /usr), 
- try doing the console setup twice?
- introduce some variable in config rather trying to autodetect things?

other thing is that shouldn't the "setting console font and map" be first 
thing done on startup before anything is displayed on console?


-- 
glen


More information about the pld-devel-en mailing list