Bug 2892

Summary: bad / no integration between gnome-keyring apps like gnome-mail-notification and kdm
Product: Mageia Reporter: Joseph Wang <joequant>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: balcaen.john, marja11, nic
Version: CauldronKeywords: UPSTREAM
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: MGA2TOO
Source RPM: gnome-keyring CVE:
Status comment:

Description Joseph Wang 2011-10-01 16:26:31 CEST
Description of problem:

When you log in with kdm, the modules for gnome-keyring are not executed.  This makes it impossible to start up things like gnome mail notification. The pam modules that are executed for gdm are not executed for kdm

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


How reproducible:

Start up gnome session logging in with kdm
install gnome-mail-notification
try to add new mailbox to mail notification
the addition is rejected

login through gdm
everything seems to work


Steps to Reproduce:
1.
2.
3.
Comment 1 Manuel Hiebel 2011-10-01 23:16:06 CEST
it's impossible to solve this currently in fact, there's two things differents:
- launch gnome-keyring on start, you could do that by yourself.
- use of ksecretservices, where kwallet & gnome-keyring will be able to « share » secrets so a gnome-app would not requires gnome-keyring to be started
(since kwallet should provides the necessary data but it's not expected until KDE Platform 4.8)
thanks to mikala for the explain
Comment 2 Marja Van Waes 2011-12-03 22:12:18 CET
(In reply to comment #1)
> it's impossible to solve this currently in fact, there's two things differents:
> - launch gnome-keyring on start, you could do that by yourself.
> - use of ksecretservices, where kwallet & gnome-keyring will be able to « share
> » secrets so a gnome-app would not requires gnome-keyring to be started
> (since kwallet should provides the necessary data but it's not expected until
> KDE Platform 4.8)
> thanks to mikala for the explain

on kde.org it says:

"KDE Makes 4.8 Beta1 Available for Testing
On 24th November 2011, KDE has released Beta1 of the 4.8 releases, to become final in January 2012."

@ Mikala

I changed the rpm to kwallet, is that correct?
Assigning to you

CC: (none) => marja11
Assignee: bugsquad => balcaen.john
Source RPM: pam-1.1.3-3.mga2 => kwallet

Comment 3 John Balcaen 2011-12-03 22:34:58 CET
I would say no.
Here the user is launching gnome *via* kdm & not launching a gnome app under kde.
The ksecretservice is supposed to solve this situation (thought it won't be enable by default on kde 4.8 regarding the last mail i read)

In this case Joseph simply use kdm to launch gnome. so he's supposed to run a full gnome session, however it seems that gnome does not launch gnome-keyring when it should.
So the fix should be done in the gnome startup script & not in kwallet/kdm.

Seems like when i explain the ksecretservice functionnality i did not read correctly this bug report.

Reassiging to bugsquad ;o)

CC: (none) => balcaen.john
Assignee: balcaen.john => bugsquad
Source RPM: kwallet => (none)

Comment 4 Marja Van Waes 2011-12-03 22:46:38 CET
assigning to the maintainer of gnome-keyring (and of more gnome)

Assignee: bugsquad => olav
Source RPM: (none) => gnome-keyring

Comment 5 Olav Vitters 2012-03-14 09:56:37 CET
From what I understood, there is some kind of freedesktop.org standard to share the keyring. So GNOME applications should make use of the existing keyring infrastructure (KDE).

Assining to manuel as I hope he knows more..

Assignee: olav => manuel

Comment 6 Manuel Hiebel 2012-03-14 16:22:24 CET
>Assining to manuel as I hope he knows more..

nop :)

my exploitation was a copy paste from irc in fact
so we will keep this bug in this state, sorry joseph

Assignee: manuel => bugsquad

Comment 7 Manuel Hiebel 2012-03-14 16:23:32 CET
s/exploitation/explanation
Comment 8 Marja Van Waes 2012-05-26 13:05:17 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 9 Marja Van Waes 2012-06-11 20:23:58 CEST
Ping!

It is very important for us to know whether this bug is still valid for Mageia 2 or for *current* cauldron (so from after Mageia 2 was released).

Please tell us. If you don't reply, we'll have to close this bug as old.
Comment 10 John Balcaen 2012-06-12 07:48:47 CEST
Well it's going to be still valid since
- we do not provides ksecrets for 4.8.x (it's quite difficult to build/use it )
- gnome needs also to migrate to this kind of security scheme (it's expected for 3.6 but i'm not sure).

How ever it's an « upstream » work in progress so nothing we can really do (except for the work around mentionned earlier).
Comment 11 Marja Van Waes 2012-06-12 07:54:04 CEST

(In reply to comment #10)
> Well it's going to be still valid since
> - we do not provides ksecrets for 4.8.x (it's quite difficult to build/use it )
> - gnome needs also to migrate to this kind of security scheme (it's expected
> for 3.6 but i'm not sure).
> 
> How ever it's an « upstream » work in progress so nothing we can really do
> (except for the work around mentionned earlier).

Thx John :)

I wouldn't mind if someone would add a relevant link to upstream to this report

Keywords: NEEDINFO => UPSTREAM
Whiteboard: (none) => MGA2TOO

Comment 12 Nic Baxter 2015-02-12 01:30:27 CET
Should this stay open?

CC: (none) => nic

Comment 13 Marja Van Waes 2015-03-28 19:04:43 CET
(In reply to Nic Baxter from comment #12)
> Should this stay open?

If it did get fixed then I suppose it can easily get broken again. 

Anyway, no one ever gave a link to an upstream bug report, nor did anyone reply to your question, so closing as OLD

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