Bug 2543051
| Summary: | xkb conversion misses layouts with no variants (e.g. English Australia) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Elie <eliettepriaulx> |
| Component: | kbd | Assignee: | Vitezslav Crhonek <vcrhonek> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 45 | CC: | alpha, anaconda-maint, kkoukiou, mkolman, rhbz, vcrhonek, w |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | kbd-2.10.0-3.fc45 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-10-06 00:17:38 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Elie
2026-09-29 10:27:35 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
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? 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. 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! 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 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. 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. |