[systemd-commits] fixme src/service.c

Lennart Poettering lennart at kemper.freedesktop.org
Fri Jun 18 16:06:16 PDT 2010


 fixme         |    4 ++++
 src/service.c |    3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit f9704703f35a281d9f8fa12018bd396b2be30d36
Author: Lennart Poettering <lennart at poettering.net>
Date:   Sat Jun 19 01:06:09 2010 +0200

    service: honour empty cgroup even in ValidNoProcess mode

diff --git a/fixme b/fixme
index 8384576..b5b8e63 100644
--- a/fixme
+++ b/fixme
@@ -61,6 +61,10 @@
 
 * abstract namespace dbus socket
 
+* patch /etc/init.d/functions with:
+
+  if [ $PPID -ne 1 && mountpoint /cgroup/systemd ] ; then echo "You suck!" ; fi
+
 Regularly:
 
 * look for close() vs. close_nointr() vs. close_nointr_nofail()
diff --git a/src/service.c b/src/service.c
index abd2a6d..b8687b7 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1376,9 +1376,6 @@ static int cgroup_good(Service *s) {
 
         assert(s);
 
-        if (s->valid_no_process)
-                return -EAGAIN;
-
         if ((r = cgroup_bonding_is_empty_list(UNIT(s)->meta.cgroup_bondings)) < 0)
                 return r;
 


More information about the systemd-commits mailing list