chiark / gitweb /
manager: include full systemctl status command line in error message
authorLennart Poettering <lennart@poettering.net>
Mon, 20 Jun 2011 19:39:28 +0000 (21:39 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 20 Jun 2011 19:39:28 +0000 (21:39 +0200)
TODO
src/manager.c

diff --git a/TODO b/TODO
index a029ddb9bac81530f567317a13ccfab06d8952df..8e43b3822160d7bc02c498cdb897c7e18b39e0af 100644 (file)
--- a/TODO
+++ b/TODO
@@ -80,6 +80,8 @@ Features:
 
 * In systemctl make sure both is-enabled and is-active print a string, or neither.
 
+* teach systemctl to enable unit files in arbitrary directories
+
 * when failing to start a service due to ratelimiting, try again later, if restart=always is set
 
 * write blog stories about:
index 68d43ada44f61fa6dc75091bca65703e85dba319..62451a0d9ea4b3a11e08ee9144e368c7abbf1a56 100644 (file)
@@ -1468,9 +1468,10 @@ static int transaction_add_job_and_dependencies(
         if (type != JOB_STOP && unit->meta.load_state == UNIT_ERROR) {
                 dbus_set_error(e, BUS_ERROR_LOAD_FAILED,
                                "Unit %s failed to load: %s. "
-                               "See system logs and 'systemctl status' for details.",
+                               "See system logs and 'systemctl status %s' for details.",
                                unit->meta.id,
-                               strerror(-unit->meta.load_error));
+                               strerror(-unit->meta.load_error),
+                               unit->meta.id);
                 return -EINVAL;
         }