]> err.no Git - systemd/commit
socket: if we fail to create an instantiated service for a socket, don't put the...
authorLennart Poettering <lennart@poettering.net>
Wed, 14 Mar 2012 02:01:27 +0000 (03:01 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 14 Mar 2012 02:01:27 +0000 (03:01 +0100)
commit9586cdfab6a2638078702b7fea7e16b3a71899e2
tree2c3a126746b7a54b6e0feb483ab028d740084b9c
parent6b80b9b8ee6d372e00ece51e6a11c6d31899aaec
socket: if we fail to create an instantiated service for a socket, don't put the socket in failure mode

An incoming connection that is immediately terminated might result in
getpeername() or a similar call failing. Hence it is quite possible that
while we are setting up an instantiated service for a socket we might
get an error and we shouldn't take this as hint to take the listening
socket down.

https://bugs.freedesktop.org/show_bug.cgi?id=45297
https://bugzilla.novell.com/show_bug.cgi?id=741590
TODO
src/socket.c