Comment 0 for bug 2063895

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

[ Impact ]

During the 24.04 cycle, an update was made to Plymouth. This update apparently mandated the includsion of a lot more keyboard layouts into the `keymap-render.png` file for each Plymouth theme, which is used by Plymouth to display what keyboard layout the user should type in when providing a disk decryption passphrase. The changes made to Plymouth are not compatible with the older `keymap-render.png` files, meaning that if a user installs with FDE enabled, the keyboard layout shown to them on the Plymouth screen will **not** be the keyboard layout actually in use. For instance, if you install a system using the US English keyboard layout, you will be told you should type in Norse (layout `no`) to decrypt the disk, despite the fact that the layout actually in use is indeed `us`.

While the `spinner` Plymouth theme in use by Ubuntu got the needed update, and Kubuntu and Ubuntu Cinnamon both got the needed updates, many if not all of the remaining Plymouth themes were not updated, meaning FDE users are being shown confusing keyboard layout information every time they boot their system.

The solution is to copy the `keymap-render.png` file from the `spinner` Plymouth theme into the Plymouth themes for each affected flavor. So far Lubuntu and Ubuntu Unity are known to be affected. It is likely that other flavors are as well.

[ Test Plan ]

* For each flavor, do an encrypted installation and observe whether the wrong keyboard layout is shown on the decryption screen. Ideally, do each installation with a different keyboard layout selected.
* For each affected flavor, install a Plymouth theme package that has the updated keymap-render.png file, then reboot the system.
* Observe the decryption screen and ensure the proper keyboard layout is shown.

[ Where problems could occur ]

If the keymap-render.png file from `spinner` is also wrong in some way (which I have not seen yet), then applying updates in this way will result in everyone's decryption keyboard layout indicator being broken in the same way. Doing each installation with a different keyboard layout should detect if the image is obviously broken and only just so happens to work with the couple of keyboard layouts I've already tried.