Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

[Bug]: [KVM] Locale and keyboard layout are not set to the selected value during the install #35

Closed
5 of 7 tasks
lilian-pouliquen opened this issue Jun 14, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@lilian-pouliquen
Copy link

Checklist

  • I have searched for other issues, and can confirm my issue has not already been reported.
  • If this is an issue with a specific program, I have checked the upstream project's issue tracker and determined that it is an issue with MassOS itself.

MassOS version

2022.06

Kernel version

Linux 5.18.1-massos #1 SMP PREEMPT_DYNAMIC Wed Jun 1 16:11:46 UTC 2022 x86_64

Subject

  • Issue at runtime of MassOS.
  • Issue with the MassOS Live CD.
  • Issue with installing MassOS.
  • Issue with the MassOS documentation.
  • Issue compiling MassOS from source.

Expected Behavior

When installing MassOS with a specific keyboard layout and locale, the system should use these after rebooting when the installation is complete or after selecting it to avoid mistakes while creating root password and primary user.

Actual Behavior

Although the locale and keyboard layout are set to another language, the system and keyboard layout stay in English (QWERTY) after the selection and after the reboot.

Steps to reproduce

  1. Create a virtual machine run it attaching the massos-2022.06-x86_64.iso ISO to it (virt-manager xml sample attached)
  2. Run the VM and install MassOS
    • When selecting the locale and keyboard layout:
      • Choose fr_FR.UTF-8 as locale
      • Choose fr French as keyboard layout
  3. Continue the installation, during the next steps you will notice that the keyboard layout has not changed.
  4. Finish the installation and reboot the VM, you will notice that the system remained in English and the keyboard layout as well.

massos_kvm.txt

Additional Information

I noticed that if I change the keyboard layout in the settings (on the live CD demo, or after the installation), it only applies when I remove the English layout.

I tested out the installation with the following languages:

  1. French
    • locale: fr_FR.UTF-8
    • keyboard layout: fr French
  2. Russian
    • locale: ru_RU.UTF-8
    • keyboard layout: ru Russian
@lilian-pouliquen lilian-pouliquen added the bug Something isn't working label Jun 14, 2022
DanielMYT added a commit to MassOS-Linux/livecd-installer that referenced this issue Jun 15, 2022
@DanielMYT
Copy link
Contributor

DanielMYT commented Jun 15, 2022

Thanks for reporting this issue. Hopefully it should now be fixed in MassOS-Linux/livecd-installer@5163465.

This fix will be included in the next MassOS release, however since it is part of the livecd-installer program on the Live CD, you should be able to apply the fix to the current version without needing to rebuild the ISO by running something like this in the terminal of the live environment (before running the installer as normal) (note that you will need to be connected to the internet):

curl -s https://github.com/MassOS-Linux/livecd-installer/commit/5163465ffeda91499bff438f5ff4914339619ba8.patch | sudo patch -d /usr/bin -Np1

@lilian-pouliquen
Copy link
Author

lilian-pouliquen commented Jun 15, 2022

Thanks for the patch. I confirm it is working on the virtual machine with French language.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants