Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]):

> -- Subject: console-common: /etc/init.d/keymap.sh never set UTF-8 locale
> charmap when /usr isn't mounted. 
>  
> If /usr lives on its own partition it isn't yet mounted when
> /etc/init.d/keymap.sh is being executed.
> Therefore unicode_start_stop() function in this script doesn't work since it
> uses commands from /usr/bin/.
> Copying all the needed executable files and scripts from /usr/bin to /bin
> doesn't solve the problem
> since 'locale charmap' command in the line 70:
> 
> CHARMAP=`LANG=$LANG LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE locale charmap`
> 
> needs data files or libraries from /usr/share/locale or /usr/lib/locale to
> work
> and unicode_start command script itself which is used to set keyboard into
> Unicode mode contains
> the hardcoded call to /usr/bin/vt-is-UTF8.


I think we already have|had this bug report and I confirm it.

That's a tricky thing, indeed.

We certainnly cannot move all stuff needed by unicode_start_stop() in
the root directory. That would be too much.

We also cannot delay the keymap configuration after /usr is
mounted...because users need that in case the system boots in single
user mode.
What we could maybe do is having two init scripts:
- one for setting up the keymap, called in single user mode
- another one to setup unicode mode, called in multiuser mode


Attachment: signature.asc
Description: Digital signature

Reply via email to