chiark / gitweb /
service: don't try to guess PID for SysV services anymore
authorLennart Poettering <lennart@poettering.net>
Tue, 11 Oct 2011 18:21:06 +0000 (20:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 11 Oct 2011 18:21:06 +0000 (20:21 +0200)
commit1835f23c2a53e632959270e79dbf3143874e6111
treee44250191e0f3e43b0dc9860b654099158028a64
parentc70ac211b486c70271e265d142f3b73e323faf6e
service: don't try to guess PID for SysV services anymore

As it turns out there are quite a number of SysV services too broken to
make the guessing work: instead of returning in the parent only after
the child is fully initialized they return immediately. The effect is
that the guessing in systemd might happen too early, at a time where the
final main process doesn't exist yet.

By turning this off we won't try to detect the main pid anymore, with
the effect that all processes of the service in question are considered
equally likely to be the main process.
src/service.c