diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2011-11-10 09:55:47 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2011-11-10 10:18:08 +0100 |
commit | c5419d4239ceb4c3bd0263a0a810cf24a072b3c0 (patch) | |
tree | 75ea028193e57d631f548f2c5fac88df7c0b7fb2 /src/dbus-manager.h | |
parent | 42c3673e632bac0217d1892f45fe5daf767999e1 (diff) |
service: don't warn if the pidfile still exists after SIGCHLD
A service that drops its privileges may not be able to remove it when it
exits. The stale pidfile is not a problem as long as the service
carefully recognizes it on its next start.
systemd would produce a warning after the service exits:
PID ... read from file ... does not exist. Your service or init
script might be broken.
Silence the warning in this case. Still warn if this error is detected
when loading the pidfile after service start.
Noticed by Miroslav Lichvar in
https://bugzilla.redhat.com/show_bug.cgi?id=752396
Diffstat (limited to 'src/dbus-manager.h')
0 files changed, 0 insertions, 0 deletions