Multiple plymouth themes display wrong keyboard layout for decryption due to outdated keymap-render.png

Bug #2063895 reported by Aaron Rainbolt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
edubuntu-artwork (Ubuntu)
Status tracked in Oracular
Noble
Fix Released
High
Unassigned
Oracular
Fix Released
High
Unassigned
lubuntu-artwork (Ubuntu)
Status tracked in Oracular
Noble
New
High
Unassigned
Oracular
New
High
Unassigned
plymouth-theme-ubuntu-unity (Ubuntu)
Status tracked in Oracular
Noble
New
High
Unassigned
Oracular
New
High
Unassigned
ubuntustudio-look (Ubuntu)
Status tracked in Oracular
Noble
Fix Released
High
Unassigned
Oracular
Fix Released
High
Unassigned

Bug Description

[ Impact ]

During the 24.04 cycle, an update was made to Plymouth. This update apparently mandated the inclusion 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.

Changed in lubuntu-artwork (Ubuntu Noble):
importance: Undecided → High
Changed in plymouth-theme-ubuntu-unity (Ubuntu Noble):
importance: Undecided → High
description: updated
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

I thought attaching the file in question here might be a good idea. :)

Changed in edubuntu-artwork (Ubuntu Noble):
importance: Undecided → High
Changed in ubuntustudio-look (Ubuntu Noble):
importance: Undecided → High
Changed in edubuntu-artwork (Ubuntu Noble):
status: New → Triaged
Changed in ubuntustudio-look (Ubuntu Noble):
status: New → Triaged
Changed in ubuntustudio-look (Ubuntu Noble):
status: Triaged → In Progress
Changed in edubuntu-artwork (Ubuntu Noble):
status: Triaged → In Progress
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Attaching screenshot of Edubuntu without fix. Also fixing to bring that dialog down to make readable.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Likewise, attaching screenshot of Ubuntu Studio to show issue. Bringing that dialog up slightly in the fix as well.

tags: added: noble
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote (last edit ):

In addition to Ubuntu Desktop, Kubuntu, and Ubuntu Cinnamon, this also does not affect:
 * Ubuntu Budgie (us keyboard layout is shown)
 * Ubuntu MATE (their bootscreen is based off a version before the spinner so no keyboard layout is shown)
 * Ubuntu Kylin (same reason as MATE)

Xubuntu's encryption is broken because cryptsetup wasn't in ship-live so it's not as easy to test that. Looking at xubuntu-artwork, I don't see any keymap-render.png at all, so I gather they also probably use the pre-spinner bootscreen.

Changed in ubuntustudio-look (Ubuntu Noble):
milestone: none → noble-updates
Changed in edubuntu-artwork (Ubuntu Noble):
milestone: none → noble-updates
Revision history for this message
Steve Langasek (vorlon) wrote :

The edubuntu-artwork upload to noble includes a change to conf/edubuntu-goa-firstrun.service which appears to be unrelated and not covered by an SRU bug. If this is related to this bug, please explain how. Otherwise this will need to be reuploaded to either drop that change, or link it to another SRU bug.

Changed in edubuntu-artwork (Ubuntu Noble):
status: In Progress → Incomplete
Changed in ubuntustudio-look (Ubuntu Oracular):
status: In Progress → Fix Committed
Changed in edubuntu-artwork (Ubuntu Noble):
status: Incomplete → In Progress
Changed in edubuntu-artwork (Ubuntu Oracular):
status: In Progress → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

-_Title=Installing Updates...
-_SubTitle=Do not turn off your computer
+Title=Installing Updates...
+SubTitle=Do not turn off your computer

Can you explain the purpose of this change? A leading _ is usually a marker that a string is to be translated. It doesn't seem like a change we want to make these strings NOT be translated.

Changed in ubuntustudio-look (Ubuntu Noble):
status: In Progress → Incomplete
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote (last edit ):

>Can you explain the purpose of this change? A leading _ is usually a marker that a string is to be translated. It doesn't seem like a change we want to make these strings NOT be translated.

Copied directly from the actual /usr/share/Plymouth/themes/spinner/spinner.plymouth. Unfortunately, the items with the underscores were never translated.

Changed in ubuntustudio-look (Ubuntu Noble):
status: Incomplete → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package edubuntu-artwork - 24.10.1

---------------
edubuntu-artwork (24.10.1) oracular; urgency=medium

  * Welcome to Oracular Oriole!
  * Fix for ineffective edubuntu-goa-firstrun.service

edubuntu-artwork (24.04.27) noble; urgency=medium

  * Fix: plymouth theme wrong keymap-render.png (LP: #2063895)
    - Also fixes dialog to decrypt being too high and inside BGRT ACPI logo

 -- Erich Eickmeyer <email address hidden> Fri, 03 May 2024 11:14:01 -0700

Changed in edubuntu-artwork (Ubuntu Oracular):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntustudio-look - 24.10.1

---------------
ubuntustudio-look (24.10.1) oracular; urgency=medium

  * Welcome to Oracular Oriole!
  * Plymouth theme fix for keyboard layout display (LP: #2063895)
    - also other inconsistencies with spinner theme

 -- Erich Eickmeyer <email address hidden> Fri, 26 Apr 2024 19:08:02 -0700

Changed in ubuntustudio-look (Ubuntu Oracular):
status: Fix Committed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Aaron, or anyone else affected,

Accepted ubuntustudio-look into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntustudio-look/24.04.9 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ubuntustudio-look (Ubuntu Noble):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-noble
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

$ apt-cache policy plymouth-theme-ubuntustudio
plymouth-theme-ubuntustudio:
  Installed: 24.04.9
  Candidate: 24.04.9
  Version table:
 *** 24.04.9 100
        100 http://archive.ubuntu.com/ubuntu noble-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     24.04.8 500
        500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages

Proper layout is now shown, see attached image.

tags: added: verification-done verification-done-noble
removed: verification-needed verification-needed-noble
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Aaron, or anyone else affected,

Accepted edubuntu-artwork into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/edubuntu-artwork/24.04.26.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in edubuntu-artwork (Ubuntu Noble):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-noble
removed: verification-done verification-done-noble
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

$ apt-cache policy plymouth-theme-edubuntu
plymouth-theme-edubuntu:
  Installed: 24.04.26.1
  Candidate: 24.04.26.1
  Version table:
 *** 24.04.26.1 100
        100 http://us.archive.ubuntu.com/ubuntu noble-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     24.04.26 500
        500 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages

Upgraded and rebooted.

Per attached screenshot, was exactly as expected.

tags: added: verification-done verification-done-noble
removed: verification-needed verification-needed-noble
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package edubuntu-artwork - 24.04.26.1

---------------
edubuntu-artwork (24.04.26.1) noble; urgency=medium

  * Fix: plymouth theme wrong keymap-render.png (LP: #2063895)
    - Also fixes dialog to decrypt being too high and inside BGRT ACPI logo

 -- Erich Eickmeyer <email address hidden> Fri, 26 Apr 2024 19:19:10 -0700

Changed in edubuntu-artwork (Ubuntu Noble):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for edubuntu-artwork has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntustudio-look - 24.04.9

---------------
ubuntustudio-look (24.04.9) noble; urgency=medium

  * Plymouth theme fix for keyboard layout display (LP: #2063895)
    - also other inconsistencies with spinner theme

 -- Erich Eickmeyer <email address hidden> Fri, 26 Apr 2024 19:08:02 -0700

Changed in ubuntustudio-look (Ubuntu Noble):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.