Now this broken version is in unstable too. It keeps looping on poll()
to read from socketpair status fd from child; the child closes its side
when exec()ing the actual command to run, so the socket is readable due
to EOF. There seems to no code whatsoever to stop further reading
attempts at EOF (even though the code even logs EOF status)...

The triggering change was probably this:

        Use SOCK_STREAM for socketpair, not SOCK_DGRAM so we get consistent
        semantics when the other end closes. This should make the conversion
        to poll() less problematic.

SOCK_DGRAM probably didn't signal EOF when the other side closes, while
SOCK_STREAM does.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to