After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 383861 - SuSE 10.2: Evolution 2.8.2 does not remember passwords
SuSE 10.2: Evolution 2.8.2 does not remember passwords
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.8.x (obsolete)
Other All
: Urgent critical
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
: 379296 384118 384237 384774 385163 385775 386200 386676 387258 388542 389003 390219 391847 395512 397872 402262 402651 405065 405139 405205 405780 406818 407168 408223 411166 414725 415459 416057 417668 419536 432650 442900 480687 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-12-08 21:24 UTC by alasris
Modified: 2008-07-29 11:09 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Proposed patch (9.30 KB, patch)
2007-01-19 03:55 UTC, Srinivasa Ragavan
committed Details | Review

Description alasris 2006-12-08 21:24:33 UTC
What were you doing when the application crashed?
Evolution 2.8.2 will not hold the password.


Distribution: openSUSE 10.2 (i586)
Gnome Release: 2.16.1 2006-11-28 (SUSE)
BugBuddy Version: 2.16.0
Comment 1 Damien Durand 2006-12-09 16:23:04 UTC
Thanks for taking the time to report this bug.
This bug report isn't very useful because it doesn't describe the bug well. If you have time and can still reproduce the bug, please read http://bugzilla.gnome.org/bug-HOWTO.html and add a description of how to reproduce this bug.

You'll also need to add a stack trace; please see http://live.gnome.org/GettingTraces for more information about how to do so. Thanks in advance!
Comment 2 alasris 2006-12-10 13:23:12 UTC
Every time I boot into Suse 10.2 and open Evolution 2.8.2, it asks for my password. It states, "wants access to the default key ring, but it is locked".

Once the password has been re-submitted, e-mail works fine. However, once Suse 10.2 has been shut down and re-booted, I need to re-submit the password. Evolution 2.8.2 doesn't seem to save the password.
Comment 3 André Klapper 2006-12-10 16:21:11 UTC
confirming.
Comment 4 André Klapper 2006-12-10 16:21:18 UTC
*** Bug 384118 has been marked as a duplicate of this bug. ***
Comment 5 André Klapper 2006-12-10 16:21:24 UTC
*** Bug 384237 has been marked as a duplicate of this bug. ***
Comment 6 André Klapper 2006-12-10 16:24:33 UTC
quoting from the evolution mailing list:

"You can work around it this way:

test@Merlin:~> gnome-keyring-daemon
GNOME_KEYRING_SOCKET=/tmp/keyring-qdYsbQ/socket
GNOME_KEYRING_PID=16304

test@Merlin:~> export GNOME_KEYRING_SOCKET=/tmp/keyring-qdYsbQ/socket
test@Merlin:~> export GNOME_KEYRING_PID=16304

Substitute your socket and pid info in the above commands

Then start evo from the command line and away you go"
Comment 7 Srinivasa Ragavan 2006-12-10 17:54:42 UTC
Andre they both are unrelated. In SUSE it is built with KEYRING support. If the DM doesnt start keyring manager by default (For people running under KDE) you can workaround starting the keyring manager by above statements. 

But the original bug is that keyring is locked when ever the machine is booted. This is a keyring stuff. The GDK has to unlock the keyring with pam_keyring (I guess something like this) . This is not a evolution bug. If keyring is opened, then this popup wont occur. You can start gaim, if that unlocks it, then evolution wont pop it up. 
Comment 8 André Klapper 2006-12-10 18:03:08 UTC
hejhej srini, thanks for the quick answer.

so this sounds like a future FAQ for folks using evo under KDE then. :-/
feel free to close as NOTABUG, or to add a workaround for KDE people in SuSE (wasn't the whole game about making the use of computers easier? ;-) , or to reassign to gnome-keyring-manager or whatever... :-)
Comment 9 André Klapper 2006-12-12 14:23:16 UTC
obviously filed downstream as https://bugzilla.novell.com/show_bug.cgi?id=222479 .
would be nice if novell had anyone reporting this upstream, grumble...
Comment 10 André Klapper 2006-12-14 03:44:12 UTC
*** Bug 384774 has been marked as a duplicate of this bug. ***
Comment 11 André Klapper 2006-12-17 04:37:30 UTC
*** Bug 385775 has been marked as a duplicate of this bug. ***
Comment 12 André Klapper 2006-12-18 00:47:57 UTC
*** Bug 386676 has been marked as a duplicate of this bug. ***
Comment 13 André Klapper 2006-12-19 15:59:25 UTC
*** Bug 379296 has been marked as a duplicate of this bug. ***
Comment 14 Casual J. Programmer 2007-01-07 11:44:29 UTC
Hi all,

I encountered the exact problem with GNOME on openSuSE 10.2 and Evolution 2.8.2. The workaround also worked for me.

While checking deeper into the matter, I found that the error occurs only, when I am using the shortcut key for Email ( I am using a Fujitsu Siemens Computers Notebook - Amilo 1520 - which has separate function keys for Browser, Email, Music, WLAN and Fan.)

When starting Evolution from the menu or via Terminal Command this error does not occur. So there seems to be a problem with the Gnome-Key-Shortcut applet.
Comment 15 André Klapper 2007-01-13 12:45:39 UTC
according to an irc chat, the workaround also works for archlinux.
Comment 16 André Klapper 2007-01-16 14:31:43 UTC
*** Bug 388542 has been marked as a duplicate of this bug. ***
Comment 17 palfrey 2007-01-18 17:58:44 UTC
*** Bug 386200 has been marked as a duplicate of this bug. ***
Comment 18 palfrey 2007-01-18 17:58:51 UTC
*** Bug 387258 has been marked as a duplicate of this bug. ***
Comment 19 palfrey 2007-01-18 17:59:01 UTC
*** Bug 389003 has been marked as a duplicate of this bug. ***
Comment 20 palfrey 2007-01-18 17:59:06 UTC
*** Bug 390219 has been marked as a duplicate of this bug. ***
Comment 21 palfrey 2007-01-18 17:59:22 UTC
*** Bug 397872 has been marked as a duplicate of this bug. ***
Comment 22 Srinivasa Ragavan 2007-01-19 03:54:04 UTC
Im working on a patch, that will fallback to old way of accessing passwords if keyring is not available. The patch is against head and will put to 2.8.x series also.
Comment 23 Srinivasa Ragavan 2007-01-19 03:55:35 UTC
Created attachment 80678 [details] [review]
Proposed patch
Comment 24 Klaus Dietrich 2007-02-02 13:04:23 UTC
Furthermore I noticed the following:
On POP accounts, the password is lost immediately after mail is fetched. Next time you click on "Get Mail" it asks for the password again. You do not have to close evolution.
On IMAP accounts, the password is remembered until evolution is closed.

This is encountered using KDE on a AMD 64 System running opensuse10.2 x64 (2.6.18.2-34-default).
Comment 25 Klaus Dietrich 2007-02-02 13:13:08 UTC
(In reply to comment #23)
> Created an attachment (id=80678) [edit]
> Proposed patch
> 
Hello Srinivasa R.
I just found your patch and got hope. But I do not know what to do with it. Can you give me a short advise?
Comment 26 André Klapper 2007-02-02 15:17:56 UTC
Klaus: In order to use the patch, you must compile Evolution from source (which is not trivial) instead of using the pre-compiled rpm package that SuSE provides.
You can also try to poke the SuSE folks to include the patch within their distribution, so it would be available in the SuSE update manager.
Comment 27 André Klapper 2007-02-08 23:54:40 UTC
*** Bug 395512 has been marked as a duplicate of this bug. ***
Comment 28 André Klapper 2007-02-09 00:34:04 UTC
*** Bug 402262 has been marked as a duplicate of this bug. ***
Comment 29 André Klapper 2007-02-09 00:34:30 UTC
*** Bug 405780 has been marked as a duplicate of this bug. ***
Comment 30 André Klapper 2007-02-09 00:45:59 UTC
*** Bug 402651 has been marked as a duplicate of this bug. ***
Comment 31 André Klapper 2007-02-09 00:52:23 UTC
*** Bug 405139 has been marked as a duplicate of this bug. ***
Comment 32 André Klapper 2007-02-09 01:19:04 UTC
*** Bug 405205 has been marked as a duplicate of this bug. ***
Comment 33 André Klapper 2007-02-09 01:22:04 UTC
Srini, can this f*cking get in please, and can SuSE please provide f*cking updates for this?
Thanks a lot in advance, I'd appreciate it, and perhaps the SuSE users would appreciate it even more. But it's Novell/SuSE's customers and not mine.....
Comment 34 André Klapper 2007-02-09 01:24:37 UTC
*** Bug 405065 has been marked as a duplicate of this bug. ***
Comment 35 Srinivasa Ragavan 2007-02-09 06:31:47 UTC
A patch was been posted on OpenSuse bugzilla 2 days back and it has been pushed to autobuild. Today I posted the submitted patch on bugzilla too. 10.2 should have an update soon.

It is now committed to stable branch and it is already in head (.91 ?). Im marking the bug as fixed. 
Comment 36 pattonjd 2007-02-09 23:40:57 UTC
I hate to be a pain in the arse, but I could not find the patch you referred to on bugzilla.  Could you please post a link to the patch and (detailed) instructions on how to apply it?  Or, better yet, put it on the automatic update thingy in "YAST" or "Software Updater" so that it will automatically install.  

Thanks,
Comment 37 dr.mikey 2007-02-10 05:15:13 UTC
Sounds like the patch will be coming in automagically soon.  Just be patient, Pattonjd.  If you want, I'll zap you the script I'm using until the patch come through and tell you how to make it work.  Not too much rocket science.

Thanks people!

Mikey...
Comment 38 André Klapper 2007-02-11 22:45:45 UTC
*** Bug 406818 has been marked as a duplicate of this bug. ***
Comment 39 André Klapper 2007-02-16 23:41:22 UTC
*** Bug 407168 has been marked as a duplicate of this bug. ***
Comment 40 André Klapper 2007-02-17 01:28:45 UTC
*** Bug 408223 has been marked as a duplicate of this bug. ***
Comment 41 André Klapper 2007-02-18 13:01:22 UTC
*** Bug 385163 has been marked as a duplicate of this bug. ***
Comment 42 André Klapper 2007-02-28 17:06:17 UTC
*** Bug 411166 has been marked as a duplicate of this bug. ***
Comment 43 André Klapper 2007-03-05 13:22:41 UTC
*** Bug 414725 has been marked as a duplicate of this bug. ***
Comment 44 André Klapper 2007-03-09 16:31:44 UTC
*** Bug 415459 has been marked as a duplicate of this bug. ***
Comment 45 André Klapper 2007-03-13 21:17:12 UTC
*** Bug 416057 has been marked as a duplicate of this bug. ***
Comment 46 André Klapper 2007-03-13 21:18:21 UTC
Srini, one month ago you wrote that "10.2 should have an update soon." is this the case? i wonder if i should slap SUSE or slap users not installing updates. one of those two options should definitely happen.
Comment 47 Srinivasa Ragavan 2007-03-14 05:12:35 UTC
Andre, https://bugzilla.novell.com/show_bug.cgi?id=222479

I have pushed the patch. I have pushed what ever reqd patchinfo etc. There should be a update.
Comment 48 André Klapper 2007-03-15 14:44:52 UTC
*** Bug 417668 has been marked as a duplicate of this bug. ***
Comment 49 dr.mikey 2007-04-01 02:57:17 UTC
The update is there on Suse 10.2.  It installed fine through YAST - Online Update without a hitch.
Comment 50 André Klapper 2007-04-01 14:58:53 UTC
*** Bug 419536 has been marked as a duplicate of this bug. ***
Comment 51 André Klapper 2007-04-28 00:17:40 UTC
*** Bug 432650 has been marked as a duplicate of this bug. ***
Comment 52 André Klapper 2007-06-05 02:52:25 UTC
*** Bug 442900 has been marked as a duplicate of this bug. ***
Comment 53 André Klapper 2007-07-12 09:44:52 UTC
*** Bug 391847 has been marked as a duplicate of this bug. ***
Comment 54 André Klapper 2007-10-01 03:01:51 UTC
*** Bug 480687 has been marked as a duplicate of this bug. ***
Comment 55 Kast 2008-07-29 11:09:17 UTC
Here's a simple script to automate the workaround:

------------- gnome-kr-start
#!/bin/sh

TDIR="/tmp/$(whoami)-daemons"
TFILE="${TDIR}/gnome-keyring"

if [ "$(pidof gnome-keyring-daemon)" == "" ] ; then
  mkdir -p $TDIR
  /usr/bin/gnome-keyring-daemon | egrep '^[[:alnum:]_]+=.*$' > $TFILE
fi
. $TFILE
export GNOME_KEYRING_SOCKET
export GNOME_KEYRING_PID

"$@"
-------------

It seems to work for me (although I haven't tested it thoroughly).
Place this file somewhere in ${PATH}, make it executable, then modify a desktop shortcut for Evolution by preceding the actual command line with 'gnome-kr-start'.
I hope it will be useful.

Cheers,
Kast