chiark / gitweb /
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 8384576..b5b8e63 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 abd2a6d..b8687b7 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;