Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83193 - after upgrading glibc, KMail says "Unknown hostname"
Summary: after upgrading glibc, KMail says "Unknown hostname"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 07:40 UTC by Benno Schulenberg
Modified: 2005-02-24 11:40 UTC (History)
1 user (show)

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 Benno Schulenberg 2005-02-24 07:40:16 UTC
When upgrading glibc from 20040808-r1 to 20041102 or 20050125 while running
under kdm, KMail will be unable to resolve hostnames after it was restarted.

It is necessary to restart X (log out and back in) to restore KMail's ability
to resolve hostnames.  Other apps (like Firefox and ping) have no problems
with resolving hostnames after such a glibc upgrade.

Reproducible: Always
Steps to Reproduce:
1. Start KMail, and check your mail (^L).
2. Upgrade glibc, to 20041102 or 20050125 (emerge -K =glibc-2.3.4.200.....)
3. Shut down KMail, restart it, and check your mail again.

Actual Results:  
Peng: "Unkown hostname..."

Expected Results:  
Keep on resolving, or tell me to restart X.

Gentoo Base System version 1.6.9
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20050125-r0, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(tm) XP 2800+
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 12:30:54)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -fstack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks notitles sandbox sfperms userpriv
usersandbox"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow X aim alsa apm arts avi berkdb bitmap-fonts cdr crypt curl emboss
encode esd fam fbcon flac font-server ftp gdbm gif gpm hardened imagemagick
imlib jabber jpeg kde libg++ libwww mad mbox mikmod mime mmx mpeg mysql ncurses
nls oggvorbis opengl pam pdflib png python qt quicktime readline sasl sdl slang
speex spell sse ssl svga tcltk tiff truetype truetype-fonts type1-fonts unicode
xine xml xml2 xmms xsl xv zlib video_cards_via linguas_en linguas_eo linguas_es
linguas_nl"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2005-02-24 08:08:02 UTC
> Expected Results:  
> Keep on resolving, or tell me to restart X.

Okay, restart X.
Comment 2 Simone Gotti (RETIRED) gentoo-dev 2005-02-24 08:47:26 UTC
This is not a bug but a normal behavior.

This is normal as I think that the explanation is that kmail depends on kdelibs for the socket access, so you restarted kmail and it loaded the new glibc libraries, while kdelibs was using the old ones and this created a sort of conflict.

Other program not depends on other libs so one time they restarted they work without problems.
Comment 3 Benno Schulenberg 2005-02-24 09:54:14 UTC
> This is not a bug but a normal behavior.

Yes, it's normal behaviour.  But it's confusing when you don't expect it.

Therefore the glibc postinstall messages should tell me to restart X in case
I'm running KDE, to avoid this resolving issue.
Comment 4 SpanKY gentoo-dev 2005-02-24 11:40:54 UTC
this applies to more than just KDE, we cant list every app in the ebuild

you shouldnt need to restart X, just KDE