Bug 30600

Summary: the french wordlist file is empty
Product: Mageia Reporter: Stéphane Pontier <stephane.pontier>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: bruno.cornec, bruno, davidwhodgins, marja11, sysadmin-bugs
Version: 8Keywords: advisory, validated_update
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA8-64-OK
Source RPM: wfrench CVE:
Status comment:

Description Stéphane Pontier 2022-07-04 08:27:04 CEST
the file /usr/share/dict/french from wfrench package is empty, probablely because the upstream package changed.

the wfrench.spec execute a perl oneliner to convert caracters from a 'dict' file but this one in not present in the wfrench_1.2.7.orig.tar.gz file.
Moreover, when I fixed the script replacing 'dict' with 'french' I saw that the script dont modify in any way the dictionary file, maybe this step is not useful anymore.
Comment 1 Marja Van Waes 2022-07-04 15:59:08 CEST
Assigning to the registered wfrench maintainer, bcornec

CC'ing another account of bcornec, because I forgot which one to use :-þ

CC: (none) => bruno.cornec, marja11
Assignee: bugsquad => bruno

Bruno Cornec 2022-07-05 01:18:01 CEST

Status: NEW => ASSIGNED

Comment 2 Bruno Cornec 2022-07-05 19:45:37 CEST
Fix for cauldron and pushed
Comment 3 Bruno Cornec 2022-07-05 19:51:08 CEST
As this is really annoying, I also pushed an update for mga8 in updates_testing. Please move it to updates ASAP. (let me know if I need to assign it to another team than QA)

Assignee: bruno => qa-bugs

Comment 4 Dave Hodgins 2022-07-05 21:16:31 CEST
We need a list of packages (rpm and srpm)  and advisory (what's changed) for the
update.

Security and bugfix updates are handled the same way. Security updates just
get a higher priority in testing, and slightly different advisory formats.

CC: (none) => davidwhodgins

Comment 5 Dave Hodgins 2022-07-05 21:19:07 CEST
$ urpmq --whatrequires wfrench
wfrench

How do we test it other then view the file in an editor?
Comment 6 Bruno Cornec 2022-07-06 02:10:35 CEST
For mga8:
wfrench-1.2.6-2.mga8.noarch.rpm
wfrench-1.2.6-2.mga8.src.rpm

Advisory:

Fix the french dictionay which was created empty.

Test:

install util-linux and wfrench
use look -a avoir which should answer
avoir
avoirdupoids
avoirs

Even if the second answer looks strange to me :-)

CC: (none) => bruno

Comment 7 Bruno Cornec 2022-07-06 02:13:46 CEST
Hummm, seems my very old setup has the right link for this to work. 
I'll have to fix the package. Meanwhile you can make as root:

ln -sf /usr/share/dict/french /usr/share/dict/web2

to solve that.
Comment 8 Dave Hodgins 2022-07-06 03:10:38 CEST
# rpm -q wfrench
wfrench-1.2.6-2.mga8
# rpm -q --scripts wfrench
postinstall scriptlet (using /bin/sh):
ln -sf /usr/share/dict/french /usr/share/dict/web2

so manually running the ln command is not needed. Installed the release
version, then the update over it. The look -a is working.

Validating the update. Advisory committed to svn.

Whiteboard: (none) => MGA8-64-OK
Keywords: (none) => advisory, validated_update
CC: (none) => sysadmin-bugs

Dave Hodgins 2022-07-06 03:31:21 CEST

Version: Cauldron => 8

Comment 9 Mageia Robot 2022-07-10 11:32:34 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2022-0096.html

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED