Bug 1781547

Summary: kickstart tests - wrong localed X11Options are set before end of installation in installer environment
Product: Red Hat Enterprise Linux 8 Reporter: Radek Vykydal <rvykydal>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: jstodola, pzatko
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-33.16.3.1-2 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 03:22:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Radek Vykydal 2019-12-10 09:12:49 UTC
Description of problem:

Before the end of installation X11Options set via systemd-localed service are set wrong in the installed environment. This does not impact user experience in any known way, but makes our kickstart tests checking the setting fail.

Version-Release number of selected component (if applicable):

RHEL-8.2.0-20191210.n.0
anaconda-29.19.2.4-1.el8.x86_64

How reproducible:

Always

Steps to Reproduce:
1. Do kickstart installation with kickstart containing setting of keyboard swithc option, for example:

keyboard --xlayouts='cz (qwerty),us (euro)' --vckeymap=us --switch=grp:alt_shift_toggle

2. At the end of installation, in installer environment switch to terminal and run localectl.

Actual results:

X11 Options: g,r,p,:,a,l,t,_,s,h,i,f,t,_,t,o,g,g,l,e

Expected results:

X11 Options: grp:alt_shift_toggle

Additional info:

Comment 1 Radek Vykydal 2019-12-10 09:18:22 UTC
Port of an upstream fix:
https://github.com/rvykydal/anaconda/commit/cd5d23df74a0c42d71571b27962d429199cfcad4

Comment 2 Radek Vykydal 2019-12-10 11:27:26 UTC
Failing kickstart tests:
keyboard
keyboard-convert-x-override-bootopt

Comment 8 errata-xmlrpc 2020-11-04 03:22:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (anaconda bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4729