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 563100 - evolution-data-server's process still here after logout
evolution-data-server's process still here after logout
Status: RESOLVED DUPLICATE of bug 420167
Product: evolution-data-server
Classification: Platform
Component: general
2.24.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-12-03 10:46 UTC by Vilain Mamuth
Modified: 2010-10-01 15:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Vilain Mamuth 2008-12-03 10:46:23 UTC
Please describe the problem:

some evolution-data-server processes are still running after logout


Steps to reproduce:
1. login with user1
2. switch and login to user2 using fast switching applet
3. logout user2 session, an evolution-data-server process is still running even if the user is not connected


Actual results:
'ps auxwf | grep user2' result:

user2 21058 0.0 0.7 60816 7280 ? Sl 22:13 0:00 /usr/lib/evolution/evolution-data-server-2.24 --oaf-activate-iid=OAFIID:GNOME_Evolution_DataServer_CalFactory:1.2 --oaf-ior-fd=29

Expected results:


Does this happen every time?
yes

Other information:
pidgin is started automatically, this is the only one application started
Comment 1 schulmaandu 2009-03-05 21:10:38 UTC
This occurs even when not switching users and with no startup apps.

Additional info at:
https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/323607

From there:
After logging out of a GNOME session, processes owned by the now-logged-out user still remain and interfere with subsequent logons.

e.g.

toobuntu@uw1:~$ w
 11:20:37 up 2 days, 20:29, 1 user, load average: 0.04, 0.16, 0.17
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
toobuntu pts/0 uw5.local Fri17 0.00s 0.22s 0.00s w

toobuntu@uw1:~$ ps U ed
  PID TTY STAT TIME COMMAND
20305 ? Ssl 0:00 /usr/lib/bonobo-activation/bonobo-activation-server -
20334 ? Ss 0:00 /usr/lib/gvfs//gvfs-fuse-daemon /home/ed/.gvfs
20404 ? Sl 0:00 /usr/lib/evolution/evolution-data-server-2.22 --oaf-a
21510 ? S 0:00 /usr/lib/libgconf2-4/gconfd-2 11

WORKAROUND - have GDM kill all processes owned by the user logging out by adding a line to /etc/gdm/PostSession/Default

$ ls /etc/gdm/PostSession/
Default

$ tail /etc/gdm/PostSession/Default
    fi
  done
  IFS=$OLD_IFS
  echo "$OUTPUT"
}

# kill straggler processes after logout (LP: #236210)
pkill -u "${USER}"

exit 0

Hope this helps....
Comment 2 Steve Bergman 2009-06-08 21:08:32 UTC
I am seeing this problem on my 60 user xdmcp server running Evo 2.26 under Ubuntu Jaunty. e-d-s never exits. Not when evolution is exited. Not when the user logs out. It happens every time. I can have over a thousand extra processes in a little over a week if I don't do cleanup.
Comment 3 Eric Thibodeau 2009-07-02 15:43:04 UTC
This same problem prevents the proper shutdown of workstations where the user's  home is NFS mounted. 
Comment 4 Daniel Kahn Gillmor 2009-09-16 21:27:42 UTC
This is a serious problem for anyone using pam_mount, because these lingering processes interrupt the unmount phase of session removal.

It has also been reported on the debian BTS:

  http://bugs.debian.org/428309

I can confirm that it is still happening on version 2.26, fwiw.

For installations using pam_mount on ubuntu or debian, it looks like one technique is to remove the evolution-data-server package entirely until this gets addressed.
Comment 5 Pacho Ramos 2009-10-22 18:45:23 UTC
Same problem here under Gentoo with 2.26
Comment 6 Pacho Ramos 2009-10-22 18:48:18 UTC
Seems like a dupe of bug 420167
Comment 7 Milan Crha 2009-10-27 09:35:01 UTC
(In reply to comment #6)
> Seems like a dupe of bug 420167

I agree, marking as such.

*** This bug has been marked as a duplicate of bug 420167 ***