Bug 1836047 - Unable to install fedora when keyboard layout 'us-altgr-intl' is used
Summary: Unable to install fedora when keyboard layout 'us-altgr-intl' is used
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Radek Vykydal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1843379
TreeView+ depends on / blocked
 
Reported: 2020-05-15 02:54 UTC by Spike
Modified: 2021-04-15 11:22 UTC (History)
8 users (show)

Fixed In Version: anaconda-33.19-1
Clone Of:
: 1843379 (view as bug list)
Environment:
Last Closed: 2021-04-15 11:22:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot showing error message: 'us-altgr-intl' is not a valid keyboard layout and variant specification (18.81 KB, image/png)
2020-05-15 02:54 UTC, Spike
no flags Details

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


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