<servicedir> scanning order

Joseph Artsimovich joseph.artsimovich at youview.com
Wed Jul 17 05:46:59 PDT 2013


On 16/07/13 18:40, Simon McVittie wrote:
> On 16/07/13 17:41, Joseph Artsimovich wrote:
>> In a system we are developing, we are going to have identically named
>> .service files (with different Exec attribute) in 2 different locations.
>> We want one of those locations to have higher priority than another.
> System or session services, or some third type of bus?
It's a session bus, but for various reasons we'd like to use
<servicedir> rather than $XDG_DATA_DIRS.

> I suspect the implementation shouldn't be changed now: if it's wrong,
> it's likely to have been wrong for several years, so people might be
> relying on it. I'd prefer to fix the documentation to make it match the
> implementation. Please open a bug on bugs.freedesktop.org so this
> doesn't get lost.
I submitted a bug to bugzilla and proposed a new wording for documentation:
https://bugs.freedesktop.org/show_bug.cgi?id=66994

> Regression tests also gratefully accepted :-)
I believe that would have to be an integration test, right? It would
take me some time to figure out the right way to do those kind of tests
in DBus. Meanwhile I can share the integration test I wrote for our
system. It consists of a shell script and a minimal DBus server written
in python. Tell me if you are interested.

--
Joseph Artsimovich
Software Engineer at YouView TV Ltd

This transmission contains information that may be confidential and contain personal views which are not necessarily those of YouView TV Ltd. YouView TV Ltd (Co No:7308805) is a limited liability company registered in England and Wales with its registered address at YouView TV Ltd, 3rd Floor, 10 Lower Thames Street, London, EC3R 6YT. For details see our web site at http://www.youview.com




More information about the dbus mailing list