http://bugzilla.novell.com/show_bug.cgi?id=550874
Summary: Region is US, on Danish installation Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE4 Workspace AssignedTo: kde-maintainers@suse.de ReportedBy: martin.schlander@gmail.com QAContact: qa@suse.de Found By: ---
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; da-DK; rv:1.9.0.14) Gecko/2009090900 SUSE/3.0.14-0.1.2 Firefox/3.0.14
I installed i686 kde4 livecd (build 337).
During installation I select Danish language and keyboard layout. But on first boot the KDE region is US - make dates, times, currencies etc. wrong.
Reproducible: Always
Steps to Reproduce: 1. 2. 3.
http://bugzilla.novell.com/show_bug.cgi?id=550874
User martin.schlander@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c1
--- Comment #1 from Martin Schlander martin.schlander@gmail.com 2009-10-29 14:50:02 MDT --- I did a new fresh install using usb live with kde - build 339.
Same situation.
At Grub I select Danish language.
In the live session I have Danish keyboard layout, Danish language is set in yast (though not installed of course at this point), and my KDE regional settings are set to Danish. Everything seems fine.
During the installation Danish language and keyboard layout is preselected. Everything seems fine.
Installation completes without incident, autoconfiguration runs. But once the installed system is booted, I have have U.S. keyboard, Language is set to en_US in YaST, and my regional settings in KDE are U.S. too.
http://bugzilla.novell.com/show_bug.cgi?id=550874
Martin Schlander martin.schlander@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|KDE4 Workspace |Live Medium AssignedTo|kde-maintainers@suse.de |coolo@novell.com
http://bugzilla.novell.com/show_bug.cgi?id=550874
User coolo@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c2
Stephan Kulow coolo@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |martin.schlander@gmail.com
--- Comment #2 from Stephan Kulow coolo@novell.com 2009-10-30 02:55:16 MDT --- no installation bug without yast logs please
http://bugzilla.novell.com/show_bug.cgi?id=550874
User martin.schlander@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c3
Martin Schlander martin.schlander@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|martin.schlander@gmail.com |
--- Comment #3 from Martin Schlander martin.schlander@gmail.com 2009-10-30 03:26:30 MDT --- Created an attachment (id=324831) --> (http://bugzilla.novell.com/attachment.cgi?id=324831) y2logs of build339 kde live usb install, reverting to US while Danish is used live and selected at grub and during install
http://bugzilla.novell.com/show_bug.cgi?id=550874
User coolo@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c4
Stephan Kulow coolo@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent AssignedTo|coolo@novell.com |jsuchome@novell.com Severity|Normal |Critical Flag| |SHIP_STOPPER+
--- Comment #4 from Stephan Kulow coolo@novell.com 2009-10-30 03:33:25 MDT --- The sysconfig is correct:
2009-10-29 22:23:08 <1> linux(3768) [YCP] Misc.ycp:194 sysconfig.language.RC_LANG: 'da_DK.UTF-8' 2009-10-29 22:23:08 <1> linux(3768) [YCP] Language.ycp:494 language from sysconfig: da_DK 2009-10-29 22:23:08 <1> linux(3768) [YCP] Language.ycp:429 original language: en_US; setting to lang:da_DK 2009-10-29 22:23:08 <1> linux(3768) [YCP] Encoding.ycp:62 SetEncLang da_DK 2009-10-29 22:23:08 <1> linux(3768) [YCP] Language.ycp:474 Setting default language: da_DK 2009-10-29 22:23:08 <1> linux(3768) [YCP] Misc.ycp:194 sysconfig.language.ROOT_USES_LANG: 'ctype' 2009-10-29 22:23:08 <1> linux(3768) [YCP] Misc.ycp:194 sysconfig.language.RC_LANG: 'da_DK.UTF-8' 2009-10-29 22:23:08 <1> linux(3768) [YCP] Misc.ycp:194 sysconfig.language.INSTALLED_LANGUAGES: ''
And then later it fails
2009-10-29 23:33:40 <1> linux(2041) [YCP] Misc.ycp:194 sysconfig.language.RC_LANG: 'en_US.UTF-8' 2009-10-29 23:33:40 <1> linux(2041) [YCP] Language.ycp:494 language from sysconfig: en_US 2009-10-29 23:33:40 <1> linux(2041) [YCP] Language.ycp:429 original language: en_US; setting to lang:en_US 2009-10-29 23:33:40 <1> linux(2041) [YCP] Language.ycp:474 Setting default language: en_US 2009-10-29 23:33:40 <1> linux(2041) [YCP] Misc.ycp:194 sysconfig.language.ROOT_USES_LANG: 'ctype' 2009-10-29 23:33:40 <1> linux(2041) [YCP] Misc.ycp:194 sysconfig.language.RC_LANG: 'en_US.UTF-8' 2009-10-29 23:33:40 <1> linux(2041) [YCP] Misc.ycp:194 sysconfig.language.INSTALLED_LANGUAGES: ''
http://bugzilla.novell.com/show_bug.cgi?id=550874
User coolo@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c5
Stephan Kulow coolo@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jsrain@novell.com
--- Comment #5 from Stephan Kulow coolo@novell.com 2009-10-30 03:34:10 MDT --- not sure if it's live installer specific
http://bugzilla.novell.com/show_bug.cgi?id=550874
User jsuchome@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c6
--- Comment #6 from Jiří Suchomel jsuchome@novell.com 2009-10-30 03:45:47 MDT --- It is.
The problem is described here https://bugzilla.novell.com/show_bug.cgi?id=547930
. YaST correctly writes it, but after boot, old (or default) settings are back.
http://bugzilla.novell.com/show_bug.cgi?id=550874
User jsuchome@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c7
Jiří Suchomel jsuchome@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |novellbmw@lsmod.de
--- Comment #7 from Jiří Suchomel jsuchome@novell.com 2009-10-30 03:48:22 MDT --- *** Bug 547930 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=547930
http://bugzilla.novell.com/show_bug.cgi?id=550874
User vuntz@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c8
Vincent Untz vuntz@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rastislav.krupansky@gmail.c | |om
--- Comment #8 from Vincent Untz vuntz@novell.com 2009-10-30 05:09:48 MDT --- *** Bug 550791 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=550791
http://bugzilla.novell.com/show_bug.cgi?id=550874
User jsrain@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c9
--- Comment #9 from Jiri Srain jsrain@novell.com 2009-10-30 05:36:21 MDT --- Did some experiments, on installation in Czech and watching the language setting, however, this bug seems to be general to more locale settings.
After the live installation finished, before reboot, I changed the GRUB configuration to add 'init=/bin/bash'. When bash came up, the language in /etc/sysconfig/language was set properly. This proofs that during first stage, language is set properly.
Then I removed that addition and updated /etc/init.d/boot so that it starts /bin/bash just before starting YaST and rebooted. Language in /etc/sysconfig/language was set to English. This proofs that we cannot blame even blame YaST in 2nd stage.
The suspect at this point of time are the start-up scripts. Since they are the same in live installation as in normal, the only idea I have is that there are some additional scripts for the live media which are not deactivated in the installed system and which rewrite the settings (even the modification time of /etc/sysconfig/language matches this idea).
http://bugzilla.novell.com/show_bug.cgi?id=550874
User jsuchome@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c10
Jiří Suchomel jsuchome@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@novell.com AssignedTo|jsuchome@novell.com |coolo@novell.com
--- Comment #10 from Jiří Suchomel jsuchome@novell.com 2009-10-30 05:38:18 MDT --- Stephan?
http://bugzilla.novell.com/show_bug.cgi?id=550874
User jsrain@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c11
--- Comment #11 from Jiri Srain jsrain@novell.com 2009-10-30 05:41:35 MDT --- Just in case it helps: There is a clean-up script on the live media, which is run after the second stage - therefore it is already too late.
http://bugzilla.novell.com/show_bug.cgi?id=550874
User jsrain@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c12
--- Comment #12 from Jiri Srain jsrain@novell.com 2009-10-30 05:47:00 MDT --- /etc/langset.sh, being called via /etc/init.d/boot.langset
boot.langset is disabled after 2nd stage
http://bugzilla.novell.com/show_bug.cgi?id=550874
User coolo@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c13
Stephan Kulow coolo@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jsrain@novell.com
--- Comment #13 from Stephan Kulow coolo@novell.com 2009-10-30 06:19:24 MDT --- So we need a script that runs _before_ 2nd stage. If you can't think of a clean solution, I can also patch a random inst_ client - e.g. the live installer, it's removed after installation anyway .)
http://bugzilla.novell.com/show_bug.cgi?id=550874
User jsrain@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c14
Jiri Srain jsrain@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jsrain@novell.com |
--- Comment #14 from Jiri Srain jsrain@novell.com 2009-10-30 06:26:09 MDT --- I can imagine two solutions:
- some actions are not taken if /var/lib/YaST2/runme_at_boot exists (which means, 2nd stage will run)
- you provide yet another clean-up script, which YaST will call in chroot; this script cleans up what will break first boot
http://bugzilla.novell.com/show_bug.cgi?id=550874
User coolo@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c15
Stephan Kulow coolo@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@novell.com AssignedTo|coolo@novell.com |jsrain@novell.com
--- Comment #15 from Stephan Kulow coolo@novell.com 2009-10-30 06:49:35 MDT --- new kiwi config provides /usr/bin/correct_live_for_reboot
http://bugzilla.novell.com/show_bug.cgi?id=550874
User jsrain@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=550874#c16
Jiri Srain jsrain@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #16 from Jiri Srain jsrain@novell.com 2009-10-30 06:58:53 MDT --- and YaST is calling it before reboot in chroot
http://bugzilla.novell.com/show_bug.cgi?id=550874 http://bugzilla.novell.com/show_bug.cgi?id=550874#c17
--- Comment #17 from Bernhard Wiedemann bwiedemann@suse.com --- This is an autogenerated message for OBS integration: This bug (550874) was mentioned in https://build.opensuse.org/request/show/23493 Factory / yast2-live-installer