Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130308 - kmail doesn't cancel an imap login
Summary: kmail doesn't cancel an imap login
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-17 15:49 UTC by Nicolas Lalevee
Modified: 2007-03-15 22:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Lalevee 2006-04-17 15:49:14 UTC
I was setting up my imap stuff on my server. Than I tried to view my imap account with my laptop with KMail 1.9.1 running with KDE 3.5.2. Kmail can communicate with my imap server, but there were permission failures.

----------
Impossible de s'authentifier via GSSAPI.
Le serveur antec a r
Comment 1 Nicolas Lalevee 2006-04-17 15:49:14 UTC
I was setting up my imap stuff on my server. Than I tried to view my imap account with my laptop with KMail 1.9.1 running with KDE 3.5.2. Kmail can communicate with my imap server, but there were permission failures.

----------
Impossible de s'authentifier via GSSAPI.
Le serveur antec a répondu :
SASL(-1): generic failure: GSSAPI Error: Miscellaneous failure (No credentials cache found)
----------

This failure is probably an error of configuration for my part. So I click Ok, and it asks me login and password. And even if I click cancel, the SASL error comes agin. So I clik Ok, and then login and password, and the SASL error...
The only way to stop it was to shutdown my imap server, and to get the "host unreachable" error.

i6000 ~ # emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://194.117.143.72 http://194.117.143.71 ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://194.117.143.69"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j5"
PKGDIR="/home/save/packages/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/chewi-overlay /usr/local/overlays/java-experimental /usr/local/portage-xgl"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib acl acpi alsa apache2 apm arts asf audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 bzlib cdparanoia cdr crypt cups curl dba dbus dga directfb doc dri dts dv dvb dvd dvdr dvdread emboss encode esd examples exif expat fam fbcon ffmpeg flac flash foomaticdb fortran fpx freetype ftp gd gdbm gif glut gmp gpm graphviz gstreamer gtk gtk2 hal icq idn ieee1394 imagemagick imlib ipv6 isdnlog java javascript jbig jikes jpeg junit kde kdexdeltas kerberos lcms libcaca libg++ libwww mad maildir matroska mbox mhash mikmod ming mmx mng motif mp3 mpeg musepack mysql nas ncurses network nls nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl php png portaudio posix ppds pppd python qt quicktime readline samba sasl scanner sdl session source speex spell sse sse2 ssl svg svga sysfs tcltk tcpd tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vhosts videos vorbis win32codecs wmf xine xinerama xml xml2 xprint xv xvid xvmc zlib video_cards_ati video_cards_vesa input_devices_keyboard input_devices_mouse linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-22 15:41:51 UTC
This isn't a KMail bug, but an error message from cyrus-sasl, either broken or misconfigured. Does ldd /usr/lib/sasl2/*so print so missing libs, maybe?
Comment 3 Nicolas Lalevee 2006-04-23 02:18:09 UTC
Yes, the permission denied is a config error by myself. But the bug I report here is about cancelling the KMail logging processus. I just cannot cancel it.
Due to my KMail configuration error (my server doesn't support GSSAPI stuff) KMail tries to log in my IMAP but fails. That's normal, that's not the bug I report.
The bug I report is that KMail does an infinite loop of trying to connect, without taking care about my cancelling. It just stops its infinite loop if I shut down my IMAP server : "unreacheable host" or something like that, and it doesn't try to log in anymore.

hibou@i6000 ~ % ldd /usr/lib/sasl2/*so
/usr/lib/sasl2/libanonymous.so:
        linux-gate.so.1 =>  (0xffffe000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7ed7000)
        libc.so.6 => /lib/libc.so.6 (0xb7dbd000)
        /lib/ld-linux.so.2 (0x80000000)
/usr/lib/sasl2/libcrammd5.so:
        linux-gate.so.1 =>  (0xffffe000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7f40000)
        libc.so.6 => /lib/libc.so.6 (0xb7e26000)
        /lib/ld-linux.so.2 (0x80000000)
/usr/lib/sasl2/libdigestmd5.so:
        linux-gate.so.1 =>  (0xffffe000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7e88000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7e75000)
        libc.so.6 => /lib/libc.so.6 (0xb7d5b000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7d57000)
        /lib/ld-linux.so.2 (0x80000000)
/usr/lib/sasl2/libgssapiv2.so:
        linux-gate.so.1 =>  (0xffffe000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb7f97000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7f24000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7eff000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7efc000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7ee9000)
        libc.so.6 => /lib/libc.so.6 (0xb7dcf000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7dcb000)
        /lib/ld-linux.so.2 (0x80000000)
/usr/lib/sasl2/liblogin.so:
        linux-gate.so.1 =>  (0xffffe000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f2a000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7f17000)
        libc.so.6 => /lib/libc.so.6 (0xb7dfd000)
        /lib/ld-linux.so.2 (0x80000000)
/usr/lib/sasl2/libntlm.so:
        linux-gate.so.1 =>  (0xffffe000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7e3b000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7e28000)
        libc.so.6 => /lib/libc.so.6 (0xb7d0e000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7d0a000)
        /lib/ld-linux.so.2 (0x80000000)
/usr/lib/sasl2/libplain.so:
        linux-gate.so.1 =>  (0xffffe000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f1b000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7f08000)
        libc.so.6 => /lib/libc.so.6 (0xb7dee000)
        /lib/ld-linux.so.2 (0x80000000)
/usr/lib/sasl2/libsasldb.so:
        linux-gate.so.1 =>  (0xffffe000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7ec7000)
        libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb7ec1000)
        libc.so.6 => /lib/libc.so.6 (0xb7da7000)
        /lib/ld-linux.so.2 (0x80000000)
/usr/lib/sasl2/libsql.so:
        linux-gate.so.1 =>  (0xffffe000)
        libmysqlclient.so.14 => /usr/lib/libmysqlclient.so.14 (0xb7e7a000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7e67000)
        libc.so.6 => /lib/libc.so.6 (0xb7d4d000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7d1f000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7d0a000)
        libm.so.6 => /lib/libm.so.6 (0xb7ce7000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7cb4000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7bae000)
        libz.so.1 => /lib/libz.so.1 (0xb7b9c000)
        /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7b98000)
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-23 06:17:08 UTC
Um, sorry. Of course I have stopped reading after seeing the sasl error...

Which (split) kdepim ebuilds are you using exactly?
Comment 5 Nicolas Lalevee 2006-04-23 06:28:02 UTC
i6000 hibou # equery l kdepim
[ Searching for package 'kdepim' in all categories among: ]
 * installed packages
[I--] [  ] kde-base/kdepim-kioslaves-3.4.3 (3.4)
[I--] [  ] kde-base/kdepim-kioslaves-3.5.2 (3.5)
[I--] [  ] kde-base/libkdepim-3.4.3 (3.4)
[I--] [  ] kde-base/libkdepim-3.5.2 (3.5)

And I am now always running with the 3.5.2 version.
Comment 6 Nicolas Lalevee 2006-05-29 11:54:11 UTC
I have updated my gentoo, removed every kde package from my /etc/portage/portage.keywords. So now I am running the kmail-3.5.2-r3
But the bug is still there.
But I am wondering if I was right to report the bug here, because I think this more a kde bug than a gentoo packaging. First I was thinking that it is best to report here to tell packager that this one doesn't work well, and it shouldn't set as stable.
By the way, it was recently set as 'stable'. So 'stable' means that the packaging is stable, maybe not the package itself ? If that's the case, this bug should closed and opened in the KDE bugzilla, shouldn't it ?
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-18 16:24:38 UTC
Stable means to have tested as good as we can. Unfortunately we're understaffed...

Please test, if this is an issue with kmail-3.5.4-r2 as well. If it is, please report upstream and crossreference the bug here.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-03-15 22:53:48 UTC
Closing UPSTREAM, post the link here once you've actually filed a bug there.