[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#619711: console-setup: breaks copying keymap to initramfs



Package: console-setup                   
Version: 1.71
Severity: grave

Hello,

if a system's keymap needs to be loaded during the initramfs stage,
initramfs-tools' /usr/share/initramfs-tools/hooks/keymap looks for 
	/etc/console-setup/cached.kmap.gz
and copies it to the initramfs.

console-setup 1.71 changed the name of this file to
	/etc/console-setup/cached_${CHARMAP}_$backspace$VARIANT.kmap.gz
i.e. something like
	/etc/console-setup/cached_ISO-8859-15_del.kmap.gz

Hence, /etc/console-setup/cached.kmap.gz doesn't exist anymore on fresh
installed systems and is thus not copied to the initramfs anymore.
This renders systems unbootable because, for example, passphrases cannot
be entered.
This bug hides well on upgraded systems, because console-setup doesn't
remove the old /etc/console-setup/cached.kmap.gz.

There are several alternatives to fix this bug like
* symlinking the new name to the old
* moving the keymap-copying from initramfs-tools to console-setup
* updating initramfs-tools to honor the new keymap name
Most of those alternatives need to be negotiated with initramfs-tools
and probably other initramfs-creators as well.
However, at the current stage console-setup should break on
packages that depend on the old naming scheme.


Thanks for your work & regards
   Mario
-- 
We know that communication is a problem, but the company is not going to
discuss it with the employees.
                       -- Switching supervisor, AT&T Long Lines Division

Attachment: signature.asc
Description: Digital signature


Reply to: