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: