Bug 2543051 - xkb conversion misses layouts with no variants (e.g. English Australia)
Summary: xkb conversion misses layouts with no variants (e.g. English Australia)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kbd
Version: 45
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-29 10:27 UTC by Elie
Modified: 2026-10-06 00:17 UTC (History)
7 users (show)

Fixed In Version: kbd-2.10.0-3.fc45
Clone Of:
Environment:
Last Closed: 2026-10-06 00:17:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources kbd pull-request 4 0 None None None 2026-10-01 07:51:45 UTC

Description Elie 2026-09-29 10:27:35 UTC
When starting the installer workflow in Fedora-Silverblue-Installer-45-20260928.n.0.x86_64, with network connection available, in Australia, 'English (Australia)' is selected by default (correct), however the keyboard selection 'au' is marked with the following error, preventing continuation until the language or keyboard selection is changed:

"No valid VConsole keymap can be obtained for the selected keyboard layout(s). Please make a different keyboard layout selection."

After reviewing other languages, I observed the following exhibit the same symptom:
- Sesotho sa Leboa (Afrika Borwa)

Reproducible: Always

Steps to Reproduce:
1.Start Fedora installation for Fedora-Silverblue-Installer-45-20260928.n.0.x86_64
2.On welcome screen, select language 'English (Australia)'
3.Observe error message displayed.
Actual Results:
"No valid VConsole keymap can be obtained for the selected keyboard layout(s). Please make a different keyboard layout selection."

Expected Results:
No error, ability to click next and continue.

Comment 1 Katerina Koukiou 2026-09-30 08:06:25 UTC
Here's what happens:                                                                                                                                                                                            
                                                                                                                                                                                                                
1. User / Geolocation selects "English (Australia)" (locale en_AU)                                                                                                                                              
2. langtable returns au as the preferred keyboard layout - anaconda sets x_layouts = ["au"]                                                                                                                     
3. vc_keymap is empty, so anaconda calls _resolve_missing_by_conversion → localed_wrapper.convert_layouts(["au"])                                                                                               
4. This calls systemd-localed which looks up au in kbd-model-map - no entry found - returns ""                                                                                                                  
5. plannedVconsole === "" - the webui shows the error and blocks continuation                                                                                                                                   
                                                                                                                                                                                                                
This was exposed by commit 686181eb85 [1] ("fix: Use full locale for keyboard layout selection") which changed set_x_keyboard_defaults() to query langtable with the full locale (en_AU.UTF-8) instead of just the  
language ID (en). Previously, get_locale_keyboards("en") returned ['us', 'gb', 'au'], picking us as the highest-ranked layout. Now, get_locale_keyboards("en_AU.UTF-8") correctly returns the territory-specific
['au']. This change was necessary to fix the pt_PT/br keyboard mismatch (rhbz#2491211).                                                                                                                         
                                                                                                                                                                                                                
The same issue affects other locales whose langtable-suggested X11 layout is missing from kbd-model-map.                                              
                                                                                                                                                                                                             
[1] https://github.com/rhinstaller/anaconda/commit/686181eb85

Comment 2 Katerina Koukiou 2026-09-30 08:38:41 UTC
Upstream fix: https://github.com/rhinstaller/anaconda/pull/7327 

@Adam do you think it would make sense to add the missing x11 keyboards in kdb-model-map? Is that mapping supposed to be complete?

Comment 3 Adam Williamson (Fedora) 2026-09-30 20:08:47 UTC
Fix for kbd: https://src.fedoraproject.org/rpms/kbd/pull-request/4

I think it would still make sense for anaconda to fall back instead of failing, though, just in case there's any other way to get here.

Comment 4 Katerina Koukiou 2026-10-01 07:09:48 UTC
Moving this to kbd component as the actual fix is the PR above. The team will review the fallback and decide if we want this on anaconda side as well. Thanks!

Comment 5 Fedora Update System 2026-10-02 16:38:51 UTC
FEDORA-2026-ea6d31ff9c (kbd-2.10.0-3.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ea6d31ff9c

Comment 6 Fedora Update System 2026-10-03 02:03:02 UTC
FEDORA-2026-ea6d31ff9c has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-ea6d31ff9c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-ea6d31ff9c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-10-06 00:17:38 UTC
FEDORA-2026-ea6d31ff9c (kbd-2.10.0-3.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.