[systemd-commits] 2 commits - TODO src/core

Lennart Poettering lennart at kemper.freedesktop.org
Mon May 6 13:29:43 PDT 2013


 TODO            |    3 +++
 src/core/unit.c |    3 +++
 2 files changed, 6 insertions(+)

New commits:
commit d956ac29a1b8120e83922fa8e75cdd8f6e562529
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon May 6 22:28:39 2013 +0200

    core: unit_inactive_or_pending() should actually do as it claims

diff --git a/src/core/unit.c b/src/core/unit.c
index dc8bf83..9b36b22 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -2676,6 +2676,9 @@ bool unit_inactive_or_pending(Unit *u) {
 
         /* Returns true if the unit is inactive or going down */
 
+        if (UNIT_IS_INACTIVE_OR_DEACTIVATING(unit_active_state(u)))
+                return true;
+
         if (unit_stop_pending(u))
                 return true;
 

commit d686f034c3b9021e07faefe172ee660abd952871
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon May 6 22:26:55 2013 +0200

    update TODO

diff --git a/TODO b/TODO
index 0b70fef..ec067d5 100644
--- a/TODO
+++ b/TODO
@@ -29,6 +29,9 @@ Fedora 19:
 
 Features:
 
+* Introduce a way how we can kill the main process of a service with KillSignal, but all processes with SIGKILL later on
+  https://bugzilla.redhat.com/show_bug.cgi?id=952634
+
 * maybe add a warning to the unit file parses whern the acces mode of unit files is non-sensical.
 
 * investigate endianess issues of UUID vs. GUID



More information about the systemd-commits mailing list