Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236864 - gnome-base/libbonobo-2.22.0: bonobo-activation-server process is not killed when users logout causing tomboy panel applet to fail at next login
Summary: gnome-base/libbonobo-2.22.0: bonobo-activation-server process is not killed w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-06 14:38 UTC by Pacho Ramos
Modified: 2008-09-13 13:37 UTC (History)
1 user (show)

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


Attachments
libbonobo-2.22.0-quit-with-dbus.patch (opensuse) (libbonobo-2.22.0-quit-with-dbus.patch,7.36 KB, patch)
2008-09-06 14:38 UTC, Pacho Ramos
Details | Diff
libbonobo-2.22.0-get-on-d-bus.patch (fedora) (libbonobo-2.22.0-get-on-d-bus.patch,2.01 KB, patch)
2008-09-06 14:39 UTC, Pacho Ramos
Details | Diff
libbonobo.ebuild.diff (libbonobo.ebuild.diff,1.22 KB, text/plain)
2008-09-06 14:41 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2008-09-06 14:38:17 UTC
Seems that bonobo-activation-server is not killed when users logout from their
sessions:

 $ ps axu | grep bonobo
rey       7401  0.0  0.3  41616  3128 ?        Ssl  11:26   0:00
/usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=16
pipo      8526  0.0  0.3  41616  3232 ?        Ssl  13:28   0:00
/usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=16
pacho     9414  0.0  0.3  41748  3172 ?        Ssl  14:44   0:00
/usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=16

bonobo-browser shows the following:
OAFIID:Bonobo_CosNaming_NamingContext | Name service |
/usr/libexec/bonobo-activation-server | CORBA CosNaming service.

OAFIID:Bonobo_Activation_EventSource | Notification service |
/usr/libexec/bonobo-activation-server | Notification service for activation

I already reported this to upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=550207

They told me that this is already fixed in trunk as bonobo will quit when dbus quits

I have seen that opensuse and fedora are using some patches for backporting this to 2.22, I will attach both (both seems to work), but I am using fedora's one instead of suse because, after reading patched file in trunk, seems that trunk looks more like fedora's patch than opensuse's one

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2008-09-06 14:38:52 UTC
Created attachment 164728 [details, diff]
libbonobo-2.22.0-quit-with-dbus.patch (opensuse)

Opensuse's patch
Comment 2 Pacho Ramos gentoo-dev 2008-09-06 14:39:33 UTC
Created attachment 164730 [details, diff]
libbonobo-2.22.0-get-on-d-bus.patch (fedora)

Fedora's patch (this is the one I am using since weeks and seems to work fine)
Comment 3 Pacho Ramos gentoo-dev 2008-09-06 14:41:30 UTC
Created attachment 164731 [details]
libbonobo.ebuild.diff

This is the diff for getting the ebuild that I am using now, note that run "eautoreconf" is needed
Comment 4 Wormo (RETIRED) gentoo-dev 2008-09-06 19:35:38 UTC
Thank you for reporting the solution to this issue, assigning to the gnome team.
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2008-09-08 08:27:33 UTC
Ok, I've review both patches and here are my thoughts :

 - the OpenSUSE patch saves us an eautoreconf call (which could be interesting) but does all the socket stuff itself (which could be error prone).
 - the Fedora patch, on the other hand, is much smaller and relies and dbus-glib to do most of the grunt work. It looks safer and much closer to the current libbonobo trunk.

As for trunk, it now hard depends on dbus-glib on non-win32 platforms.

If no-one objects, I'll push the Fedora patch later during the day.

Thanks Pacho!
Comment 6 Arun Raghavan (RETIRED) gentoo-dev 2008-09-13 04:46:51 UTC
Fedora patch certainly looks cleaner.
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2008-09-13 13:37:14 UTC
I've applied Fedora's patch in version 2.22.0-r1. I've updated the ebuild in the overlay which already has the patch but lacked the proper deps.

Thanks