service: honour empty cgroup even in ValidNoProcess mode

This commit is contained in:
Lennart Poettering 2010-06-19 01:06:09 +02:00
parent f872ec3397
commit f9704703f3
2 changed files with 4 additions and 3 deletions

4
fixme
View File

@ -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()

View 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;