chiark / gitweb /
service: warn if a dbus name is specified but the service type is not dbus
authorLennart Poettering <lennart@poettering.net>
Thu, 3 May 2012 12:42:49 +0000 (14:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 3 May 2012 12:42:49 +0000 (14:42 +0200)
TODO
src/core/service.c

diff --git a/TODO b/TODO
index 22bcb3f93c8648516c0b73f9ba70d716a7b531d4..0810f3770b150410097c7a91fffe6c47319b26d3 100644 (file)
--- a/TODO
+++ b/TODO
@@ -23,6 +23,10 @@ Bugfixes:
 
 Features:
 
+* don't delete /tmp/systemd-namespace-* before a process is gone down
+
+* don't delete /run/users/lennart if lennart is still logged in even if aging is used
+
 * automount: implement expire
 
 * vconsole: implement setterm -store -foreground xxx --background zzz
index 4358a948de92c3fe409f232cddde0c55a42b8539..a99e1c3770f6212e363ca1c1a5d9251f4d789324 100644 (file)
@@ -1135,6 +1135,9 @@ static int service_verify(Service *s) {
                 return -EINVAL;
         }
 
+        if (s->bus_name && s->type != SERVICE_DBUS)
+                log_warning("%s has a D-Bus service name specified, but is not of type dbus. Ignoring.", UNIT(s)->id);
+
         if (s->exec_context.pam_name && s->exec_context.kill_mode != KILL_CONTROL_GROUP) {
                 log_error("%s has PAM enabled. Kill mode must be set to 'control-group'. Refusing.", UNIT(s)->id);
                 return -EINVAL;