Bug 45242 - Service-(name)s should be unique
Summary: Service-(name)s should be unique
Status: NEW
Alias: None
Product: Ytstenut
Classification: Unclassified
Component: tp-ytstenut (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Robert Staudinger
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-25 12:25 UTC by Robert Staudinger
Modified: 2012-02-06 00:07 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Robert Staudinger 2012-01-25 12:25:44 UTC
Currently there's no restriction from running n services with the same name (e.g. org.ytstenut.Example) next to each other in the same dbus session. It would be good (albeit look a bit weird) if the dbus object name included the service name (e.g. org.freedesktop.Telepathy.ytstenut.org.ytstenut.Example) to prevent that.

Problem is that duplicated service(name)s are not handled correctly, so that would lead to undefined behaviour.

The spec would have to be amended to mention this uniqueness.
Comment 1 Robert Staudinger 2012-02-06 00:07:34 UTC
Or maybe append a hash of the service name, like org.freedesktop.Telepathy.ytstenut.$hash ?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.