Bug 1836047

Summary: Unable to install fedora when keyboard layout 'us-altgr-intl' is used
Product: [Fedora] Fedora Reporter: Spike <SpikeFedora>
Component: anacondaAssignee: Radek Vykydal <rvykydal>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: anaconda-maint-list, jkonecny, jonathan, kellin, rvykydal, vanmeeuwen+fedora, vponcova, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-33.19-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1843379 (view as bug list) Environment:
Last Closed: 2021-04-15 11:22:31 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:
Bug Depends On:    
Bug Blocks: 1843379    
Attachments:
Description Flags
Screenshot showing error message: 'us-altgr-intl' is not a valid keyboard layout and variant specification none

Description Spike 2020-05-15 02:54:59 UTC
Created attachment 1688721 [details]
Screenshot showing error message: 'us-altgr-intl' is not a valid keyboard layout and variant specification

Created attachment 1688721 [details]
Screenshot showing error message: 'us-altgr-intl' is not a valid keyboard layout and variant specification

Description of problem:
Installing Fedora 32 trough a kickstart file with keyboard layout 'us-algr-intl' results in

DBusError: 'us-altgr-intl' is not a valid keyboard layout and variant specification


Version-Release number of selected component (if applicable):
anaconda 32.24.7-1.fc32

How reproducible:
always

Steps to Reproduce:
0. Prepare a kickstart file with option 'keyboard --vckeymap=us-altgr-intl' or 'keyboard us-altgr-intl' and make it accessible at http://<some-http-server/fedora.ks
1. Boot using https://dl.fedoraproject.org/pub/fedora/linux/releases/32/Everything/x86_64/iso/Fedora-Everything-netinst-x86_64-32-1.6.iso
2. Once the Fedora 32 menu appears, move the cursor to 'Install Fedora 32'
3. Press Tab
4. Change line to 'vmlinuz initrd=initrd.img ks=http://<some-http-server/fedora.ks'
5. Press Enter

Alternatively:
0. Prepare a kickstart file with option 'keyboard --vckeymap=us-altgr-intl' or 'keyboard us-altgr-intl' and make it accessible at http://<some-http-server/fedora.ks
1. Boot through PXE/iPXE using the following iPXE script
        #!ipxe
        set base-url http://dl.fedoraproject.org/pub/fedora/linux/releases/32/Everything/x86_64/os/images/pxeboot/
        kernel ${base-url}vmlinuz initrd=initrd.img ks=http://<some-http-server/fedora.ks
        initrd ${base-url}initrd.img



Actual results:
Error message during installation: 
dasbus.error.DBusError: 'us-altgr-intl' is not a valid keyboard layout and variant specification

Expected results:
Working installation of Fedora 32 with keyboard layout 'us-altgr-intl'


Additional info:
This worked fine up until and including Fedora 31. 'us-algr-intl' should be a valid vckeymap parameter according to https://docs.fedoraproject.org/en-US/fedora/f32/install-guide/appendixes/Kickstart_Syntax_Reference/#sect-kickstart-commands-keyboard since

# find /usr/lib/kbd/keymaps/ -name us-altgr-intl*
/usr/lib/kbd/keymaps/xkb/us-altgr-intl.map.gz

Once Fedora 32 is installed (using a different keyboard layout) the layout can be changed to 'us-altgr-intl' through:

# localectl set-keymap us-altgr-intl
# localectl status 
   System Locale: LANG=en_US.UTF-8
       VC Keymap: us-altgr-intl
      X11 Layout: us
     X11 Variant: euro

Comment 1 Radek Vykydal 2020-06-03 09:26:05 UTC
https://github.com/rhinstaller/anaconda/pull/2633

Comment 2 Spike 2020-08-17 04:07:10 UTC
Hi Radek,

Any update on this? It's still an issue when trying to install Fedora 32.

Comment 3 Radek Vykydal 2020-08-17 07:54:46 UTC
Hi Spike,

the issue should be fixed in F33.

We are not creating updated iso images with fixes post release (F32).

An option for using F32 could be to use updates image containing the fix I've created. It would be applied by using updates boot option:
inst.updates=https://rvykydal.fedorapeople.org/updates.bz1836047.img

or kickstart command pointing to the updates image URL:
updates https://rvykydal.fedorapeople.org/updates.bz1836047.img