]> err.no Git - systemd/commitdiff
service: honour empty cgroup even in ValidNoProcess mode
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Jun 2010 23:06:09 +0000 (01:06 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Jun 2010 23:06:09 +0000 (01:06 +0200)
fixme
src/service.c

diff --git a/fixme b/fixme
index 8384576707f80d222cceb11d5ba804187779cf24..b5b8e632f79c41c5c3cb9a09e1562326f8b9c2c4 100644 (file)
--- a/fixme
+++ b/fixme
 
 * 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()
index abd2a6d7c202182f46e1b917d8260bdb8ded1f2d..b8687b7cf558b46dff07bf4b1c790d2b6b4ebffb 100644 (file)
@@ -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;