Bug 1130952 - Warn about non-utf8 locale during upgrade
Warn about non-utf8 locale during upgrade
Status: CONFIRMED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2
Current
Other Other
: P5 - None : Minor (vote)
: ---
Assigned To: YaST Team
Jiri Srain
https://trello.com/c/ie5qoDP1
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-29 09:51 UTC by Steffen Winterfeldt
Modified: 2019-04-01 15:20 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Winterfeldt 2019-03-29 09:51:25 UTC
[a follow-up to bug 1123478]

People might have a non-UTF-8 locale in /etc/sysconfig/language::RC_LANG,
e.g. "de_DE" with ISO-8859-1 or even weirder things like "de_DE@euro" using
ISO-8859-15.

The problem here is that yast might need to read system files in that encoding
while it itself runs in UTF-8 during the upgrade process (in the installation
system). Worse, not all system files might follow this locale setting and
might stick to UTF-8 anyway. (YaST even copies system files between installation system and target system.)

That's a hopeless mix of encodings and imho not really worth the trouble as
UTF-8 is the default in almost all cases.

But maybe yast could issue a warning when it detects this situation.