Bug#765343: systemd: localed wrote a /etc/default/keyboard withouth XKBMODEL

Jérémy Bobbio lunar at debian.org
Tue Oct 14 11:37:48 BST 2014


Package: systemd
Version: 215-5+b1

Hi!

What happened:

1. Install Debian with GNOME desktop using Jessie d-i beta 2.
2. Upgrade to sid.
3. Add new layouts in Input Sources through the Region & Language
   interface.
4. Install Plymouth.
5. Restart.
6. Be unable to enter disk passphrase.

I hadn't notice when installing Plymouth that `update-initramfs`
actually issue an error about not being able to save a boottime keymap…

After more investigation, it seems that `/etc/default/keyboard` only had
entries for XKBLAYOUT, XKBVARIANT and BACKSPACE. This was prevent the
boot keymap from being generated as `setupcon` will exit unless
`XKBMODEL` is set.

Adding back XKBMODEL to `/etc/default/keyboard` and issuing
`update-initramfs -u` restored a working keymap.

I am not sure what made localed unable to get the keyboard model, but
maybe that situation is bad enough to make it have a fallback value?

-- 
Lunar                                .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20141014/2a43af02/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list