summaryrefslogtreecommitdiffstats
path: root/tags/d/dbus-system-service-wrong-name.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/d/dbus-system-service-wrong-name.tag')
-rw-r--r--tags/d/dbus-system-service-wrong-name.tag13
1 files changed, 13 insertions, 0 deletions
diff --git a/tags/d/dbus-system-service-wrong-name.tag b/tags/d/dbus-system-service-wrong-name.tag
new file mode 100644
index 0000000..eabc9dd
--- /dev/null
+++ b/tags/d/dbus-system-service-wrong-name.tag
@@ -0,0 +1,13 @@
+Tag: dbus-system-service-wrong-name
+Severity: error
+Check: desktop/dbus
+Explanation: The package contains a D-Bus system service whose filename
+ does not match the <code>Name</code> field found in the file.
+ This will not work, because dbus-daemon-launch-helper specifically
+ looks for that filename, in order to keep system-level activation
+ secure and predictable.
+ .
+ If you implement a session service whose well-known name is
+ <code>com.example.MyService1</code>, and it should be service-activatable,
+ you must provide
+ <code>/usr/share/dbus-1/system-services/com.example.MyService1.service</code>.