Bugzilla – Bug 1214143
[Build 20230809] yast2 squid: reports 'Catalan' as 'Language for error messages'
Last modified: 2023-08-10 12:39:47 UTC
## Observation yast seems to get some 'weird' value for what language squid is supposed to report messages in. There seems not to be a reason as to why 'Catalan' should be the pre-selected choice when going to the Misc page in yast2 proxy module. (no yast log yet - I'll try to reproduce this in a VM in the next 24hrs; this might also build down to a squid error - squid was updated in the last day) openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-yast2_ncurses@64bit fails in [yast2_proxy](https://openqa.opensuse.org/tests/3497498/modules/yast2_proxy/steps/184) ## Test suite description Maintainer: qsf-y Test for yast2 UI, ncurses only. Running on created gnome images which provides both text console for ncurses UI tests as well as the gnome environment for the GUI tests. riafarov set TIMEOUT_SCALE to improve stability of the test. ## Reproducible Fails since (at least) Build [20221123](https://openqa.opensuse.org/tests/2899189) ## Expected result Last good: [20180829](https://openqa.opensuse.org/tests/745473) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=yast2_ncurses&version=Tumbleweed)
I just tried on my Leap 15.5 + YaST:Head with "sudo yast2 squid", and I get "English" as expected for that error messages language.
That yast-squid code is ancient. The last code change was 3 years ago. https://github.com/yast/yast-squid I am not sure where those defaults come from. But maybe it's really read from one of the many config files of squid itself, and that "ca" / "Catalan" value made it to one of them recently.
[sh @ balrog] /etc/squid 10 % ls -l > total 376 > -rw-r--r-- 1 root root 692 29. Jun 12:59 cachemgr.conf > -rw-r--r-- 1 root root 692 29. Jun 12:59 cachemgr.conf.default > -rw-r--r-- 1 root root 1800 29. Jun 12:59 errorpage.css > -rw-r--r-- 1 root root 1800 29. Jun 12:59 errorpage.css.default > lrwxrwxrwx 1 root root 26 29. Jun 12:59 errors -> /usr/share/squid/errors/en > -rw-r--r-- 1 root root 12077 29. Jun 12:59 mime.conf > -rw-r--r-- 1 root root 2526 29. Jun 12:59 squid.conf > -rw-r--r-- 1 root root 2526 29. Jun 12:59 squid.conf.default > -rw-r--r-- 1 root root 345437 29. Jun 12:59 squid.conf.documented Looks like it's as mundane as that symlink /etc/squid/errors pointing to one of the dozens of squid error messages directories below /usr/share/squid/errors/ . Please check.
[sh @ balrog] ~ 15 % rpm -qf /etc/squid/errors squid-5.7-150400.3.9.1.x86_64
As promised in comment#0 I tracked this further - it's definitively a test bug - which is nicely masked in the screenshots. once the 'misc' screen is showing, the test run presses alt-l (language) and five times up - in the hope to find 'German' there (the original preset language is English, but there is no screenshot that made this obvious) The existing language set changed with squid 6.2
That latest squid-6.2-1.1.x86_64.rpm from https://build.opensuse.org/package/show/openSUSE:Factory/squid doesn't seem to have that symlink anymore: > % rpm -qpl squid-6.2-1.1.x86_64.rpm | grep '/etc/squid/' > /etc/squid/cachemgr.conf > /etc/squid/cachemgr.conf.default > /etc/squid/errorpage.css > /etc/squid/errorpage.css.default > /etc/squid/mime.conf > /etc/squid/squid.conf > /etc/squid/squid.conf.default > /etc/squid/squid.conf.documented > % rpm -qpl squid-6.2-1.1.x86_64.rpm | grep '/etc/squid/errors' > (nothing) Maybe that's the problem.