Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-101058

RHEL-10: Virtual console keyboard layout is not propagated to initrd in Image Mode

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.1
    • rhel-10.0
    • anaconda
    • anaconda-40.22.3.32-1.el10
    • No
    • Low
    • 2
    • rhel-anaconda
    • 25
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • 25Q3 - July/28, 25Q3 - Aug/11
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Anaconda installation with a different than US keyboard layout (and vconsole layout) together with disk encryption will always use US layout for LUKS unlocking during boot on Image Mode.

      What is the impact of this issue to you?

      It is harder to unlock LUKS partition on Image Mode systems with other than US keyboard layout users.

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Start the installation with this kickstart file
      1. Keyboard layouts
        keyboard --xlayouts=cz --vckeymap=cz
      2. System language
        lang en_US
        timezone Europe/Prague

      rootpw anaconda

      user --name=anaconda --groups=wheel --password=anaconda

      graphical

      ##############

      1. Sources
        ##############

      #ostreecontainer --url quay.io/centos-bootc/centos-bootc:stream10
      ostreecontainer --stateroot="test-stateroot" --remote="test-remote" --no-signature-verification --url="images.paas.redhat.com/bootc/rhel-bootc:latest-9.7"

      ##############

      1. Storage variants
        ##############
      1. System bootloader configuration
        zerombr
      2. Partition clearing information
        clearpart --all
        ignoredisk --only-use vda,vdb
      3. simple partitioning
        autopart --encrypted --passphrase=z
      1. Install the system
      2. Boot to the resulting system and try that the 'z' on keyboard layout is in the correct place of cz keyboard layout.

      Expected results

      I should be able to unlock LUKS during boot with the 'z' key between 't' key and 'u' keys (on US keyboard with Czech layout) but instead it will be next to the 'x' key (US keyboard layout).

      Actual results

      It should work as expected and cz layout should be used in initrd.

      Note

      This change will add vconsole= kernel boot parameter to the resulting system. Following the upstream fix.

              jkonecny@redhat.com Jiri Konecny
              jkonecny@redhat.com Jiri Konecny
              anaconda-maint-list anaconda-maint-list
              Release Test Team Release Test Team
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: