GNOME Bugzilla – Bug 91079
Pan do not use $HOME for determining the users home directory
Last modified: 2004-12-22 21:47:04 UTC
When I set the environment $HOME (with pam or by hand) pan do not use it. Pan only looks to the /etc/passwd and use the homedirectory which is there. I still report the bug to the debian maintainer and he reported it to you. But I think there was a missunderstanding and he do not use pan by itself. So, the bug has nothing to do with .Xauthority. The X system works well and all other (X or not X) applications works well. It is only Pan which do not use $HOME.
What behaviour are you seeing when you override $HOME ? What are you expecting ?
charles: we get the user's home directory through g_get_home_dir(), which only looks at $HOME if getpwuid() fails. See glib2 bug #2311 for more info. klaus: why are you overriding HOME ? What are you trying to accomplish?
klaus: this isn't a Pan bug -- as Chris says, Pan just uses g_get_home_dir(). If you feel strongly about this, you should refile this bug under "glib" rather than "pan" at bugzilla.gnome.org.
I do not think this is a glib bug. NO application has to get its homedirectory with getpwuid! Pan is the only application I know which use getpwuid to get its home. Only systemapplications which do somethink administrative should use this libc-funktion. And a version bevore pan was doing everythink correct. So I think it IS a bug! Yours Klaus Ethgen
(10:51:39)(~/tmp/pan): grep g_get_home_dir `find ./ -name "*\.[Cch]"` | wc --lines 10 (10:51:47)(~/tmp/pan): grep getpwuid `find ./ -name "*\.[Cch]"` | wc --lines 0 *** This bug has been marked as a duplicate of 2311 ***