chiark / gitweb /
systemd: try harder to bind to notify socket
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 17 Oct 2014 00:15:38 +0000 (19:15 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 17 Oct 2014 14:09:27 +0000 (10:09 -0400)
commite7bc519620cb7bcdbe2166fc2a446453769d827e
tree172c2813dea4d4980520e1286c781b5391f4dd2e
parent46849c3fb1d92882ec456fdbf445a175c13fba9c
systemd: try harder to bind to notify socket

Without the socket open we are going to crash and burn. If for
whatever reason we fail during deserialization we will fail when
trying to open the socket. In this case it is better to unlink the old
socket and maybe lose some messages, than to continue without the
notification socket.

Of course this situation should not happen, but we should handle
it as gracefully as possible anyway.

https://bugzilla.redhat.com/show_bug.cgi?id=1099299
src/core/manager.c