Bug 602 - org.maemo service names do not work
: org.maemo service names do not work
Status: CLOSED FIXED
Product: Desktop platform
libosso
: 2.0
: All Maemo
: Medium normal (vote)
: ---
Assigned To: Kimmo Hämäläinen
: HAF QA mailing list
:
:
:
:
  Show dependency tree
 
Reported: 2006-06-19 00:33 UTC by jpakkane
Modified: 2007-12-04 14:24 UTC (History)
0 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description jpakkane (reporter) 2006-06-19 00:33:07 UTC
On 2006 beta system having a d-bus service whose name does not start with
com.nokia (such as org.maemo) gets killed by the system after a couple of seconds.

Since the new documentation suggests using org.maemo prefixes, killing programs
that use them is a bug. Alternately if there are some extra steps that must be
taken to make these prefixes work, they should be clearly stated in the
documentation.
Comment 1 Kimmo Hämäläinen nokia 2006-08-21 10:24:24 UTC
It's now possible for the application to use 'org.maemo' prefix, but there is
some code in Libosso that assumes the 'com.nokia' prefix still. So, I'll keep
this still open.
Comment 2 Kimmo Hämäläinen nokia 2006-10-04 14:27:12 UTC
This should be now fixed in Libosso v1.18 and later versions (available from
Sardine):
https://stage.maemo.org/svn/maemo/projects/haf/tags/libosso/1.18-1/

If you still find a bug in this, please reopen (and preferably attach a patch :)).
Comment 3 jpakkane (reporter) 2007-01-29 01:51:08 UTC
I just tested this on N800 and the bug still remains.
Comment 4 Kimmo Hämäläinen nokia 2007-02-08 13:44:08 UTC
what kind of code you are using?
Comment 5 jpakkane (reporter) 2007-02-11 15:17:45 UTC
I tested this with my program PLCreator
(https://garage.maemo.org/projects/plcreator/). To replicate simply check it out
of svn. Revision 23 uses a com.nokia prefix, while revision 22 has org.maemo.
This is the only difference between these two revisions. The latter gets killed
by Maemo after a while, while the former keeps on running.

Take these steps to build an installable deb package.

./configure
make
./package.sh
Comment 6 Kimmo Hämäläinen nokia 2007-02-12 12:40:29 UTC
Did you give "org.maemo.plcreator" as the application name to
osso_initialize()?
Comment 7 jpakkane (reporter) 2007-02-18 23:03:01 UTC
It seems that I passed plain "plcreator" to osso_initialize. When I used
com.nokia prefix elsewhere the app was not killed, whereas using org.maemo does
get it killed.

Whether or not this is the expected behaviour is beyond me. As far as I am
concerned this bug can be closed.
Comment 8 Kimmo Hämäläinen nokia 2007-02-19 10:51:40 UTC
Does the bug occur if you pass "org.maemo.plcreator" to osso_initialize()?
Comment 9 Kimmo Hämäläinen nokia 2007-04-02 10:12:40 UTC
I guess it works
Comment 10 Jake Kunnari 2007-12-04 14:24:28 UTC
Closing RESOLVED and FIXED bug. No one has not touched or commented in last 180
days. If error/problem still occurs please reopen bug with comments.