Bug 2239213
Summary: | anaconda should use localed layout conversion when setting default console layout | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> | |
Component: | anaconda | Assignee: | Adam Williamson <awilliam> | |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 39 | CC: | anaconda-maint, gmarr, jkonecny, robatino, vslavik, w | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Linux | |||
Whiteboard: | AcceptedBlocker | |||
Fixed In Version: | anaconda-39.32.4-1.fc39 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2243206 (view as bug list) | Environment: | ||
Last Closed: | 2023-10-13 16:20:27 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2143446 |
Description
Adam Williamson
2023-09-16 00:29:01 UTC
OK, so I think I have a plan to fix both this and https://bugzilla.redhat.com/show_bug.cgi?id=2238854 : make anaconda try less hard. Drop the special-case code for setting the console keymap on this live install path, and also drop the special-case code for setting it for switched layouts in the old set_x_keyboard_defaults path. In both cases, just get the X layouts right, then ask localed to convert. Right now this gives wrong results, but I have a patch that fixes localed to handle these cases better. If I can get that merged we can make anaconda much simpler. I need to tidy up both anaconda and systemd patches a bit and update the test suites, but I did some preliminary testing and it looks good. systemd PR: https://github.com/systemd/systemd/pull/29215 . will do some more testing before sending anaconda PR. I'm proposing this as a Final blocker. Criterion: If a particular keyboard layout has been configured for the system, that keyboard layout must be used: ... When logging in at a console". This is not currently the case for traditional installs using Bulgarian and, I believe, Kazakh (haven't tested that yet, but it looks to have the same issue as Bulgarian: the xkb layout is called 'kz', but there is no console layout called kz, the correct one is called 'kazakh'). Khmer also looks like it's affected, but in fact there's no console layout called 'khmer', it exists only as a symlink to 'us' in SUSE in order to make their keyboard configuration code (which is equally as silly as ours, just in different ways!) work properly, so in fact it doesn't matter much to us. For Macedonian and Ukrainian, we currently select the non-UTF-8 version of the console layout, when we probably should select the UTF-8 one (this will fix that). Discussed during the 2023-09-25 blocker review meeting: [0] The decision to classify this bug as an "AcceptedBlocker (Final)" was made as it violates the following criterion: "If a particular keyboard layout has been configured for the system, that keyboard layout must be used: ... When logging in at a console" in the case of Bulgarian and Kazakh layouts. [0] https://meetbot.fedoraproject.org/fedora-blocker-review/2023-09-25/f39-blocker-review.2023-09-25-16.02.txt FEDORA-2023-3355cdb0a8 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-3355cdb0a8 FEDORA-2023-3355cdb0a8 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. note, the systemd update was just a precursor, we need an anaconda update to fix this. FEDORA-2023-8d954317bd has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8d954317bd FEDORA-2023-8d954317bd has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-8d954317bd` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-8d954317bd See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-8d954317bd has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |