[Bug 945486] New: Locale handling in YaST2 should use systemd interfaces
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=945486 Bug ID: 945486 Summary: Locale handling in YaST2 should use systemd interfaces Classification: openSUSE Product: openSUSE Factory Version: 201505* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: fbui@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- Hi, systemd is the system component which deals with locale settings. For interfering with it, a D-Bus API is provided as well as localectl(1) for application that needs to modify or query the locale settings. Currently YaST2 is writting locale setting directly in /etc/sysconfig/language and uses 'RC_LANG' variable for that purpose. However 'RC_LANG' is about locale used for interactive user shells and is normally not used for *system* locale setting. Unfortunately systemd was patched to do the same, so it currently works but still the current behaviour is not correct. We plan to fix systemd to use its default mechanism (which uses /etc/locale.conf) for *system* locale setting and therefore will not read /etc/sysconfig/language anymore making YaST updates unused. So it would be nice if YaST2 can use systemd APIs for dealing with system locale setting. Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=945486
http://bugzilla.suse.com/show_bug.cgi?id=945486#c1
Lukas Ocilka
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=945486
http://bugzilla.suse.com/show_bug.cgi?id=945486#c2
--- Comment #2 from Lukas Ocilka
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=945486
http://bugzilla.suse.com/show_bug.cgi?id=945486#c3
--- Comment #3 from Franck Bui
Please open a feature request.
Ok I will.
This is a big change and we might need to change it also in SLE 12 SPx (x >= 2).
Yes that would be nice to make the change for SLE 12 as well since the locale handling is quite confusing and wrong right now (like any distros supporting systemd).
We can't change it in SLE 12 SP1, but we share the very same code with Factory there.
Yes my request was initialy for Factory, so we can see how much work/changes need to be done before deciding if it's safe to do the same changes for supported distros. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=945486
http://bugzilla.suse.com/show_bug.cgi?id=945486#c4
--- Comment #4 from Franck Bui
participants (1)
-
bugzilla_noreply@novell.com