[systemd-devel] Invalid poll event on socket
fullung at gmail.com
Mon Apr 25 00:59:27 PDT 2011
On Wed, Apr 20, 2011 at 1:49 AM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Tue, 12.04.11 16:15, Albert Strasheim (fullung at gmail.com) wrote:
>> I had the following in my syslog today while my service was running:
>> systemd: Got invalid poll event on socket.
>> systemd: foo.service: main process exited, code=exited, status=1
>> What causes invalid poll events on the socket? Which socket?
> Good question.
> I have now changed git to be log a bit more context here. If you manage
> to reproduce this this would be very interesting. Right now we assume
> that the only epoll event we can get on a socket fd is EPOLLIN. And I
> really wonder what event you might have gooten there.
I think I have reproduced this issue. I have a service that uses the
following socket unit with two sockets:
If I stop and start the service with systemctl, everything works fine.
But if I tell systemctl to restart the service, I see:
systemd: Got invalid poll event on socket.
in syslog and LISTEN_FDS=0 instead of 2, which causes my service to exit.
I'm running systemd-24-1.fc15.x86_64.
More information about the systemd-devel