Bug 26630

Summary: lib64sasl2-plug-kdexoauth2 missing from install ISO (re Plasma), needed by kmail for gmail.
Product: Mageia Reporter: Arne Spiegelhauer <gm2.asp>
Component: InstallerAssignee: KDE maintainers <kde>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, mageia, ouaurelien
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: libkgapi-19.04.0-1.mga7.src.rpm CVE:
Status comment: lib64sasl2-plug-kdexoauth2-20.12.0-1.mga8 missed too for M8

Description Arne Spiegelhauer 2020-05-15 21:32:36 CEST
Description of problem:
Reading e-mails from a gmail account fails with following log in journal:
akonadi_imap_resource[3397]: org.kde.pim.kimap: sasl_client_start failed with: -4 "SASL(-4): no mechanism available: No worthy mechs found"

Another issue is that the default authentication method for sending should be changed to XOAUTH2

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 David GEIGER 2020-05-16 08:58:19 CEST
This issue was already fixed in bug 23035 :

- akonadi-kde require libkgapi and recommend sasl2-plugin-kdexoauth2.

CC: (none) => geiger.david68210

Comment 2 Arne Spiegelhauer 2020-05-16 11:26:20 CEST
apparently the recommend for sasl2-plugin-kdexoauth2 is not in mga7
Comment 4 Arne Spiegelhauer 2020-05-16 13:50:08 CEST
OK, I checked recommends for akonadi-kde, where it was added according to bug 23035.

I don't know what difference it makes to have it in kmail instead, but I have several mga7 Plasma installations, which were all missing sasl2-plugin-kdexoauth2.
Comment 5 David GEIGER 2020-05-16 14:00:13 CEST
the recommend is in kmail not akonadi-kde, please read what I write.
Comment 6 Arne Spiegelhauer 2020-05-16 14:34:41 CEST
I understand what you wrote. I was just trying to explain why I thought it had gone missing.
I am also trying to say, that in spite of the recommend for kmail, the plugin does not get installed as part of a standard mga7 Plasma install.
Comment 7 Arne Spiegelhauer 2020-05-16 15:34:54 CEST
Found this in /root/drakx/ddebug.log:

* requested sasl2-plugin-kdexoauth2 recommended by libkgapi-19.04.0-1.mga7.x86_64
* no packages match sasl2-plugin-kdexoauth2 (it is either in skip.list or already rejected)

So the cause for the missing install of sasl2-plugin-kdexoauth2 seems to be that the package is not included on the install DVD.

Sorry for jumping to conclusions on the cause of my issue.
Comment 8 Lewis Smith 2020-05-16 21:26:10 CEST
I am confused by:
> akonadi-kde ... recommend sasl2-plugin-kdexoauth2    (c2)
> requested sasl2-plugin-kdexoauth2                    (c7)
> no packages match sasl2-plugin-kdexoauth2            (c7)
and
 $ urpmq -i sasl2-plugin-kdexoauth2
 Dim pecyn o'r enw sasl2-plugin-kdexoauth2             [no pkg of this name]
then
 $ urpmq -y kdexoauth2
 lib64sasl2-plug-kdexoauth2      ***
which nothing 'requires'.
But both the following show it (via libkgapi ? which 'requires' nothing, recommends it?)
 $ urpmq --requires-recursive akonadi-kde | grep sasl2
 lib64sasl2-plug-kdexoauth2
 $ urpmq --requires-recursive kmail | grep kdexoauth2
 lib64sasl2-plug-kdexoauth2

BTAIM is the problem here one of nomenclature? 'plug' v 'plugin'.

CC: (none) => lewyssmith

Comment 9 Arne Spiegelhauer 2020-05-17 00:04:16 CEST
sasl2-plugin-kdexoauth2 is provided by the package lib64sasl2-plug-kdexoauth2:

# urpmq --whatprovides sasl2-plugin-kdexoauth2
lib64sasl2-plug-kdexoauth2

The lib64sasl2-plug-kdexoauth2 package is, however, not included on the classic installation media.
Comment 10 Lewis Smith 2020-05-17 21:10:00 CEST
This makes my head spin, but your evidence is solid! Thanks for the clarification.

Assigning to the ISO team for the next time round.

CC: lewyssmith => (none)
Component: RPM Packages => Installer
Assignee: bugsquad => isobuild
Summary: kmail missing dependency for gmail authentication: lib64sasl2-plug-kdexoauth2 (x86_64) => lib64sasl2-plug-kdexoauth2 missing from install ISO (re Plasma), needed by kmail for gmail.
Source RPM: kmail => libkgapi-19.04.0-1.mga7.src.rpm

Comment 11 Martin Whitaker 2020-05-17 22:09:18 CEST
For a package to be included on the CI ISO, it either needs to be required by another package that is included, or needs to be added to rpmsrate-raw in the meta-task package. I don't use kmail so don't know what's more appropriate here, so assigning to the KDE team.

Assignee: isobuild => kde
CC: (none) => mageia

Comment 12 Aurelien Oudelet 2020-09-20 17:44:59 CEST
Hi,
This bug is against our Installer DrakX.

@Developers/Packagers: Feel free to reassign to correct person.
Also, if you are working on this, please change the status of this bug to "Assigned".
Feel free to close this if already fixed.

@All
Thanks making DrakX even better.
Comment 13 Aurelien Oudelet 2020-12-15 14:14:23 CET
(In reply to Martin Whitaker from comment #11)
> For a package to be included on the CI ISO, it either needs to be required
> by another package that is included, or needs to be added to rpmsrate-raw in
> the meta-task package. I don't use kmail so don't know what's more
> appropriate here, so assigning to the KDE team.

I do experiment the same behavior.
Newer Installation of M8 Beta 2 (Doing with Classic ISO, x86_64, offline installation)

Trying to configure a Gmail account within KMail (20.12.0)
Read this in journalctl:
akonadi_imap_resource[4835]: No worthy mechs found
akonadi_imap_resource[4835]: org.kde.pim.kimap: sasl_client_start failed with: -4 "SASL(-4): no mechanism available: No worthy mechs found"

So, trying to figure this:
lib64sasl2-plug-kdexoauth2 rpm is not installed.

I do think that "lib64sasl2-plug-WHATEVER AFTER" should be installed alongside KMail, but only lib64sasl2-plug-kdexoauth2 has a "20.12.0" version as KMail.


So, for this bug, Installing lib64sasl2-plug-kdexoauth2 with urpmi solves the issue: KMail can do have a "Gmail" type connection to gmail server.

As Arne already said, I do think this RPM should be part of classic ISO and Live Plasma.

CC: (none) => ouaurelien

Aurelien Oudelet 2020-12-15 14:17:06 CET

Status comment: (none) => lib64sasl2-plug-kdexoauth2-20.12.0-1.mga8 missed too for M8

Comment 14 Marja Van Waes 2021-09-07 14:10:40 CEST
Hi bug reporter and hi assignee and others involved,

Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly.

This report is being closed as OLD because it was filed against Mageia 7, for which  support ended on June 30th 2021.

Thanks,
Marja

Resolution: (none) => OLD
Status: NEW => RESOLVED