diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-19 01:06:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-19 01:06:09 +0200 |
commit | f9704703f35a281d9f8fa12018bd396b2be30d36 (patch) | |
tree | 42d4749714ed91acf20ce2dac4ec772494f0e061 | |
parent | f872ec33973b2f508d36939e917ffafd47a87b07 (diff) |
service: honour empty cgroup even in ValidNoProcess mode
-rw-r--r-- | fixme | 4 | ||||
-rw-r--r-- | src/service.c | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -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 abd2a6d7c2..b8687b7cf5 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; |