From: Lennart Poettering Date: Fri, 18 Jun 2010 23:06:09 +0000 (+0200) Subject: service: honour empty cgroup even in ValidNoProcess mode X-Git-Tag: v1~145 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9704703f35a281d9f8fa12018bd396b2be30d36;p=systemd service: honour empty cgroup even in ValidNoProcess mode --- diff --git a/fixme b/fixme index 83845767..b5b8e632 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 abd2a6d7..b8687b7c 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;