<servicedir> scanning order

Joseph Artsimovich joseph.artsimovich at youview.com
Tue Jul 16 09:41:20 PDT 2013


Hi,

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.

>From dbus manual page it follows that <servicedir> entries are scanned
in reverse order they appear in config file:
-----------------------
<servicedir>
Adds a directory to scan for .service files. Directories are scanned
starting with the last to appear
in the config file (the first .service file found that provides a
particular service will be used).
-----------------------

Unfortunately my tests show that <servicedir> entries are really scanned
in the order they appear in config file.

It looks like either the documentation or implementation needs to be fixed.

--
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