summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-19 01:06:09 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-19 01:06:09 +0200
commitf9704703f35a281d9f8fa12018bd396b2be30d36 (patch)
tree42d4749714ed91acf20ce2dac4ec772494f0e061
parentf872ec33973b2f508d36939e917ffafd47a87b07 (diff)
service: honour empty cgroup even in ValidNoProcess mode
-rw-r--r--fixme4
-rw-r--r--src/service.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/fixme b/fixme
index 8384576707..b5b8e632f7 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 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;