Bug 547930

Summary: /etc/sysconfig/keyboard reset to US on first boot
Product: [openSUSE] openSUSE 11.2 Reporter: Bernhard Wiedemann <novellbmw>
Component: InstallationAssignee: Jiri Srain <jsrain>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: jsuchome, martin.schlander
Version: RC 1   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2 logs after configuration

Description Bernhard Wiedemann 2009-10-17 19:19:18 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.23) Gecko/20090912 SUSE/1.1.18-1.2 SeaMonkey/1.1.18

I set Language to German in syslinux/isolinux. The Live-System ran fine with
German keyboard. The installer set German as default language, but after the
ejection of my (unused) CD-tray and reboot, /etc/sysconfig/keyboard was reset back to US layout before or during the configuration phase that only happens on first boot.

Reproducible: Always

Steps to Reproduce:
1. boot openSUSE-GNOME-LiveCD-Build0336-i686.iso (I tried on VirtualBox-3.0.8 and 2 Laptops)
2. in isolinux press F2 and choose "Deutsch" (German)
3. install to a partition of at least 2.9GB.
4. verify that /mnt/etc/sysconfig/keyboard contains something other than KEYTABLE="us.map.gz" - should look like https://bugzillafiles.novell.org/attachment.cgi?id=320874
5. reboot
Actual Results:  
/etc/sysconfig/keyboard looks thus after the configuration-phase of first boot:
https://bugzilla.novell.com/attachment.cgi?id=320877
Accordingly, both X11/gdm and console keyboard layout are US (e.g. y and z switched)

Expected Results:  
The installed system should use the language selected on the first installation screen (the one that also contains Novell Eula).

I did also see this bug in MS6-MS8 ; also once with KDE-Live-i686
should be different from bug 542009 which was fixed before RC1
maybe it is same as bug 545025
Comment 1 Jiri Srain 2009-10-19 11:38:21 UTC
Could you, please, attach the installation log so that we can check what went wrong during installation?
Comment 2 Bernhard Wiedemann 2009-10-19 19:26:47 UTC
Created attachment 323101 [details]
yast2 logs after configuration
Comment 3 Jiří Suchomel 2009-10-20 11:58:10 UTC
Not only sysconfig/keyboard but also sysconfig/language is reverted to default.

Checking before reboot relieves these are correct under /media/<installed_disk>
Comment 4 Bernhard Wiedemann 2009-10-24 08:17:47 UTC
This bug did not occur on a RC1-DVD install (7GB disk, LVM, KDE) - so might be related to LiveCD methods?
Comment 5 Martin Schlander 2009-10-28 20:57:45 UTC
On "rc2" (build 337 kde4 i686 live cd) I select Danish at grub, during installation Danish keyboard layout is selected. 

On first boot US keyboard layout is used, and this sticks on subsequent boots, even though I select Danish layout in KDE systemsettings, it just reverts back.

In /etc/sysconfig/keyboard I have:
YAST_KEYBOARD="english-us,pc104"
Comment 6 Jiří Suchomel 2009-10-30 09:48:20 UTC
dup
But note that KDE systemsettings is not relevant here, it does not change system settings

*** This bug has been marked as a duplicate of bug 550874 ***
Comment 7 Martin Schlander 2009-10-30 10:03:34 UTC
Yes. Only indirectly I think. I believe on the (first) KDE start KDE settings are adjusted according to the sysconfig settings somehow.